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

Heygen · Avatar4 · Image to Video

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

မော်ဒယ် id heygen/avatar4/image-to-video
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/heygen/avatar4/image-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "https://content.doitong.com/images/showcase/v3/avatar/talking_avatar.jpg",
    "audio": "https://content.doitong.com/audio/showcase/v3/tools/dub_es.mp3"
  }'

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

နမူနာကဲ့သို့ ဖိုင်များ: ၁.၀၀ $ ၁,၀၀၀ API ခရက်ဒစ် · ≈ ၁၀၇.၃၁ ₽ လုပ်ဆောင်မီ သင့်ဖိုင်များကို တိုင်းတာသည် ဤစာမျက်နှာတွင် လုပ်ဆောင်ရန်

API ကီး ရယူရန်
HeyGen Lipsync နှင့် Avatars Lipsync1080p အထိ #image-to-video

မျက်နှာရှင်းလင်းသော ဓာတ်ပုံတစ်ပုံကို တည်ငြိမ်သော သို့မဟုတ် ဖော်ပြမှုအားကောင်းသော စကားပြောစတိုင်များဖြင့် စကားပြောသည့် အေးဂျင့်ဗီဒီယိုအဖြစ် လှုပ်ရှားစေသည်

HeyGen · ဗီဒီယို

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

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

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

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

အဗတာ ပြောမည့် စာသား။

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

ပုံ URL ဖြင့် ပေးထားသော ကာတွန်းလှုပ်ရှားမှုရင်းမြစ်။ မျက်နှာကို ရှင်းလင်းစွာ မြင်ရသော ပုံကို ရွေးပါ။

audio_url
ဖိုင်ကို ဆွဲချပါ၊ သို့မဟုတ်

ဖိုင် URL ဖြင့် ပေးထားသော နှုတ်ခမ်းတစ်ပြိုင်တည်းလှုပ်ရှားမှု အသံ။ ရှိပါက ပရောမ့်နှင့် အသံနှစ်ခုလုံးထက် ဦးစားပေးသည်။

resolution မူလ 720p

ဗီဒီယိုအတွက် ရုပ်ထွက်အရည်အသွေး ကြိုတင်သတ်မှတ်ချက်: 360p၊ 480p၊ 540p၊ 720p သို့မဟုတ် 1080p။

aspect_ratio မူလ 16:9

ဗီဒီယိုအချိုးအစား ရွေးချယ်မှု: 'auto' သည် ရင်းမြစ်အချိုးအစားကို ဖတ်၍ ထိန်းသိမ်းရန် HeyGen ကို တောင်းဆိုသည်။ မဖတ်နိုင်ပါက '16:9' ကို အသုံးပြုသည်။ အတိအကျရွေးချယ်နိုင်သော အချိုးများမှာ '16:9'၊ '9:16'၊ '4:5'၊ '5:4' နှင့် '1:1' တို့ ဖြစ်သည်။

အဆင့်မြင့် talking_style · voice · expression · caption · enable_safety_checker · background
talking_style မူလ stable

စကားပြောကာတွန်းလှုပ်ရှားမှုပုံစံ: 'stable' သည် လှုပ်ရှားမှုကို အနည်းဆုံးထားပြီး 'expressive' သည် ပိုမိုသော ကာတွန်းလှုပ်ရှားမှုကို ထည့်သွင်းသည်။

အဗတာ၏ အသံကို ရွေးချယ်ရန် အသုံးပြုသော အသံအမည်။

မျက်နှာပေါ်တွင် ပြသမည့် အမူအရာ။

နောက်ခံအတွက် ဆက်တင်များ။

POST /run/heygen/avatar4/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://api.doitong.ru/v1/run/heygen/avatar4/image-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "https://content.doitong.com/images/showcase/v3/avatar/talking_avatar.jpg",
    "audio": "https://content.doitong.com/audio/showcase/v3/tools/dub_es.mp3"
  }'

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

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

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

Heygen · Avatar4 · Image to Video အကြောင်း

ရှင်းလင်းသော မျက်နှာပါသည့် ပုံတစ်ပုံကို စကားပြောနေသော ကိုယ်ပွားရုပ်ပုံ ဗီဒီယိုအဖြစ် ပြောင်းပေးသည်။ ပြောရမည့်စာသားပါ `prompt` နှင့် `voice` အမည်ကို ထည့်ပေးပါ၊ သို့မဟုတ် နှစ်ခုလုံးကို အစားထိုးမည့် `audio_url` ကို ထည့်ပေးပါ။ `talking_style` သည် stable (လှုပ်ရှားမှုအနည်းဆုံး) နှင့် expressive အကြား ပြောင်းပေးသည်။ ဖော်ပြချက်၊ နောက်ခံ၊ ရွေးချယ်နိုင်သော ဖော်ပြစာများနှင့် 360p မှ 1080p အထိ ရုပ်ထွက်အရည်အသွေးကိုလည်း သတ်မှတ်နိုင်သည်။

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

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

