DDColor

DDCOLOR

Colourises black-and-white and faded photos: it keeps each photo's own light and shade and adds natural colours.

Image Editingcolourisationcolorizationphoto-restorationapache-2.0Fine-tunable
DDColor: Image Editing model on Kainguru

About DDColor

Capabilities

  • Natural colour — skin, sky, foliage and fabrics in plausible, vivid colours
  • Full size — the result has the photo's own size and keeps all of its detail: only the colour is new
  • Fine-tunable — teach it the colours of your own collection with pairs of black-and-white and colour photos

Good to know

  • Photos are PNG, JPEG or WebP, at most 50 MB and 16.8 megapixels, at least 16 pixels a side. A colour photo works too: its colours are replaced.
  • The colours are worked out on a 512 x 512 copy of the photo and laid over the full-size original.
  • Fine-tuning takes one ZIP (at most 4 GB, no password) with 4 to 1000 pairs of a photo and its colour version, the same size, and a manifest.jsonl holding one {"input": "...", "target": "..."} line per pair, paths relative to the manifest. A colour photo can be its own input.
  • Training works on 256 x 256 copies of the pairs and stops after the steps you ask for or after 9 hours, whichever comes first, keeping what it has learned.

DDColor inputs and output

NameTypeRequiredDefaultDetails
imagefileYes—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.

Run DDColor with the API

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
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"
Python
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)

Fine-tune DDColor

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.

DDColor pricing

Price per image: 0.0874 credits ($0.000874). The price is shown again before every run; all prices are on the pricing page.

Licence and source

DeOldify: Image Editing model on Kainguru
Image Editing

DeOldify

Colourises old black-and-white photos in two styles: artistic, with bolder colours, or stable, calmer and more…

Fine-tunable
Kandinsky 2 2 Img2img: Image Editing model on Kainguru
Image Editing

Kandinsky 2 2 Img2img

Kandinsky 2.2 restyles a photo from a text prompt and keeps its layout; the strength sets how far the result moves…

Qwen-Image-Edit-2509: Image Editing model on Kainguru
Image Editing

Qwen-Image-Edit-2509

Edit a picture from a written instruction, changing objects, people, text or style while keeping the rest consistent.

Fine-tunable
Kandinsky 2 2 Inpaint: Image Editing model on Kainguru
Image Editing

Kandinsky 2 2 Inpaint

Kandinsky 2.2 inpainting: paints the masked part of a photo from a text prompt and leaves the rest untouched.

LaMa: Image Editing model on Kainguru
Image Editing

LaMa

Removes objects, text, watermarks and blemishes from a photo: paint what to remove white on a black mask, and it fills…

Fine-tunable
LDSR: Image Editing model on Kainguru
Image Editing

LDSR

Enlarges a small picture 4 times with latent diffusion, drawing in new plausible detail. A creative upscale: richer…

Fine-tunable