
DeOldify
Colourises old black-and-white photos in two styles: artistic, with bolder colours, or stable, calmer and more…
Fine-tunableDDCOLORColourises black-and-white and faded photos: it keeps each photo's own light and shade and adds natural colours.

| Name | Type | Required | Default | Details |
|---|---|---|---|---|
image | file | Yes | — | The black-and-white or faded photo: PNG, JPEG or WebP, at most 50 MB and 16.8 megapixels, at least 16 pixels a side. Its colours, if any, are replaced. 1–2048 characters · image/png, jpeg, webp |
Output. Returns PNG image: The colourised photo as a PNG of the same size.
Send your API key in the X-API-Key header. The run is asynchronous: submit it, then poll it until it finishes. Create an API key.
curl -X POST "https://api.kainguru.com/api/v1/executions?mlFlowId=DDCOLOR" \
-H "X-API-Key: kg_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"input": {
"image": "https://example.com/input.png"
},
"outputFormat": "json"
}'
# Poll until the execution reaches a terminal state
curl "https://api.kainguru.com/api/v1/executions/{executionId}" \
-H "X-API-Key: kg_your_api_key"from kainguru import KainguruClient
with KainguruClient(api_key="kg_your_api_key", base_url="https://api.kainguru.com/api") as client:
submitted = client.executions.execute(
"DDCOLOR",
{
"image": "https://example.com/input.png"
},
output_format="json",
)
result = client.executions.await_completion(submitted.id)
print(result.execution.output)You can fine-tune DDColor on your own data and run the tuned model through the same API. Dataset: One ZIP (at most 4 GB, no password) with 4 to 1000 pairs of a photo and its colour version, the same size (a colour photo can be its own input), and manifest.jsonl with one {"input", "target"} line per pair.
The steps are in the docs.
Price per image: 0.0874 credits ($0.000874). The price is shown again before every run; all prices are on the pricing page.

Colourises old black-and-white photos in two styles: artistic, with bolder colours, or stable, calmer and more…
Fine-tunable
Kandinsky 2.2 restyles a photo from a text prompt and keeps its layout; the strength sets how far the result moves…

Edit a picture from a written instruction, changing objects, people, text or style while keeping the rest consistent.
Fine-tunable
Kandinsky 2.2 inpainting: paints the masked part of a photo from a text prompt and leaves the rest untouched.

Removes objects, text, watermarks and blemishes from a photo: paint what to remove white on a black mask, and it fills…
Fine-tunable
Enlarges a small picture 4 times with latent diffusion, drawing in new plausible detail. A creative upscale: richer…
Fine-tunable