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

Editto

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

မော်ဒယ် id editto
# 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/editto?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  }'

# 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 ကီး ရယူရန်
Open model ဗီဒီယိုမှ ဗီဒီယို 720p အထိ #video-edit#wan-vace

ပရောမ့်မှ မူရင်းဗီဒီယိုကို ပြန်ရေးသားတည်းဖြတ်သည့် ညွှန်ကြားချက်အခြေပြု ဗီဒီယိုတည်းဖြတ်မှု၊ ဖရိမ်၊ fps နှင့် ရုပ်ထွက်အရည်အသွေး ထိန်းချုပ်ချက်များ ပါဝင်သည်

Open model · ဗီဒီယို

သင့်ပထမဆုံးရလဒ် ဤနေရာတွင် ပေါ်လာမည်

အောက်တွင် တောင်းဆိုချက်တစ်ခု တည်ဆောက်ပြီး သင့် API ကီးဖြင့် လုပ်ဆောင်ပါ။ ထွက်ရလဒ်များကို ကျွန်ုပ်တို့၏ သိုလှောင်မှုသို့ ကူးယူပြီး အမြဲတမ်း သို့မဟုတ် ၇ ရက် အခမဲ့ သိမ်းထားသည်။

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

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

•လိုအပ်သည်

ဗီဒီယိုဖန်တီးမှုကို လမ်းညွှန်သည့် စာသားညွှန်ကြားချက်များ။

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

မူရင်းဗီဒီယိုဖိုင် URL။ inpainting ပြုလုပ်သည့်အခါ မဖြစ်မနေလိုအပ်သည်။

resolution မူလ auto

ထွက်ရလဒ်ဗီဒီယို၏ ရုပ်ထွက်အရည်အသွေး။

aspect_ratio မူလ auto

ရလဒ်ဗီဒီယို၏ aspect ratio။

မူလ 81

ထွက်ရလဒ် ဖရိမ်အရေအတွက်၊ 81–241 အပါအဝင် အကွာအဝေးရှိသည်။

မူလ 0

Interpolation အရေအတွက်။ 0 သည် မူရင်းဖရိမ်များကို interpolation မပြုလုပ်ဘဲ ထားပြီး အခြားတန်ဖိုးများသည် ဖရိမ်များအကြား ဖန်တီးမည့် အလယ်ဖရိမ်အရေအတွက်ကို သတ်မှတ်သည်။

အဆင့်မြင့် negative_prompt · sampler · acceleration · video_quality · video_write_mode · frames_per_second · num_inference_steps · guidance_scale · shift · temporal_downsample_factor · seed · match_input_frames_per_second · enable_safety_checker · enable_auto_downsample · return_frames_zip
မူလ letterboxing, borders...

ဗီဒီယိုဖန်တီးရာတွင် အသုံးပြုသည့် အနုတ်လက္ခဏာပရောမ့်။

sampler မူလ unipc

ဗီဒီယိုဖန်တီးချိန်တွင် အသုံးပြုသည့် Sampler။

acceleration မူလ regular

Inference အရှိန်မြှင့်ခြင်း setting။ 'none' သို့မဟုတ် 'regular' ရွေးချယ်နိုင်သည်။ အရှိန်မြှင့်လုပ်ဆောင်ခြင်းသည် ထွက်ရလဒ် အနည်းငယ်သာပြောင်းလဲသည့်အတွက် အမြန်နှုန်း သိသိသာသာ တိုးတက်စေသည်။

video_quality မူလ high

ရရှိလာမည့် ဗီဒီယို၏ အရည်အသွေးအဆင့်။

video_write_mode မူလ balanced

ရရှိလာမည့် ဗီဒီယို၏ ရေးသားမှုမုဒ်။

မူလ 16

`match_input_frames_per_second` သည် true မဟုတ်သည့်အခါသာ အသုံးပြုသော ဖန်တီးဗီဒီယို၏ ဖရိမ်နှုန်း။ လက်ခံနိုင်သောတန်ဖိုးမှာ တစ်စက္ကန့်လျှင် ဖရိမ် 5–30 ဖြစ်သည်။

မူလ 30

