အကြောင်းအရာသို့ ကျော်ရန်

Qwen Image 3 Edit

ပေါင်းစည်းရန်

မော်ဒယ် 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"

ဤတောင်းဆိုချက်: ၀.၀၇၅ $ ၇၅ API ခရက်ဒစ် ဤစာမျက်နှာတွင် လုပ်ဆောင်ရန်

API ကီး ရယူရန်
Alibaba ပုံတည်းဖြတ်ခြင်း #editing#typography#multi-reference

ရည်ညွှန်းပုံ တစ်ပုံမှ သုံးပုံဖြင့် တည်းဖြတ်နိုင်ပြီး ပုံထဲရှိ စာသားကို ပြောင်းလဲခြင်း သို့မဟုတ် ထည့်သွင်းခြင်းတွင် အထူးကောင်းမွန်သည်။

နမူနာများ

ထည့်သွင်းချက်
ထွက်ရလဒ် · ~105 s
Change the sign above the door to read "Open Daily 8-20" in the same lettering style and color, keep everything else ...

ပရောမ့်Change the sign above the door to read "Open Daily 8-20" in the same lettering style and color, keep everything else unchanged.

၀.၀၇၅ $ · ၇၅ API ခရက်ဒစ်

တောင်းဆိုမှုတစ်ခု တည်ဆောက်ရန်

ထိန်းချုပ်မှုများကို မော်ဒယ် schema မှ အလိုအလျောက်ဖန်တီးသည်။ ၎င်းတို့ကို ပြောင်းလဲသည်နှင့် code နှင့် စျေးနှုန်းတို့လည်း ပြောင်းလဲမည်။

•လိုအပ်သည် 127 / 5000

ပြုလုပ်မည့် တည်းဖြတ်မှုကို ဖော်ပြသည့် တရုတ်သို့မဟုတ် အင်္ဂလိပ်စာသား၊ အက္ခရာ 5000 အထိ။

•လိုအပ်သည် image_urls
ဖိုင်ကို ဆွဲချပါ၊ သို့မဟုတ်

JPEG, JPG, PNG (alpha မပါ) သို့မဟုတ် WEBP ဖော်မတ်ဖြင့် တည်းဖြတ်မှုရည်ညွှန်းချက် 1–3 ခု ပေးပါ။ ဖိုင်တစ်ခုလျှင် အများဆုံး 10MB ဖြစ်ရမည်၊ ဝင်ရိုးတစ်ခုစီ၏ အတိုင်းအတာမှာ 384–2048px ဖြစ်ရမည်။ ပေးထားသည့်အစီအစဉ်အတိုင်း ပရောမ့်အတွင်း 'image 1'၊ 'image 2' နှင့် 'image 3' ဟု ရည်ညွှန်းပါ။

image_size

ထွက်ရလဒ်ပုံ၏ အတိုင်းအတာ။ စုစုပေါင်း pixel အရေအတွက်ကို 512 × 512 မှ 2048 × 2048 အတွင်း ကန့်သတ်ထားသည်။ အရွယ်အစားမပေးပါက မော်ဒယ်က ရုပ်ထွက်အရည်အသွေးကို အလိုအလျောက် ရွေးချယ်သည်။

num_images မူလ 1

ဖန်တီးရန် တောင်းဆိုထားသည့် ပုံအရေအတွက်။

အဆင့်မြင့် negative_prompt · output_format · seed · enable_prompt_expansion
0 / 500

ရလဒ်ပုံတွင် မပါဝင်စေလိုသည့် အကြောင်းအရာ၊ အက္ခရာ 500 အထိ။

output_format မူလ png

ရလဒ်ပုံအတွက် ဖိုင်ဖော်မတ်။

ထပ်တူပြန်လည်ဖန်တီးနိုင်စေသည့် ကျပန်း seed၊ 0 မှ 2147483647 အထိ။

POST /run/alibaba/qwen-image-3/edit?wait=20 ကုန်ကျစရိတ် → ၀.၀၇၅ $
# 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"

ဤတောင်းဆိုချက်ကို လုပ်ဆောင်ရန်

သင့် key သည် ဤဘရောက်ဇာထဲတွင်သာ ရှိမည်ဖြစ်ပြီး Doitong API သို့သာ ပို့မည်။ Remember ကို အမှန်ခြစ်ထားမှသာ (localStorage) တွင် သိမ်းမည်။ API ကီး ရယူရန်

Qwen Image 3 Edit အကြောင်း

Qwen Image 3 ၏ တည်းဖြတ်မုဒ်သည် တစ်ပုံမှ သုံးပုံအထိ ရည်ညွှန်းပုံများ (တစ်ဖက်လျှင် 384 မှ 2048 px) နှင့် ၎င်းတို့ကို image 1၊ image 2 နှင့် image 3 အဖြစ် ရည်ညွှန်းနိုင်သော ညွှန်ကြားချက်တစ်ခုကို လက်ခံသည်။ စာလုံးများကို အစားထိုးခြင်း သို့မဟုတ် ထည့်သွင်းခြင်းတွင် အထူးကောင်းမွန်သည်။ အရွယ်အစားကို မော်ဒယ်က ရွေးချယ်စေလိုပါက ဗလာထားပါ၊ သို့မဟုတ် ကြိုတင်သတ်မှတ်ထားသော သို့မဟုတ် စိတ်ကြိုက်အရွယ်အစားကို 2K အထိ သတ်မှတ်ပါ။ တောင်းဆိုချက်တစ်ခုလျှင် ရလဒ် 6 ခုအထိ ရနိုင်သည်။

