Skip to content

Krea 3 Edit

Integrate

Model id krea/v3/edit
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/krea/v3/edit?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "images": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

This request: ≈$0.026 26 API credits Run it on this page

Get API key
Krea Image Editing #image-editing#multi-reference#image-to-image#krea

Krea 3 image editing that edits or combines 1 to 8 reference images from text instructions

Krea · Image

Your first result goes here

Build a request below and run it with your API key. Outputs are copied to our storage, kept forever or 7 days for free.

Build a request

Controls are generated from the model schema. The code and the price update as you change them.

•required 88 / 5000

Description of the desired output image.

•required image_urls
Drop a file, or · up to 8

Ordered collection of 1–8 images to edit or combine, with positions assigning the <image-N> tags.

image_size default auto

Output dimensions, or `auto` to have the prompt expander choose proportions at roughly 2048×2048. Dimensions round upward to multiples of 16, subject to a total limit of 4,220,160 pixels (1680×2512).

Advanced negative_prompt · model · reasoning_level · output_format · seed · enable_safety_checker
0 / 1024

Content to exclude from the image; only berry uses this input.

model default berry

Model variant selection: berry prioritizes quality, while jam prioritizes speed.

reasoning_level default medium

Editing-task reasoning effort for the harness, trading longer generation time for more reasoning at higher settings.

output_format default png

Format for the resulting image.

Choose a fresh latent-noise seed for each further edit of a previously generated output.

POST /run/krea/v3/edit?wait=20 quote → $0.026
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/krea/v3/edit?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "images": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Run this request

Your key stays in this browser: it is sent only to the Doitong API and saved (localStorage) only if you tick Remember. Get an API key

About Krea 3 Edit

Edits or merges one to eight images given in `image_urls`, guided by a `prompt` of up to 5000 characters. `model` selects berry (quality) or jam (speed). `reasoning_level` ranges from low to ultra, and `image_size` accepts presets or auto, up to 4,220,160 pixels. `negative_prompt` applies to berry only.

Parameters

Send either the canonical name or the native name, not both. Canonical names

NameType DefaultAllowed Description
promptrequired
Typestring
≤ 5,000 characters
Description of the desired output image.
image_urlsrequired images
Typeurl[] · image
≤ 8 items
Ordered collection of 1–8 images to edit or combine, with positions assigning the <image-N> tags.
modeloptional
Typeenum
Defaultberry
berryjam
Model variant selection: berry prioritizes quality, while jam prioritizes speed.
image_sizeoptional
Typeobject
Defaultauto
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9auto
Output dimensions, or `auto` to have the prompt expander choose proportions at roughly 2048×2048. Dimensions round upward to multiples of 16, subject to a total limit of 4,220,160 pixels (1680×2512).
reasoning_leveloptional
Typeenum
Defaultmedium
lowmediumhighultra
Editing-task reasoning effort for the harness, trading longer generation time for more reasoning at higher settings.
negative_promptoptional
Typestring
Default
≤ 1,024 characters
Content to exclude from the image; only berry uses this input.
seedoptional
Typeinteger | null
Choose a fresh latent-noise seed for each further edit of a previously generated output.
output_formatoptional
Typeenum
Defaultpng
pngjpeg
Format for the resulting image.
enable_safety_checkeroptional
Typeboolean
Defaulttrue
Unsafe-content screening for output images. Account authorization is required to disable it.
required Canonical name, also accepted

File parameters take a public https:// URL, a data: URI up to 10 MB, or the file_url of an upload. Files

Output

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "krea/v3/edit",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 26,
    "usd": "0.026",
    "charged": 26,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "image_urls": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  },
  "output": {
    "images": [
      {
        "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
        "content_type": "image/jpeg",
        "file_name": "0-output.jpeg",
        "file_size": 1843200,
        "width": 1024,
        "height": 768
      }
    ],
    "seed": 42,
    "prompt": "string",
    "timings": {},
    "has_nsfw_concepts": [
      false
    ]
  },
  "outputs": [
    {
      "type": "image",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "width": 1024,
      "height": 768,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Your files, your choiceEvery outputs[].url is a copy on our storage: kept forever (paid per GB-month) or 7 days for free, by your account setting or ?storage=.
Same shape on every modeltype, url, content_type, width, height and duration, for images, video and audio alike. output is the model’s own result object.
Fields of output
images
array of object {url, content_type, file_name, file_size, width, height}Images produced by generation.
seed
integerSeed that supplied the latent noise during generation.
prompt
stringExpanded prompt that was used to generate the output.
timings
objectPer-stage generation durations measured in seconds, including total GPU sampling time under `inference`.
has_nsfw_concepts
array of booleanPer-image safety assessment.

More models: Image Editing

For AI agents: this page as Markdown is at https://doitong.com/developers/models/krea/v3/edit.md. All models and guides: https://doitong.com/developers/llms.txt