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

Wan 3.0 Image to Video

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

မော်ဒယ် id alibaba/wan-3.0/image-to-video
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/v1/run/alibaba/wan-3.0/image-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "The hummingbird hovers in place with blurred wings, sips from the flower, then darts out of frame as the camera slowly racks focus to dew drops on the leaves.",
    "resolution": "480p",
    "duration": 5,
    "generate_audio": false,
    "image": "https://content.doitong.com/dev-api/2026/10/21/req_8d2gi6xieif0cf518mbnx752/0-MBac_P_HYvIYfHDIWeUvA_IRELThrq.png"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://vit.doitong.com/api/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

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

API ကီး ရယူရန်
Alibaba ပုံမှ ဗီဒီယို မူရင်းအသံ၂–၃၀ s1080p အထိ #audio#first-last-frame#long-clips

ပထမဖရိမ်ကို လှုပ်ရှားစေပြီး ရွေးချယ်နိုင်သည့် နောက်ဆုံးဖရိမ်ဘက်သို့ ဦးတည်ကာ အသံပါသော 2 မှ 30 စက္ကန့် Wan 3.0 ကလစ်အဖြစ် ဖန်တီးပေးသည်။

နမူနာများ

ထည့်သွင်းချက်
ထွက်ရလဒ် · ~187 s

ပရောမ့်The hummingbird hovers in place with blurred wings, sips from the flower, then darts out of frame as the camera slowly racks focus to dew drops on the leaves.

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

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

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

158 / 20000

ဖန်တီးမည့် လှုပ်ရှားမှုကို ဖော်ပြသည့်စာသား။

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

ထွက်ရလဒ်ဗီဒီယို၏ အစဖရိမ်အဖြစ် အသုံးပြုမည့်ပုံ။

resolution

ရလဒ်ဗီဒီယိုအတွက် ရုပ်ထွက်အရည်အသွေးအဆင့်။

aspect_ratio မူလ adaptive

ထွက်ရလဒ်၏ aspect ratio၊ အလိုအလျောက်ရွေးချယ်နိုင်သည်။

ထွက်ရလဒ်ကြာချိန်: null သည် ပရောမ့်နှင့် ရည်ညွှန်းမီဒီယာအပေါ် မူတည်၍ ကြာချိန်ကို အလိုအလျောက်သတ်မှတ်စေသည်။ သို့မဟုတ်ပါက ပေးထားသောတန်ဖိုးသည် စက္ကန့်ကို သတ်မှတ်သည်။

အဆင့်မြင့် end_image · seed · enable_prompt_expansion · enable_thinking
end_image_url
ဖိုင်ကို ဆွဲချပါ၊ သို့မဟုတ်

ထွက်ရလဒ်ဗီဒီယို၏ နောက်ဆုံးဖရိမ်အဖြစ် အသုံးပြုမည့်ပုံ၊ start_image_url ကိုလည်း ပေးရမည်။

POST /run/alibaba/wan-3.0/image-to-video?wait=20 ကုန်ကျစရိတ် → ၀.၂၅ $
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/v1/run/alibaba/wan-3.0/image-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "The hummingbird hovers in place with blurred wings, sips from the flower, then darts out of frame as the camera slowly racks focus to dew drops on the leaves.",
    "resolution": "480p",
    "duration": 5,
    "generate_audio": false,
    "image": "https://content.doitong.com/dev-api/2026/10/21/req_8d2gi6xieif0cf518mbnx752/0-MBac_P_HYvIYfHDIWeUvA_IRELThrq.png"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://vit.doitong.com/api/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

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

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

Wan 3.0 Image to Video အကြောင်း

Wan 3.0 image-to-video သည် သင့်ပုံမှ စတင်ပြီး ဒုတိယပုံတွင် အဆုံးသတ်နိုင်ကာ မူလတန်ဖိုးအနေဖြင့် အသံကို ဖန်တီးပေးသည်။ ပရောမ့်မှာ ရွေးချယ်နိုင်သည်။ 480p၊ 720p သို့မဟုတ် 1080p ဖြင့် 2 မှ 30 စက္ကန့်အပိုင်းများ၊ အလိုက်သင့် သို့မဟုတ် ပုံသေအချိုးနှင့် ရှုပ်ထွေးသော လှုပ်ရှားမှုအတွက် ရွေးချယ်နိုင်သော ကျိုးကြောင်းဆင်ခြင်မှုအဆင့် ပါဝင်သည်။

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

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

