Dža ko lil

Krea 3 Edit

Integriruj

Modelosko 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"

Kava mangipen: ≈$0.026 26 API krediti Phir les kate

Lel API klidin
Krea Editime e kipesko #image-editing#multi-reference#image-to-image#krea

Krea 3 fotografijaki editacija savi editirinel vaj jekhetanel 1 dži 8 referencijake fotografije andar tekstoske instrukcije

Krea · Kip

Tiro prvo rezultato si kate

Ker tele jekh mangipen thaj phir les tire API klidinosa. E rezultatur si kopirime amare arakhipneste, vično vaj 7 dives bilačhes.

Ker jekh mangipen

O kontrolura kerde si katar e schemaske. O kodo thaj e cena menjinen sar tu len menjines.

•trubul 88 / 5000

Deskripcija e mangelime rezultatoske kiposki.

•trubul image_urls
Čhiv jekh fajl, vaj · dži 8

Ordine khetanipen e 1–8 kiponge baši edit vaj jekhetane keripe, kaj e pozicije dino o <image-N> tags.

image_size standardno auto

Dimenzije e rezultatoske, vaj `auto` te mukhel e prompto expander-es te lel o proporcije ande približno 2048×2048. O dimenzije upral roundinena ko multiple e 16-eske, tel jekh total limit e 4,220,160 pixels-esko (1680×2512).

Lučhe negative_prompt · model · reasoning_level · output_format · seed · enable_safety_checker
0 / 1024

Soderžaj savo trubul te avel avri katar o kipo; numa berry lel kadava inputo.

model standardno berry

Selekcija e model-eske varianto: berry prioritizinel o kvaliteto, kana jam prioritizinel o sigutno.

reasoning_level standardno medium

Reasoning zor baši editing-task e harness-esko, kaj maj lungo keripaski vrjama del maj but reasoning upral settingura.

output_format standardno png

Formato e rezultato kiposko.

Izberi nevo latent-noise seed baši sako maj dur edit e maj anglal kerde rezultatosko.

POST /run/krea/v3/edit?wait=20 hesab → $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"

Phandel kava mangipen

Tiro kluč ačhel kadale browsereste: bičhalel pes numa ko Doitong API thaj šuvav pes (localStorage) numa te tiknes Remember. Le jekh API ključ

Palal Krea 3 Edit

Editirinel vaj jekhetanel jekh dži oxto fotografije ande `image_urls`, pala jekh `prompt` dži 5000 karaktera. `model` kidel berry (kvaliteta) vaj jam (skora). `reasoning_level` si maškar low thaj ultra, thaj `image_size` lel preset vaj auto, dži 4,220,160 pixelura. `negative_prompt` aplicirinel ča pe berry.

Parametra

Bičhalav vaj e kanonikano nav vaj e native nav, na duj. Kanonikane nava

NavTip standardnoMuklo Vakeripe
prompttrubul
Tipstring
≤ 5,000 simbolura
Deskripcija e mangelime rezultatoske kiposki.
image_urlstrubul images
Tipurl[] · image
≤ 8 artiklura
Ordine khetanipen e 1–8 kiponge baši edit vaj jekhetane keripe, kaj e pozicije dino o <image-N> tags.
modelopcionalno
Tipenum
standardnoberry
berryjam
Selekcija e model-eske varianto: berry prioritizinel o kvaliteto, kana jam prioritizinel o sigutno.
image_sizeopcionalno
Tipobject
standardnoauto
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9auto
Dimenzije e rezultatoske, vaj `auto` te mukhel e prompto expander-es te lel o proporcije ande približno 2048×2048. O dimenzije upral roundinena ko multiple e 16-eske, tel jekh total limit e 4,220,160 pixels-esko (1680×2512).
reasoning_levelopcionalno
Tipenum
standardnomedium
lowmediumhighultra
Reasoning zor baši editing-task e harness-esko, kaj maj lungo keripaski vrjama del maj but reasoning upral settingura.
negative_promptopcionalno
Tipstring
standardno
≤ 1,024 simbolura
Soderžaj savo trubul te avel avri katar o kipo; numa berry lel kadava inputo.
seedopcionalno
Tipinteger | null
Izberi nevo latent-noise seed baši sako maj dur edit e maj anglal kerde rezultatosko.
output_formatopcionalno
Tipenum
standardnopng
pngjpeg
Formato e rezultato kiposko.
enable_safety_checkeropcionalno
Tipboolean
standardnotrue
Screening e unsafe soderžajeskoro baši rezultujime kipo. Trubul autorizacija e kontoski te lelpe avri.
trubul Kanonikano nav, vi akceptime

Fajloske parametra lel jekh publikano https:// URL, jekh data: URI dži 10 MB, vaj e file_url uploadoski. Fajlura

Rezultato

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"
  }
}
Tire fajlura, tiro alosaripenSako outputs[].url si kopija amare arakhipneste: vično (čargeime per GB-mase) vaj 7 dives bilačhes, tiro kontoskere regulaciatar vaj ?storage=.
Sa jekh forma sako modeloθartype, url, content_type, width, height thaj duration, varesave imajinake, video thaj audio-ke. output si o modelosko korkoro resultosko objekto.
Outputoske fieldura
images
array of object {url, content_type, file_name, file_size, width, height}Kipo kerdine generiripeça.
seed
integerSeed savo dino o latent noise ande o keripe.
prompt
stringUpral-kerdo prompto savo përdizal te kerel o rezultato.
timings
objectKeripaski durata po stage, merime ande sekunda, khetane total GPU sampling vrjamasa tel `inference`.
has_nsfw_concepts
array of booleanSigurnost e sako kiposki.

Bute modeli: Editime e kipesko

AI agentenge: kadija rig sar Markdown si kate https://doitong.com/rom/developers/models/krea/v3/edit.md. Sa e modelura thaj e gidura: https://doitong.com/developers/llms.txt