Njuolgga sisdollui

Qwen Image 3 Edit

Integrere

Modealla-id alibaba/qwen-image-3/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/alibaba/qwen-image-3/edit?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Change the sign above the door to read \"Open Daily 8-20\" in the same lettering style and color, keep everything else unchanged.",
    "images": [
      "https://content.doitong.com/dev-api/2026/10/21/req_msc9ak2dbu4cu59zvf0c2ftb/0-RBrxxuL8Z-3AAI916Qh9o_hi2fj8yl.png"
    ]
  }'

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

Dát ohcamuš: 0,075 $ 75 API-kreditta Vuodje dán siiddu alde

Oza API-čoavdaga
Alibaba Gova heiveheapmi #editing#typography#multi-reference

Daga rievdadusaid ovtta gitta golmma referánsegovváin, erenoamážit buorre gova teaksta rievdadit dahje lasihit.

Ovdamearkkat

Sisa-addi
Boađus · ~105 s
Change the sign above the door to read "Open Daily 8-20" in the same lettering style and color, keep everything else ...

PromptaChange the sign above the door to read "Open Daily 8-20" in the same lettering style and color, keep everything else unchanged.

0,075 $ · 75 API-kreditta

Ráhkat jearaldaga

Kontrollat ráhkaduvvojit modealla skeama vuođul. Koda ja haddi ođasmahttojuvvojit go rievddadat daid.

•gáibiduvvo 127 / 5000

Teaksta, mii čilge dahkkivuođa kiinná dahje eŋgelas, ráddjejuvvon 5000 mearkii.

•gáibiduvvo image_urls
Luoitte fiilla, dahje

Atte 1–3 doaimmahanreferánssa JPEG-, JPG-, PNG- (alfa haga) dahje WEBP-formáhtas, eanemustá 10MB juohke fiillas, ja dimenšuvnnaiguin 384–2048px juohke aksas. Čujuh daidda bivddas 'image 1', 'image 2' ja 'image 3', addojuvvon ortnegis.

image_size

Boađusgovva dimenšuvnnat, ráddjejuvvon oktiibuot pikselmearrái gaskkas 512 × 512 ja 2048 × 2048. Jus sturrodat guđđojuvvo eret, modealla vállje resolušuvnna automáhtalaččat.

num_images standárda 1

Ráhkadeapmái bivdojuvvon govvamearri.

Viiddiduvvon negative_prompt · output_format · seed · enable_prompt_expansion
0 / 500

Sisdoallu, mii galgá guđđot boahtteva govas eret, ráddjejuvvon 500 mearkii.

output_format standárda png

Boahtteva govva fiilaformáhtta.

Juhkos, mii dahká boađusaid reprodukšuvnnalažžan, gaskkas 0–2147483647.

POST /run/alibaba/qwen-image-3/edit?wait=20 haddemearrádus → 0,075 $
# 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/alibaba/qwen-image-3/edit?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Change the sign above the door to read \"Open Daily 8-20\" in the same lettering style and color, keep everything else unchanged.",
    "images": [
      "https://content.doitong.com/dev-api/2026/10/21/req_msc9ak2dbu4cu59zvf0c2ftb/0-RBrxxuL8Z-3AAI916Qh9o_hi2fj8yl.png"
    ]
  }'

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

Geavat dán ohcamuša

Du key báhcá dán fierpmádatlogan: dat sáddejuvvo dušše Doitong API:ii ja vurkejuvvo (localStorage) dušše jos válljet Remember. Viečča API-keya

Dát lea Qwen Image 3 Edit birra

Qwen Image 3 edit-modealla váldá 1–3 referánsa-govvama (384–2048 px beali nammii) ja bivdda, mii sáhttá čujuhit dása: image 1, image 2 ja image 3. Dat lea erenoamáš buorre čállaga lonuheamis dahje lasiheamis. Guođe sturrodaga guorusin vai modealla vállje, dahje vállje ovddalgihttoheivehusa dahje iežas sturrodaga gitta 2K rádjai; gitta guhtta boađusa juohke jearaldahkii.

Parametterat

Sádde kanonala nama dahje iežas nama, ii goappašiid. Kanonala namat

NammaŠládja StandárdaDohkkehuvvon Govvádus
promptgáibiduvvo
Šládjastring
≤ 5 000 mearkka
Teaksta, mii čilge dahkkivuođa kiinná dahje eŋgelas, ráddjejuvvon 5000 mearkii.
negative_prompteaktodáhtolaš
Šládjastring | null
Standárda
≤ 500 mearkka
Sisdoallu, mii galgá guđđot boahtteva govas eret, ráddjejuvvon 500 mearkii.
image_sizeeaktodáhtolaš
Šládjaobject
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
Boađusgovva dimenšuvnnat, ráddjejuvvon oktiibuot pikselmearrái gaskkas 512 × 512 ja 2048 × 2048. Jus sturrodat guđđojuvvo eret, modealla vállje resolušuvnna automáhtalaččat.
enable_prompt_expansioneaktodáhtolaš
Šládjaboolean
Standárdatrue
Mearrida LLM:a automáhtalaš bivdda-ođasmahttima boađusaid buorideapmái.
seedeaktodáhtolaš
Šládjainteger | null
Juhkos, mii dahká boađusaid reprodukšuvnnalažžan, gaskkas 0–2147483647.
num_imageseaktodáhtolaš num_outputs
Šládjainteger
Standárda1
1 – 6
Ráhkadeapmái bivdojuvvon govvamearri.
output_formateaktodáhtolaš
Šládjaenum
Standárdapng
jpegpngwebp
Boahtteva govva fiilaformáhtta.
image_urlsgáibiduvvo images
Šládjaurl[] · image
Atte 1–3 doaimmahanreferánssa JPEG-, JPG-, PNG- (alfa haga) dahje WEBP-formáhtas, eanemustá 10MB juohke fiillas, ja dimenšuvnnaiguin 384–2048px juohke aksas. Čujuh daidda bivddas 'image 1', 'image 2' ja 'image 3', addojuvvon ortnegis.
gáibiduvvo Kanonala namma, maid sáhttá geavahit

Fiilaparametterat váldet almmolaš https:// URL:a, data: URI:a gitta 10 MB, dahje uploada file_url:a. Fiillat

Boađus

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "alibaba/qwen-image-3/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": 75,
    "usd": "0.075",
    "charged": 75,
    "refunded": 0
  },
  "input": {
    "prompt": "Change the text on the sneaker's side to read \"RUN\" in bold letters",
    "images": [
      "https://content.doitong.com/images/showcase/v3/gen_sneaker_ad.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
      }
    ],
    "seed": 42
  },
  "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"
  }
}
Du fiillat, du válljenJuohke outputs[].url lea kopia min vurkemis: bisuhuvvo álo (mákso GB-mánu mielde) dahje 7 beaivvi nuvttá, du konto­o heiveheami dahje ?storage= mielde.
Seammá hápmi juohke modeallastype, url, content_type, width, height ja duration, govvii, videoii ja jienai seammá ládje. output lea modealla iežas boađusobjekta.
Outputa giettit
images
array of object {url, content_type, file_name, file_size}Ráhkadeami bokte buvttaduvvon govvat.
seed
integerRáhkadeamis geavahuvvon sádjiárvu.

Eanet modeallat: Gova heiveheapmi

AI-agenttaide: dán siidu Markdowna lea dáppe https://doitong.com/se/developers/models/alibaba/qwen-image-3/edit.md. Buot modeallat ja ráđit: https://doitong.com/developers/llms.txt