အမည်အမျိုးအစား မူလတန်ဖိုးခွင့်ပြုထားသည် ဖော်ပြချက်
promptရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
စာလုံး ၂၀,၀၀၀ လုံးထက် မပိုပါ
ဖန်တီးမည့် လှုပ်ရှားမှုကို ဖော်ပြသည့်စာသား။
resolutionရွေးချယ်နိုင်သည်
အမျိုးအစားenum
မူလတန်ဖိုး1080p
480p720p1080p
ရလဒ်ဗီဒီယိုအတွက် ရုပ်ထွက်အရည်အသွေးအဆင့်။
aspect_ratioရွေးချယ်နိုင်သည်
အမျိုးအစားenum
မူလတန်ဖိုးadaptive
adaptive16:94:31:13:49:16
ထွက်ရလဒ်၏ aspect ratio၊ အလိုအလျောက်ရွေးချယ်နိုင်သည်။
durationရွေးချယ်နိုင်သည်
အမျိုးအစားinteger | null
မူလတန်ဖိုး5
၂ – ၃၀
ထွက်ရလဒ်ကြာချိန်: null သည် ပရောမ့်နှင့် ရည်ညွှန်းမီဒီယာအပေါ် မူတည်၍ ကြာချိန်ကို အလိုအလျောက်သတ်မှတ်စေသည်။ သို့မဟုတ်ပါက ပေးထားသောတန်ဖိုးသည် စက္ကန့်ကို သတ်မှတ်သည်။
audioရွေးချယ်နိုင်သည် generate_audio
အမျိုးအစားboolean
မူလတန်ဖိုးtrue
ဖန်တီးထားသော အသံကို ထည့်သွင်းမည်၊ မည်မထည့်သွင်းမည်ကို ထိန်းချုပ်သည်။
enable_prompt_expansionရွေးချယ်နိုင်သည်
အမျိုးအစားboolean
မူလတန်ဖိုးtrue
ဖန်တီးမှုမပြုမီ ပရောမ့်ကို ဉာဏ်ရည်ရှိစွာ ပြန်လည်ရေးသားမည်၊ မည်မရေးသားမည်ကို ထိန်းချုပ်သည်။ ပြန်လည်ရေးသားမှုကို ပိတ်ပါက latency 20–60 စက္ကန့်ခန့် လျော့ကျမည်ဖြစ်သော်လည်း အရည်အသွေး လျော့ကျနိုင်သည်။
enable_thinkingရွေးချယ်နိုင်သည်
အမျိုးအစားboolean
မူလတန်ဖိုးfalse
ဖန်တီးမှုမစတင်မီ ထပ်ဆင့်စဉ်းစားခြင်းကို ဖွင့်ပေးသည်။
seedရွေးချယ်နိုင်သည်
အမျိုးအစားinteger | null
၀ – ၂,၁၄၇,၄၈၃,၆၄၇
start_image_urlလိုအပ်သည် image
အမျိုးအစားurl · image
ထွက်ရလဒ်ဗီဒီယို၏ အစဖရိမ်အဖြစ် အသုံးပြုမည့်ပုံ။
end_image_urlရွေးချယ်နိုင်သည် end_image
အမျိုးအစားurl · image
ထွက်ရလဒ်ဗီဒီယို၏ နောက်ဆုံးဖရိမ်အဖြစ် အသုံးပြုမည့်ပုံ၊ start_image_url ကိုလည်း ပေးရမည်။
လိုအပ်သည် စံအမည်၊ ထို့အပြင် လက်ခံသည်

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

ထွက်ရလဒ်

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "alibaba/wan-3.0/image-to-video",
  "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": 250,
    "usd": "0.25",
    "charged": 250,
    "refunded": 0
  },
  "input": {
    "prompt": "The fox leaps toward the fireflies and lands softly on the grass",
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "duration": 5,
    "resolution": "720p"
  },
  "output": {
    "video": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_name": "0-output.mp4",
      "file_size": 1843200,
      "width": 1024,
      "height": 768,
      "fps": 1.0,
      "duration": 5,
      "num_frames": 1
    },
    "seed": 42,
    "duration": 5,
    "actual_prompt": "string"
  },
  "outputs": [
    {
      "type": "video",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_size": 1843200,
      "width": 1280,
      "height": 720,
      "duration": 5,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
သင့်ဖိုင်များ၊ သင့်ရွေးချယ်မှုoutputs[].url တိုင်းသည် ကျွန်ုပ်တို့၏ သိုလှောင်မှုရှိ မိတ္တူဖြစ်သည်- အမြဲတမ်း (GB-month အလိုက် ငွေပေးရသည်) သို့မဟုတ် ၇ ရက် အခမဲ့၊ သင့်အကောင့်ဆက်တင် သို့မဟုတ် ?storage= ဖြင့် သိမ်းထားသည်။
မော်ဒယ်တိုင်းတွင် ပုံစံတူပုံ၊ ဗီဒီယိုနှင့် အသံတို့အတွက် type၊ url၊ content_type၊ width၊ height နှင့် duration။ output သည် မော်ဒယ်ကိုယ်တိုင်၏ ရလဒ် object ဖြစ်သည်။
ထွက်ရလဒ်၏ Fields များ
video
object {url, content_type, file_name, file_size, width, height, fps, duration, num_frames}ဖန်တီးမှုမှ ထွက်ရှိသည့် ဗီဒီယိုဖိုင်။
seed
integerဖန်တီးမှုအတွင်း အသုံးပြုသည့် seed တန်ဖိုး။
duration
numberဖန်တီးထားသောဗီဒီယို၏ ကြာချိန်၊ စက္ကန့်ဖြင့် တိုင်းတာသည်။
actual_prompt
string | null

နောက်ထပ် မော်ဒယ်များ: ပုံမှ ဗီဒီယို

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