နမူနာယူမှု အဆင့်အရေအတွက်။ အရေအတွက်မြင့်လာသည်နှင့်အမျှ လုပ်ဆောင်ချိန် ပိုကြာသော်လည်း အရည်အသွေး ပိုကောင်းလာသည်။

မူလ 5

classifier-free guidance ဖြင့် ထိန်းချုပ်ထားသော ပရောမ့်နှင့် ကိုက်ညီမှု strength။ scale တိုးလာပါက ဖန်တီးထားသော ပုံများသည် စာသားကို ပိုမိုလိုက်နာစေသည်။

မူလ 5

ဗီဒီယိုဖန်တီးချိန်တွင် အသုံးပြုသည့် Shift setting။

မူလ 0

ဗီဒီယိုဖရိမ် ကျော်သွားမှုအချိုး၊ ကိန်းပြည့်ဖြင့် ဖော်ပြသည်။ downsampling အချိုးတစ်ကြိမ်စီအတွက် အလိုအလျောက် upsampling ပြုလုပ်သည်။ ယာယီ downsampling ကို ပိတ်ထားရန် 0 အသုံးပြုပါ။

ဖန်တီးမှုကို ထပ်တူပြန်လည်ပြုလုပ်နိုင်စေသည့် seed။ None သတ်မှတ်ပါက seed ကို ကျပန်းရွေးချယ်သည်။

POST /run/editto?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/editto?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  }'

# 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 ကီး ရယူရန်

Editto အကြောင်း

`video_url` ဖြင့် ပေးထားသော ရှိပြီးသား ဗီဒီယိုကို စာသား `prompt` ဖြင့် လမ်းညွှန်ကာ တည်းဖြတ်ပေးသည်။ ထွက်ရလဒ်သည် ထည့်သွင်းဗီဒီယို၏ ဖရိမ်အရေအတွက်နှင့် ဖရိမ်နှုန်းကို လိုက်နာနိုင်သလို `num_frames` (17 မှ 241 အထိ) နှင့် `frames_per_second` (5 မှ 30 အထိ) ကိုလည်း အသုံးပြုနိုင်သည်။ ရုပ်ထွက်အရည်အသွေးမှာ 240p မှ 720p အထိ ဖြစ်ပြီး အချိုးအစား ကို auto, 16:9, 1:1 သို့မဟုတ် 9:16 ရွေးချယ်နိုင်သည်။ ဖရိမ်များ၏ ZIP ကိုလည်း ပြန်လည်ရရှိနိုင်သည်။

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

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