အမည်အမျိုးအစား မူလတန်ဖိုးခွင့်ပြုထားသည် ဖော်ပြချက်
image_urlလိုအပ်သည် image
အမျိုးအစားurl · image
ပုံ URL ဖြင့် ပေးထားသော ကာတွန်းလှုပ်ရှားမှုရင်းမြစ်။ မျက်နှာကို ရှင်းလင်းစွာ မြင်ရသော ပုံကို ရွေးပါ။
promptရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
အဗတာ ပြောမည့် စာသား။
voiceရွေးချယ်နိုင်သည်
အမျိုးအစားenum
Warm Pro NarratorChill BrianIvyJohn DoeMonika SogamHope Archer BrittneyPatrickDavid CastlemoreMichael CAdam Stone JuniperCassidy Jessica Anne BogartArabella
+86 ခု ထပ်မံAndrewSpuds Oxley Grace ElderHelenCanyon RiversDerya - Lifelike - Excited 🤩Mellow MarcusJack Sterling - Broadcaster 🎙️Brenda - UGC - 1.mp4ReidReaganTerryJennyRadio RickDeniseTim in car - Excited 🤩IskanderThompsonDelicate Daisy - Excited 🤩KingstonGeorge UGC 1Bold BlakeJaneExpressive EvanMarianne - IAAaronModern Recipe Host - Voice 1WillowCute Chloe - Friendly 😊RafaelJune - LifelikeCrisp ChloeSlick SimonNassim - InformativeBaritone BenMaxwellEllie Faye - Excited 🤩MilaniFeisty Fiona - Excited 🤩Professor DeanRose - UGC - 1.mp4ShonaHudson WilderAnn - IAAlastair KensingtonOxleyChristinaAndrew Rizz PeytonGerardo - OutdoorChloe - LifelikeStephanieAnthony - IASignal - Voice 1LucaLisa - Voice 1T.W.TuckerJack Sullivan - Serious 😐WinterMireia - LifelikeGeorgiaStellaMasha - LifelikeCharming Charles - Friendly 😊SerenityAnnie - ExcitedRalphBethanyDominicMason FinnLeenaVeteran VictorTamaraNik PublicCalm ChloeSevikReillyRaulImposing IanRelaxed RayDexter - ProfessionalRelaxed RickEdwinRupert BlackwoodGinnyHope
အဗတာ၏ အသံကို ရွေးချယ်ရန် အသုံးပြုသော အသံအမည်။
audio_urlရွေးချယ်နိုင်သည် audio
အမျိုးအစားurl · audio
ဖိုင် URL ဖြင့် ပေးထားသော နှုတ်ခမ်းတစ်ပြိုင်တည်းလှုပ်ရှားမှု အသံ။ ရှိပါက ပရောမ့်နှင့် အသံနှစ်ခုလုံးထက် ဦးစားပေးသည်။
talking_styleရွေးချယ်နိုင်သည်
အမျိုးအစားenum
မူလတန်ဖိုးstable
stableexpressive
စကားပြောကာတွန်းလှုပ်ရှားမှုပုံစံ: 'stable' သည် လှုပ်ရှားမှုကို အနည်းဆုံးထားပြီး 'expressive' သည် ပိုမိုသော ကာတွန်းလှုပ်ရှားမှုကို ထည့်သွင်းသည်။
expressionရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
မျက်နှာပေါ်တွင် ပြသမည့် အမူအရာ။
backgroundရွေးချယ်နိုင်သည်
အမျိုးအစားobject
နောက်ခံအတွက် ဆက်တင်များ။
background.typeရွေးချယ်နိုင်သည်
အမျိုးအစားenum
မူလတန်ဖိုးcolor
colorimagevideo
နောက်ခံအမျိုးအစား ရွေးချယ်မှု။
background.valueရွေးချယ်နိုင်သည်
အမျိုးအစားstring
မူလတန်ဖိုး#FFFFFF
နောက်ခံအကြောင်းအရာ: အမျိုးအစားမှာ 'color' ဖြစ်ပါက hexadecimal အရောင်၊ 'image' သို့မဟုတ် 'video' ဖြစ်ပါက URL ဖြစ်သည်။
resolutionရွေးချယ်နိုင်သည်
အမျိုးအစားenum
မူလတန်ဖိုး720p
360p480p540p720p1080p
ဗီဒီယိုအတွက် ရုပ်ထွက်အရည်အသွေး ကြိုတင်သတ်မှတ်ချက်: 360p၊ 480p၊ 540p၊ 720p သို့မဟုတ် 1080p။
aspect_ratioရွေးချယ်နိုင်သည်
အမျိုးအစားenum
မူလတန်ဖိုး16:9
16:99:164:55:41:1auto
ဗီဒီယိုအချိုးအစား ရွေးချယ်မှု: 'auto' သည် ရင်းမြစ်အချိုးအစားကို ဖတ်၍ ထိန်းသိမ်းရန် HeyGen ကို တောင်းဆိုသည်။ မဖတ်နိုင်ပါက '16:9' ကို အသုံးပြုသည်။ အတိအကျရွေးချယ်နိုင်သော အချိုးများမှာ '16:9'၊ '9:16'၊ '4:5'၊ '5:4' နှင့် '1:1' တို့ ဖြစ်သည်။
captionရွေးချယ်နိုင်သည်
အမျိုးအစားboolean
မူလတန်ဖိုးfalse
ဗီဒီယိုတွင် စာတန်းများ ပါဝင်မည်၊ မည်မဟုတ်ကို ထိန်းချုပ်သည်။
enable_safety_checkerရွေးချယ်နိုင်သည်
အမျိုးအစားboolean
မူလတန်ဖိုးtrue
caller က ခွင့်ပြုချက်ရှိပါက false သတ်မှတ်ခြင်းဖြင့် စစ်ဆေးမှုကို လျှော့ချနိုင်သည်။
လိုအပ်သည် စံအမည်၊ ထို့အပြင် လက်ခံသည်

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

ထွက်ရလဒ်

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "heygen/avatar4/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": 1000,
    "usd": "1.00",
    "charged": 1000,
    "refunded": 0
  },
  "input": {
    "image_url": "https://content.doitong.com/images/showcase/v3/avatar/talking_avatar.jpg",
    "audio_url": "https://content.doitong.com/audio/showcase/v3/tools/dub_es.mp3"
  },
  "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
    }
  },
  "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.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/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}ရရှိလာသော ဗီဒီယိုဖိုင်။

နောက်ထပ် မော်ဒယ်များ: Lipsync နှင့် Avatars

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