Peke ki ngā ihirangi

Heygen · Avatar4 · Image to Video

Whakauru

id tauira 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"

Ngā kōnae pēnei i te tauira: $ 1.00 1,000 whiwhinga API · ≈ ₽ 107.58 ka inea ō kōnae i mua i te whakahaere Whakahaerehia ki tēnei whārangi

Tikina he kī API
HeyGen Tukutahi Ngutu me ngā Avatar Tukutahi Ngututae atu ki 1080p #image-to-video

Ka whakakorikori i tētahi whakaahua kanohi kotahi hei kiritata kōrero, me ngā kāhua kōrero pūmau, whakapuaki rānei

HeyGen · Ataata

Kei konei tō hua tuatahi

Hangaia he tono ki raro nei, ka whakahaere mā tō kī API. Ka tāruatia ngā putanga ki tō mātou rokiroki, ka puritia mō ake tonu atu, mō rānei 7 rā mō te kore utu.

Hangaia he tono

Ka hangaia ngā mana whakahaere mai i te aronuinga o te tauira. Ka whakahoungia te waehere me te utu ina whakarerekē koe.

Kupu hei kōrero mā te avatar.

•e hiahiatia ana image_url
Whakataka he kōnae,

Pūtake hākoritanga kua tukuna hei URL atahanga; kōwhiria he atahanga e tino kitea ana te kanohi.

audio_url
Whakataka he kōnae,

Ororongo tukutahi-ngutu kua tukuna mā te URL kōnae, ka whai mana i runga ake i te tohutohu me te reo ina wātea.

resolution taunoa 720p

Tatūkē taumira mō te ataata: 360p, 480p, 540p, 720p, 1080p rānei.

aspect_ratio taunoa 16:9

Kōwhiringa āwehenga āhuatanga ataata: mā te 'auto' ka tono ki a HeyGen kia pānui, kia pupuri hoki i te ōwehenga pūtake, ka whakamahi i te '16:9' ki te kore e taea. Ko ngā kōwhiringa ōwehenga tōtika ko '16:9', '9:16', '4:5', '5:4', me '1:1'.

Arā atu talking_style · voice · expression · caption · enable_safety_checker · background
talking_style taunoa stable

Kāhua hākoritanga kōrero: mā te 'stable' ka iti noa te nekeneke, mā te 'expressive' ka nui ake te hākoritanga.

Ingoa reo hei kōwhiri i te reo o te avatar.

Te āhua o te kanohi.

Ngā tautuhinga mō te papamuri.

POST /run/heygen/avatar4/image-to-video?wait=20 utu → $ 1.00
# 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"

Whakahaerehia tēnei tono

Ka noho tō kī ki tēnei pūtirotiro: ka tukuna ki te Doitong API anake, ā, ka tiakina ki te localStorage anake ina tohua e koe te Mahara. Tikina he kī API

Mō Heygen · Avatar4 · Image to Video

Ka huri i tētahi atahanga kanohi mārama hei ataata kiritata kōrero. Hoatu he `prompt` me te kuputuhi hei kōrero me te ingoa `voice`, tukuna rānei `audio_url`, ka whakakapi i ēnei e rua. Ka whakawhiti a `talking_style` i waenga i stable (he iti te nekehanga) me expressive. Ka taea hoki te tautuhi i te whakapuakitanga, te papamuri, ngā tapanga kōwhiringa, me te taumira mai i te 360p ki te 1080p.

Ngā tawhā

Tukuna te ingoa tōmua, te ingoa taketake rānei, kaua e rua. Ngā ingoa tōmua

IngoaMomo TaunoaE whakaaetia ana Whakamārama
image_urle hiahiatia ana image
Momourl · image
Pūtake hākoritanga kua tukuna hei URL atahanga; kōwhiria he atahanga e tino kitea ana te kanohi.
promptkōwhiringa
Momostring | null
Kupu hei kōrero mā te avatar.
voicekōwhiringa
Momoenum
Warm Pro NarratorChill BrianIvyJohn DoeMonika SogamHope Archer BrittneyPatrickDavid CastlemoreMichael CAdam Stone JuniperCassidy Jessica Anne BogartArabella
+86 anō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
Ingoa reo hei kōwhiri i te reo o te avatar.
audio_urlkōwhiringa audio
Momourl · audio
Ororongo tukutahi-ngutu kua tukuna mā te URL kōnae, ka whai mana i runga ake i te tohutohu me te reo ina wātea.
talking_stylekōwhiringa
Momoenum
Taunoastable
stableexpressive
Kāhua hākoritanga kōrero: mā te 'stable' ka iti noa te nekeneke, mā te 'expressive' ka nui ake te hākoritanga.
expressionkōwhiringa
Momostring | null
Te āhua o te kanohi.
backgroundkōwhiringa
Momoobject
Ngā tautuhinga mō te papamuri.
background.typekōwhiringa
Momoenum
Taunoacolor
colorimagevideo
Kōwhiringa momo papamuri.
background.valuekōwhiringa
Momostring
Taunoa#FFFFFF
Ihirangi papamuri: he tae hautekatekau ina ko te momo 'color', he URL rānei ina ko te momo 'image' 'video' rānei.
resolutionkōwhiringa
Momoenum
Taunoa720p
360p480p540p720p1080p
Tatūkē taumira mō te ataata: 360p, 480p, 540p, 720p, 1080p rānei.
aspect_ratiokōwhiringa
Momoenum
Taunoa16:9
16:99:164:55:41:1auto
Kōwhiringa āwehenga āhuatanga ataata: mā te 'auto' ka tono ki a HeyGen kia pānui, kia pupuri hoki i te ōwehenga pūtake, ka whakamahi i te '16:9' ki te kore e taea. Ko ngā kōwhiringa ōwehenga tōtika ko '16:9', '9:16', '4:5', '5:4', me '1:1'.
captionkōwhiringa
Momoboolean
Taunoafalse
Ka whakahaere mēnā ka whai tapanga te ataata.
enable_safety_checkerkōwhiringa
Momoboolean
Taunoatrue
Ka taea te whakangāwari i te tātari mā te tautuhi false, mēnā he mana tō te kaiwhakatuwhera.
e hiahiatia ana Ingoa tōmua, e whakaaetia ana hoki

Mō ngā tawhā kōnae, whakamahia he URL tūmatanui https://, he URI data: tae atu ki te 10 MB, he file_url rānei o tētahi tukuake. Ngā kōnae

Putanga

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"
  }
}
Ō kōnae, māu e whiriwhiriKo ia url o outputs[] he tārua kei tō mātou rokiroki: ka puritia mō ake tonu atu (ka utua ia GB-marama) mō rānei 7 rā mō te kore utu, e ai ki ngā tautuhinga o tō pūkete, ki te ?storage= rānei.
He ōrite te hanga ki ia tauiratype, url, content_type, width, height me duration, mō ngā pikitia, ataata me te oro. Ko output te ahanoa hua ake o te tauira.
Ngā āpure o te putanga
video
object {url, content_type, file_name, file_size}Te kōnae ataata ka puta.

Ētahi atu tauira: Tukutahi Ngutu me ngā Avatar

Mō ngā āpiha AI: kei te wātea tēnei whārangi hei Markdown ki https://doitong.com/mi/developers/models/heygen/avatar4/image-to-video.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt