Peke ki ngā ihirangi

Bytedance Omnihuman V2

Whakauru

id tauira bytedance/omnihuman/v2
# 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/bytedance/omnihuman/v2?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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Ngā kōnae pēnei i te tauira: $ 1.05 1,050 whiwhinga API ka inea ō kōnae i mua i te whakahaere Whakahaerehia ki tēnei whārangi

Tikina he kī API
ByteDance Tukutahi Ngutu me ngā Avatar Tukutahi Ngutu #image-to-video#lipsync

Ka whakahaere a OmniHuman 2 i te ororongo roa ake, 4 ki te 300 hēkona, me te tohutohu whakaaturanga reo-maha hei kōwhiringa

ByteDance · 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.

He mana pūmau mō te whakaaturanga, te nekehanga me te kāmera mā tētahi tohutohu kuputuhi kōwhiringa, kua tuhia ki tētahi reo tautokona: Indonesian, Spanish (Mexican), Korean, Japanese, English, rānei Chinese.

•e hiahiatia ana image_url
Whakataka he kōnae,

URL e tohu ana ki te atahanga hei whakaputa i te ataata. Me noho ngā inenga e rua o te atahanga i waenga i te 300–6000 pika, ā, me noho te ōwehenga whānui/teitei i waenga i te 0.4–2.5. Ko te tepe mō ngā kōnae ko te 30 MB, ā, me whakamahi jpeg, png, webp, bmp, tiff, gif, heic, heif rānei.

•e hiahiatia ana audio_url
Whakataka he kōnae,

Tukua te ororongo pūtake o te ataata mā te URL e tohu ana ki tētahi kōnae 4–300 hēkona te roa. Me wav, mp3 rānei te kōnae, ā, kaua e nui ake i te 15 MB.

POST /run/bytedance/omnihuman/v2?wait=20 utu → $ 1.05
# 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/bytedance/omnihuman/v2?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.com/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ō Bytedance Omnihuman V2

Ka huri i tētahi atahanga tangata me tētahi kōnae oro hei ataata kōrero. Me wav, mp3 rānei te oro, tae atu ki te 15 MB, i waenga i te 4 me te 300 hēkona. Ka taea te atahanga kia 30 MB, me ngā taha mai i te 300 ki te 6000 pika. Mā tētahi `prompt` hei kōwhiringa e ārahi te whakaaturanga, ngā nekehanga me te kāmera i ngā reo e tautokona ana.

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
promptkōwhiringa
Momostring | null
He mana pūmau mō te whakaaturanga, te nekehanga me te kāmera mā tētahi tohutohu kuputuhi kōwhiringa, kua tuhia ki tētahi reo tautokona: Indonesian, Spanish (Mexican), Korean, Japanese, English, rānei Chinese.
image_urle hiahiatia ana image
Momourl · image
URL e tohu ana ki te atahanga hei whakaputa i te ataata. Me noho ngā inenga e rua o te atahanga i waenga i te 300–6000 pika, ā, me noho te ōwehenga whānui/teitei i waenga i te 0.4–2.5. Ko te tepe mō ngā kōnae ko te 30 MB, ā, me whakamahi jpeg, png, webp, bmp, tiff, gif, heic, heif rānei.
audio_urle hiahiatia ana audio
Momourl · audio
Tukua te ororongo pūtake o te ataata mā te URL e tohu ana ki tētahi kōnae 4–300 hēkona te roa. Me wav, mp3 rānei te kōnae, ā, kaua e nui ake i te 15 MB.
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": "bytedance/omnihuman/v2",
  "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": 1050,
    "usd": "1.05",
    "charged": 1050,
    "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
    },
    "duration": 5
  },
  "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"
  }
}
Ō 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.
duration
number

Ē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/bytedance/omnihuman/v2.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt