Dža ko lil

Qwen Image 3 Edit

Integriruj

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

Kava mangipen: $0.075 75 API krediti Phir les kate

Lel API klidin
Alibaba Editime e kipesko #editing#typography#multi-reference

Editinel jekhtar trin referencake fotografije, zoralo te paruvarel vaj te dodavel tekst ko jekh fotografija.

Primerura

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

PromptoChange 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 krediti

Ker jekh mangipen

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

•trubul 127 / 5000

Teksto savo opisarel e editiripe te kerel pes, ande chinaki vaj anglikani čhib, limitime pe 5000 karaktero.

•trubul image_urls
Čhiv jekh fajl, vaj

Den 1–3 editiripeqe referencije ande JPEG, JPG, PNG (bi alpha), vaj WEBP, maximum 10MB sako fajloqe thaj dimenzije 384–2048px pe sako axis. Referisaren len ande prompto sar 'image 1', 'image 2', thaj 'image 3', palal lenqo dindo redosled.

image_size

Rezultato kipoqe dimenzije, limitime totalno pixel-ginça andar 512 × 512 dži 2048 × 2048. Te na den e size, o modelo automatikane kidel e rezolucija.

num_images standardno 1

Manglo kipoqo gin vaš generiripe.

Lučhe negative_prompt · output_format · seed · enable_prompt_expansion
0 / 500

Sadržai savo te na avel ande rezultato kipo, limitime pe 500 karaktero.

output_format standardno png

Fajlo-formato e rezultato kipoqo.

Randomno seed vaš reproducibilno rezultato, 0 dži 2147483647.

POST /run/alibaba/qwen-image-3/edit?wait=20 hesab → $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"

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 Qwen Image 3 Edit

O editing mode la Qwen Image 3 lel jekh dži trin referentno kipo (384 dži 2048 px pe sako rig) thaj jekh instrukcia so šaj te vakerel lendar sar image 1, image 2 thaj image 3. Specialno lačho si te paruvav vaj te dodavav teksto. Mukh o size khali te mukhes e modelo te lel odluka, vaj setin preset vaj custom size dži 2K; dži šov rezultatura pe jekh mangipen.

Parametra

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

NavTip standardnoMuklo Vakeripe
prompttrubul
Tipstring
≤ 5,000 simbolura
Teksto savo opisarel e editiripe te kerel pes, ande chinaki vaj anglikani čhib, limitime pe 5000 karaktero.
negative_promptopcionalno
Tipstring | null
standardno
≤ 500 simbolura
Sadržai savo te na avel ande rezultato kipo, limitime pe 500 karaktero.
image_sizeopcionalno
Tipobject
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
Rezultato kipoqe dimenzije, limitime totalno pixel-ginça andar 512 × 512 dži 2048 × 2048. Te na den e size, o modelo automatikane kidel e rezolucija.
enable_prompt_expansionopcionalno
Tipboolean
standardnotrue
Kontrolisarel automatikano prompt-o paruvipe e LLM-eça vaš maj lašo rezultato.
seedopcionalno
Tipinteger | null
Randomno seed vaš reproducibilno rezultato, 0 dži 2147483647.
num_imagesopcionalno num_outputs
Tipinteger
standardno1
1 – 6
Manglo kipoqo gin vaš generiripe.
output_formatopcionalno
Tipenum
standardnopng
jpegpngwebp
Fajlo-formato e rezultato kipoqo.
image_urlstrubul images
Tipurl[] · image
Den 1–3 editiripeqe referencije ande JPEG, JPG, PNG (bi alpha), vaj WEBP, maximum 10MB sako fajloqe thaj dimenzije 384–2048px pe sako axis. Referisaren len ande prompto sar 'image 1', 'image 2', thaj 'image 3', palal lenqo dindo redosled.
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": "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"
  }
}
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}Kipo kerdine generiripeça.
seed
integerSeed-valoro aplikovano ko generiripe.

Bute modeli: Editime e kipesko

AI agentenge: kadija rig sar Markdown si kate https://doitong.com/rom/developers/models/alibaba/qwen-image-3/edit.md. Sa e modelura thaj e gidura: https://doitong.com/developers/llms.txt