Neidio i'r cynnwys

Qwen Image 3 Edit

Integreiddio

ID y model 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"

Y cais hwn: $0.075 75 o gredydau API Ei redeg ar y dudalen hon

Cael allwedd API
Alibaba Golygu Delweddau #editing#typography#multi-reference

Golygu gydag un i dair delwedd gyfeirio, yn arbennig o dda am newid neu ychwanegu testun mewn llun.

Enghreifftiau

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

AnogwrChange 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 o gredydau API

Adeiladu cais

Cynhyrchir rheolyddion o sgema'r model. Mae'r cod a'r pris yn diweddaru wrth i chi eu newid.

•gofynnol 127 / 5000

Testun sy'n disgrifio'r golygiad i'w wneud, yn Tsieinëeg neu'n Saesneg, wedi'i gyfyngu i 5000 nod.

•gofynnol image_urls
Gollyngwch ffeil, neu

Darparwch 1–3 chyfeirnod golygu mewn fformat JPEG, JPG, PNG (heb alpha), neu WEBP, gydag uchafswm o 10MB fesul ffeil a dimensiynau o 384–2048px ar bob echelin. Cyfeiriwch atynt yn yr anogiad fel 'image 1', 'image 2', ac 'image 3', yn ôl y drefn y'u darperir.

image_size

Dimensiynau delwedd allbwn, wedi'u cyfyngu gan gyfanswm cyfrif picseli o 512 × 512 i 2048 × 2048. Mae hepgor y maint yn gadael i'r model ddewis cydraniad yn awtomatig.

num_images rhagosodedig 1

Cyfrif delweddau y gofynnir amdano ar gyfer cynhyrchu.

Uwch negative_prompt · output_format · seed · enable_prompt_expansion
0 / 500

Cynnwys i'w eithrio o'r ddelwedd sy'n deillio, wedi'i gyfyngu i 500 nod.

output_format rhagosodedig png

Fformat ffeil y ddelwedd sy'n deillio.

Hadau ar hap sy'n galluogi canlyniadau atgynhyrchadwy, yn amrywio o 0 i 2147483647.

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

Rhedeg y cais hwn

Mae'ch allwedd yn aros yn y porwr hwn: caiff ei hanfon at Doitong API yn unig a'i chadw (localStorage) dim ond os ticiwch Cofio. Cael allwedd API

Ynglŷn â Qwen Image 3 Edit

Mae modd golygu Qwen Image 3 yn cymryd un i dair delwedd gyfeirio (384 i 2048 px yr ochr) a chyfarwyddyd sy’n gallu cyfeirio atynt fel image 1, image 2 ac image 3. Mae’n arbennig o dda am ddisodli neu ychwanegu llythrennau. Gadewch y maint yn wag i adael i’r model ddewis, neu gosodwch faint rhagosodedig neu faint personol hyd at 2K; hyd at chwe chanlyniad fesul cais.

Paramedrau

Anfonwch naill ai'r enw canonaidd neu'r enw brodorol, nid y ddau. Enwau canonaidd

EnwMath RhagosodedigCaniateir Disgrifiad
promptgofynnol
Mathstring
≤ 5,000 nod
Testun sy'n disgrifio'r golygiad i'w wneud, yn Tsieinëeg neu'n Saesneg, wedi'i gyfyngu i 5000 nod.
negative_promptdewisol
Mathstring | null
Rhagosodedig
≤ 500 nod
Cynnwys i'w eithrio o'r ddelwedd sy'n deillio, wedi'i gyfyngu i 500 nod.
image_sizedewisol
Mathobject
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
Dimensiynau delwedd allbwn, wedi'u cyfyngu gan gyfanswm cyfrif picseli o 512 × 512 i 2048 × 2048. Mae hepgor y maint yn gadael i'r model ddewis cydraniad yn awtomatig.
enable_prompt_expansiondewisol
Mathboolean
Rhagosodedigtrue
Yn rheoli ailysgrifennu awtomatig yr anogiad gan LLM i wella canlyniadau.
seeddewisol
Mathinteger | null
Hadau ar hap sy'n galluogi canlyniadau atgynhyrchadwy, yn amrywio o 0 i 2147483647.
num_imagesdewisol num_outputs
Mathinteger
Rhagosodedig1
1 – 6
Cyfrif delweddau y gofynnir amdano ar gyfer cynhyrchu.
output_formatdewisol
Mathenum
Rhagosodedigpng
jpegpngwebp
Fformat ffeil y ddelwedd sy'n deillio.
image_urlsgofynnol images
Mathurl[] · image
Darparwch 1–3 chyfeirnod golygu mewn fformat JPEG, JPG, PNG (heb alpha), neu WEBP, gydag uchafswm o 10MB fesul ffeil a dimensiynau o 384–2048px ar bob echelin. Cyfeiriwch atynt yn yr anogiad fel 'image 1', 'image 2', ac 'image 3', yn ôl y drefn y'u darperir.
gofynnol Enw canonaidd, derbyniol hefyd

Mae paramedrau ffeil yn derbyn URL cyhoeddus https://, URI data: hyd at 10 MB, neu file_url uwchlwythiad. Ffeiliau

Allbwn

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"
  }
}
Eich ffeiliau, eich dewisMae pob outputs[].url yn gopi ar ein storio: wedi'i gadw am byth (telir fesul GB-mis) neu am 7 diwrnod am ddim, yn ôl gosodiad eich cyfrif neu ?storage=.
Yr un siâp ar bob modeltype, url, content_type, width, height a duration, ar gyfer delweddau, fideo a sain fel ei gilydd. Gwrthrych canlyniad y model ei hun yw output.
Meysydd yr allbwn
images
array of object {url, content_type, file_name, file_size}Delweddau a gynhyrchir.
seed
integerGwerth hedyn a gymhwysir wrth gynhyrchu.

Mwy o fodelau: Golygu Delweddau

Ar gyfer asiantau AI: mae'r dudalen hon fel Markdown ar gael yn https://doitong.com/cy/developers/models/alibaba/qwen-image-3/edit.md. Pob model a chanllaw: https://doitong.com/developers/llms.txt