အမည်အမျိုးအစား မူလတန်ဖိုးခွင့်ပြုထားသည် ဖော်ပြချက်
promptလိုအပ်သည်
အမျိုးအစားstring
ဗီဒီယိုဖန်တီးမှုကို လမ်းညွှန်သည့် စာသားညွှန်ကြားချက်များ။
negative_promptရွေးချယ်နိုင်သည်
အမျိုးအစားstring
မူလတန်ဖိုးletterboxing, borders, black bars, bright colors, overexposed, static, blurred details, subtitles, style, artwork, painting, picture, still, overall gray, worst quality, low quality, JPEG compression residue, ugly, incomplete, extra fingers, poorly drawn hands, poorly drawn faces, deformed, disfigured, malformed limbs, fused fingers, still picture, cluttered background, three legs, many people in the background, walking backwards
ဗီဒီယိုဖန်တီးရာတွင် အသုံးပြုသည့် အနုတ်လက္ခဏာပရောမ့်။
match_input_num_framesရွေးချယ်နိုင်သည်
အမျိုးအစားboolean
မူလတန်ဖိုးfalse
ဖန်တီးထားသော ဗီဒီယို၏ ဖရိမ်အရေအတွက် အရင်းအမြစ်။ false သည် `num_frames` ကို အသုံးပြုပြီး true သည် ထည့်သွင်းဗီဒီယို၏ ဖရိမ်အရေအတွက်ကို ကူးယူသည်။
num_framesရွေးချယ်နိုင်သည်
အမျိုးအစားinteger
မူလတန်ဖိုး81
၁၇ – ၂၄၁
ထွက်ရလဒ် ဖရိမ်အရေအတွက်၊ 81–241 အပါအဝင် အကွာအဝေးရှိသည်။
match_input_frames_per_secondရွေးချယ်နိုင်သည်
အမျိုးအစားboolean
မူလတန်ဖိုးfalse
ဖန်တီးထားသော ဗီဒီယို၏ ဖရိမ်နှုန်း အရင်းအမြစ်။ false သည် `frames_per_second` ကို အသုံးပြုပြီး true သည် ထည့်သွင်းဗီဒီယို၏ ဖရိမ်နှုန်းကို ကူးယူသည်။
frames_per_secondရွေးချယ်နိုင်သည်
အမျိုးအစားinteger | null
မူလတန်ဖိုး16
၅ – ၃၀
`match_input_frames_per_second` သည် true မဟုတ်သည့်အခါသာ အသုံးပြုသော ဖန်တီးဗီဒီယို၏ ဖရိမ်နှုန်း။ လက်ခံနိုင်သောတန်ဖိုးမှာ တစ်စက္ကန့်လျှင် ဖရိမ် 5–30 ဖြစ်သည်။
seedရွေးချယ်နိုင်သည်
အမျိုးအစားinteger | null
ဖန်တီးမှုကို ထပ်တူပြန်လည်ပြုလုပ်နိုင်စေသည့် seed။ None သတ်မှတ်ပါက seed ကို ကျပန်းရွေးချယ်သည်။
resolutionရွေးချယ်နိုင်သည်
အမျိုးအစားenum
မူလတန်ဖိုးauto
auto240p360p480p580p720p
ထွက်ရလဒ်ဗီဒီယို၏ ရုပ်ထွက်အရည်အသွေး။
aspect_ratioရွေးချယ်နိုင်သည်
အမျိုးအစားenum
မူလတန်ဖိုးauto
auto16:91:19:16
ရလဒ်ဗီဒီယို၏ aspect ratio။
num_inference_stepsရွေးချယ်နိုင်သည်
အမျိုးအစားinteger
မူလတန်ဖိုး30
၂ – ၅၀
နမူနာယူမှု အဆင့်အရေအတွက်။ အရေအတွက်မြင့်လာသည်နှင့်အမျှ လုပ်ဆောင်ချိန် ပိုကြာသော်လည်း အရည်အသွေး ပိုကောင်းလာသည်။
guidance_scaleရွေးချယ်နိုင်သည်
အမျိုးအစားnumber
မူလတန်ဖိုး5
၁ – ၁၀
classifier-free guidance ဖြင့် ထိန်းချုပ်ထားသော ပရောမ့်နှင့် ကိုက်ညီမှု strength။ scale တိုးလာပါက ဖန်တီးထားသော ပုံများသည် စာသားကို ပိုမိုလိုက်နာစေသည်။
samplerရွေးချယ်နိုင်သည်
အမျိုးအစားenum
မူလတန်ဖိုးunipc
unipcdpm++euler
ဗီဒီယိုဖန်တီးချိန်တွင် အသုံးပြုသည့် Sampler။
shiftရွေးချယ်နိုင်သည်
အမျိုးအစားnumber
မူလတန်ဖိုး5
၁ – ၁၅
ဗီဒီယိုဖန်တီးချိန်တွင် အသုံးပြုသည့် Shift setting။
video_urlလိုအပ်သည် video
အမျိုးအစားurl · video
မူရင်းဗီဒီယိုဖိုင် URL။ inpainting ပြုလုပ်သည့်အခါ မဖြစ်မနေလိုအပ်သည်။
enable_safety_checkerရွေးချယ်နိုင်သည်
အမျိုးအစားboolean
မူလတန်ဖိုးfalse
ပိတ်ထားသော setting အတွက် အကောင့်အတည်ပြုချက် လိုအပ်သော ဘေးကင်းရေးစစ်ဆေးမှု switch ဖြစ်သည်။ ထိုအတည်ပြုချက်မရှိပါက setting မည်သို့ပင်ဖြစ်စေ တောင်းဆိုချက်တိုင်းကို စစ်ဆေးမည်။ true သည် စစ်ဆေးမှုကို ဖွင့်ပေးသည်။
accelerationရွေးချယ်နိုင်သည်
အမျိုးအစားenum
မူလတန်ဖိုးregular
nonelowregular
Inference အရှိန်မြှင့်ခြင်း setting။ 'none' သို့မဟုတ် 'regular' ရွေးချယ်နိုင်သည်။ အရှိန်မြှင့်လုပ်ဆောင်ခြင်းသည် ထွက်ရလဒ် အနည်းငယ်သာပြောင်းလဲသည့်အတွက် အမြန်နှုန်း သိသိသာသာ တိုးတက်စေသည်။
video_qualityရွေးချယ်နိုင်သည်
အမျိုးအစားenum
မူလတန်ဖိုးhigh
lowmediumhighmaximum
ရရှိလာမည့် ဗီဒီယို၏ အရည်အသွေးအဆင့်။
video_write_modeရွေးချယ်နိုင်သည်
အမျိုးအစားenum
မူလတန်ဖိုးbalanced
fastbalancedsmall
ရရှိလာမည့် ဗီဒီယို၏ ရေးသားမှုမုဒ်။
num_interpolated_framesရွေးချယ်နိုင်သည်
အမျိုးအစားinteger
မူလတန်ဖိုး0
၀ – ၅
Interpolation အရေအတွက်။ 0 သည် မူရင်းဖရိမ်များကို interpolation မပြုလုပ်ဘဲ ထားပြီး အခြားတန်ဖိုးများသည် ဖရိမ်များအကြား ဖန်တီးမည့် အလယ်ဖရိမ်အရေအတွက်ကို သတ်မှတ်သည်။
temporal_downsample_factorရွေးချယ်နိုင်သည်
အမျိုးအစားinteger
မူလတန်ဖိုး0
၀ – ၅
ဗီဒီယိုဖရိမ် ကျော်သွားမှုအချိုး၊ ကိန်းပြည့်ဖြင့် ဖော်ပြသည်။ downsampling အချိုးတစ်ကြိမ်စီအတွက် အလိုအလျောက် upsampling ပြုလုပ်သည်။ ယာယီ downsampling ကို ပိတ်ထားရန် 0 အသုံးပြုပါ။
enable_auto_downsampleရွေးချယ်နိုင်သည်
အမျိုးအစားboolean
မူလတန်ဖိုးfalse
အလိုအလျောက် ဖရိမ်အရေအတွက် လိုက်လျောညီထွေပြောင်းလဲခြင်း။ ဖွင့်ထားပါက မော်ဒယ်သည် သင့်လျော်သောကြာချိန်ရှိ ယာယီ downsample ပြုလုပ်ထားသော ဗီဒီယိုကို လုပ်ဆောင်ပြီး နောက်ပိုင်း interpolation ဖြင့် မူရင်းဖရိမ်အရေအတွက်ကို ပြန်လည်ရရှိစေသည်။
return_frames_zipရွေးချယ်နိုင်သည်
အမျိုးအစားboolean
မူလတန်ဖိုးfalse
ဖန်တီးထားသော ဖရိမ်အားလုံးပါဝင်သည့် ZIP archive ကိုလည်း ပြန်ပေးမည်၊ မပြန်ပေးမည်ကို ထိန်းချုပ်သည်။ true ဖြစ်သည့်အခါ ဖွင့်ထားသည်။
လိုအပ်သည် စံအမည်၊ ထို့အပြင် လက်ခံသည်

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

ထွက်ရလဒ်

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "editto",
  "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": 405,
    "usd": "0.405",
    "charged": 405,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "video_url": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  },
  "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
    },
    "prompt": "Make it a Pixel Art video.",
    "seed": 42,
    "frames_zip": {
      "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
    }
  },
  "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://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 များ
video
object {url, content_type, file_name, file_size, width, height, fps, duration, num_frames}ပုံမှ ဖန်တီးထားသော ဗီဒီယိုဖိုင်။
prompt
stringထွက်ရလဒ်ဖန်တီးရန် အသုံးပြုခဲ့သော ပရောမ့်။
seed
integerဖန်တီးမှုအတွင်း အသုံးပြုသည့် seed တန်ဖိုး။
frames_zip
object {url, content_type, file_name, file_size} | nullတောင်းဆိုသည့်အခါ ပြန်ပေးသော ဗီဒီယိုဖရိမ်အားလုံးပါဝင်သည့် ZIP archive။

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