ပါရာမီတာများ

စံအမည် သို့မဟုတ် မူရင်းအမည် တစ်ခုခုကိုသာ ပို့ပါ၊ နှစ်ခုလုံး မပို့ပါနှင့်။ စံအမည်များ

အမည်အမျိုးအစား မူလတန်ဖိုးခွင့်ပြုထားသည် ဖော်ပြချက်
promptလိုအပ်သည်
အမျိုးအစားstring
စာလုံး ၅,၀၀၀ လုံးထက် မပိုပါ
ပြုလုပ်မည့် တည်းဖြတ်မှုကို ဖော်ပြသည့် တရုတ်သို့မဟုတ် အင်္ဂလိပ်စာသား၊ အက္ခရာ 5000 အထိ။
negative_promptရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
မူလတန်ဖိုး
စာလုံး ၅၀၀ လုံးထက် မပိုပါ
ရလဒ်ပုံတွင် မပါဝင်စေလိုသည့် အကြောင်းအရာ၊ အက္ခရာ 500 အထိ။
image_sizeရွေးချယ်နိုင်သည်
အမျိုးအစားobject
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
ထွက်ရလဒ်ပုံ၏ အတိုင်းအတာ။ စုစုပေါင်း pixel အရေအတွက်ကို 512 × 512 မှ 2048 × 2048 အတွင်း ကန့်သတ်ထားသည်။ အရွယ်အစားမပေးပါက မော်ဒယ်က ရုပ်ထွက်အရည်အသွေးကို အလိုအလျောက် ရွေးချယ်သည်။
enable_prompt_expansionရွေးချယ်နိုင်သည်
အမျိုးအစားboolean
မူလတန်ဖိုးtrue
ရလဒ်များ ပိုကောင်းစေရန် LLM က ပရောမ့်ကို အလိုအလျောက် ပြန်လည်ရေးသားခြင်းကို ထိန်းချုပ်သည်။
seedရွေးချယ်နိုင်သည်
အမျိုးအစားinteger | null
ထပ်တူပြန်လည်ဖန်တီးနိုင်စေသည့် ကျပန်း seed၊ 0 မှ 2147483647 အထိ။
num_imagesရွေးချယ်နိုင်သည် num_outputs
အမျိုးအစားinteger
မူလတန်ဖိုး1
၁ – ၆
ဖန်တီးရန် တောင်းဆိုထားသည့် ပုံအရေအတွက်။
output_formatရွေးချယ်နိုင်သည်
အမျိုးအစားenum
မူလတန်ဖိုးpng
jpegpngwebp
ရလဒ်ပုံအတွက် ဖိုင်ဖော်မတ်။
image_urlsလိုအပ်သည် images
အမျိုးအစားurl[] · image
JPEG, JPG, PNG (alpha မပါ) သို့မဟုတ် WEBP ဖော်မတ်ဖြင့် တည်းဖြတ်မှုရည်ညွှန်းချက် 1–3 ခု ပေးပါ။ ဖိုင်တစ်ခုလျှင် အများဆုံး 10MB ဖြစ်ရမည်၊ ဝင်ရိုးတစ်ခုစီ၏ အတိုင်းအတာမှာ 384–2048px ဖြစ်ရမည်။ ပေးထားသည့်အစီအစဉ်အတိုင်း ပရောမ့်အတွင်း 'image 1'၊ 'image 2' နှင့် 'image 3' ဟု ရည်ညွှန်းပါ။
လိုအပ်သည် စံအမည်၊ ထို့အပြင် လက်ခံသည်

ဖိုင်ပါရာမီတာများသည် အများပြည်သူသုံး https:// URL၊ 10 MB အထိ data: URI သို့မဟုတ် အပ်လုဒ်လုပ်ထားသောဖိုင်၏ file_url ကို လက်ခံသည်။ ဖိုင်များ

ထွက်ရလဒ်

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"
  }
}
သင့်ဖိုင်များ၊ သင့်ရွေးချယ်မှုoutputs[].url တိုင်းသည် ကျွန်ုပ်တို့၏ သိုလှောင်မှုရှိ မိတ္တူဖြစ်သည်- အမြဲတမ်း (GB-month အလိုက် ငွေပေးရသည်) သို့မဟုတ် ၇ ရက် အခမဲ့၊ သင့်အကောင့်ဆက်တင် သို့မဟုတ် ?storage= ဖြင့် သိမ်းထားသည်။
မော်ဒယ်တိုင်းတွင် ပုံစံတူပုံ၊ ဗီဒီယိုနှင့် အသံတို့အတွက် type၊ url၊ content_type၊ width၊ height နှင့် duration။ output သည် မော်ဒယ်ကိုယ်တိုင်၏ ရလဒ် object ဖြစ်သည်။
ထွက်ရလဒ်၏ Fields များ
images
array of object {url, content_type, file_name, file_size}ဖန်တီးမှုမှ ထွက်ရှိသည့် ပုံများ။
seed
integerဖန်တီးမှုအတွင်း အသုံးပြုသည့် seed တန်ဖိုး။

နောက်ထပ် မော်ဒယ်များ: ပုံတည်းဖြတ်ခြင်း

AI အေးဂျင့်များအတွက်- ဤစာမျက်နှာ၏ Markdown ကို ဤနေရာတွင် ရရှိနိုင်သည် https://doitong.com/my/developers/models/alibaba/qwen-image-3/edit.md. မော်ဒယ်များနှင့် လမ်းညွှန်များအားလုံး: https://doitong.com/developers/llms.txt