Peke ki ngā ihirangi

Mirage Avatar X

Whakauru

id tauira mirage-api/avatar-x/reference-to-video
# 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/mirage-api/avatar-x/reference-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "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: $ 3.00 3,000 whiwhinga API ka inea ō kōnae i mua i te whakahaere Whakahaerehia ki tēnei whārangi

Tikina he kī API
Mirage Tukutahi Ngutu me ngā Avatar Ngā tāuru tohutoroTukutahi Ngutu #avatar#lipsync#talking-head

Ataata kirihata kōrero kiritata X, e arahina ana e tō ororongo me tētahi tohutoro kiritata, atahanga, ataata rānei

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

•e hiahiatia ana audio_url
Whakataka he kōnae,

Wāhitau HTTPS tūmatanui mō te ororongo e akiaki ana i te ataata kua whakaputaina, ka taea te uru atu me te kore pane whakamana, pihikete rānei. Ko ngā hōputu ororongo e whakaaetia ana ko FLAC, Opus, Vorbis, AAC, ALAC, PCM WAV, AIFF, me MP3. Me whai te kōnae i tētahi awa mono, stereo rānei, kia 3–180 hēkona te roa, kaua e neke atu i te 64 MiB, ā, ko te au tauira 8–48 kHz.

Arā atu video_reference_url · avatar · image_reference_url

URL HTTPS ataata-tohutoro, ka taea te uru tūmatanui me te kore pane whakamana, pihikete rānei, mō tētahi kōnae kotahi tonu te awa ataata, ā, kotahi neke atu rānei te wāhanga 1-hēkona e tika ana hei tohutoro; ka waiho te ororongo. Ko ngā kōnae e whakaaetia ana ko .mp4, .mov, .m4v rānei me H.264, H.265/HEVC, ProRes rānei, ko .webm rānei me VP8, VP9 rānei; me 1 ki te 120 hēkona te roa, kaua e neke atu i te 1 GiB, ā, me noho te ōwehenga āhuatanga whakaatu i roto i te 5% o 9:16, 16:9 rānei. Mēnā ka tukuna anō a image_reference_url, ko te ataata te mea matua.

Kōwhiringa tirohanga stock ka whakamahia ina kāore he tohutoro atahanga, ataata rānei; mā None me te taunoa e waiho kia kaua e tautuhia. Kāore te ororongo e tukuna e tēnei tirohanga, ā, ka ahu tonu mai i audio_url. Hei kōwhiri tirohanga, tirohia ngā kōwhiringa i te [avatar catalog](https://captions.ai/help/docs/api/actor-catalog), ka tārua i tōna uara Avatar pū.

URL HTTPS atahanga-tohutoro, e wātea tūmatanui ana me te kore pihikete, pane whakamana rānei; mā te tuku i video_reference_url ka waiho tēnei. Ka whakaaetia he atahanga pateko kotahi i te hōputu .jpg, .jpeg, .png, .webp rānei, kaua e neke atu i te 25 MiB me te 25 mekapika. Me 512 px neke atu te tapa poto, kaua hoki tētahi tapa e neke atu i te 8192 px; me noho te ōwehenga āhuatanga i roto i te 5% o 9:16, 16:9 rānei.

POST /run/mirage-api/avatar-x/reference-to-video?wait=20 utu → $ 3.00
# 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/mirage-api/avatar-x/reference-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "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ō Mirage Avatar X

Ka hanga i tētahi ataata kiritata tukutahi ngutu mai i `audio_url` (3 ki te 180 hēkona). Ka ahu mai te āhua i `video_reference_url`, i `image_reference_url`, i tētahi `avatar` kua rite kē rānei; ki te tukuna ngā tohutoro e rua, ka whakamahia te tohutoro ataata, kaua te atahanga. Ko te kōwhiringa kiritata he whakarato āhua anake, ehara i te ororongo. Me āhei te tiki tūmatanui i ngā URL tohutoro mā HTTPS.

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
audio_urle hiahiatia ana audio
Momourl · audio
Wāhitau HTTPS tūmatanui mō te ororongo e akiaki ana i te ataata kua whakaputaina, ka taea te uru atu me te kore pane whakamana, pihikete rānei. Ko ngā hōputu ororongo e whakaaetia ana ko FLAC, Opus, Vorbis, AAC, ALAC, PCM WAV, AIFF, me MP3. Me whai te kōnae i tētahi awa mono, stereo rānei, kia 3–180 hēkona te roa, kaua e neke atu i te 64 MiB, ā, ko te au tauira 8–48 kHz.
video_reference_urlkōwhiringa
Momostring | null
URL HTTPS ataata-tohutoro, ka taea te uru tūmatanui me te kore pane whakamana, pihikete rānei, mō tētahi kōnae kotahi tonu te awa ataata, ā, kotahi neke atu rānei te wāhanga 1-hēkona e tika ana hei tohutoro; ka waiho te ororongo. Ko ngā kōnae e whakaaetia ana ko .mp4, .mov, .m4v rānei me H.264, H.265/HEVC, ProRes rānei, ko .webm rānei me VP8, VP9 rānei; me 1 ki te 120 hēkona te roa, kaua e neke atu i te 1 GiB, ā, me noho te ōwehenga āhuatanga whakaatu i roto i te 5% o 9:16, 16:9 rānei. Mēnā ka tukuna anō a image_reference_url, ko te ataata te mea matua.
avatarkōwhiringa
Momoenum
NoneAyeshaAyesha (16:9)FarhanFarhan (16:9)GiuliaGiulia (16:9)JasmineJasmine (16:9)LukeLuke (16:9)MayaMaya (16:9)MichaelMichael (16:9)Neha
+5 anōNeha (16:9)TariqTariq (16:9)ValerieValerie (16:9)
Kōwhiringa tirohanga stock ka whakamahia ina kāore he tohutoro atahanga, ataata rānei; mā None me te taunoa e waiho kia kaua e tautuhia. Kāore te ororongo e tukuna e tēnei tirohanga, ā, ka ahu tonu mai i audio_url. Hei kōwhiri tirohanga, tirohia ngā kōwhiringa i te [avatar catalog](https://captions.ai/help/docs/api/actor-catalog), ka tārua i tōna uara Avatar pū.
image_reference_urlkōwhiringa
Momostring | null
URL HTTPS atahanga-tohutoro, e wātea tūmatanui ana me te kore pihikete, pane whakamana rānei; mā te tuku i video_reference_url ka waiho tēnei. Ka whakaaetia he atahanga pateko kotahi i te hōputu .jpg, .jpeg, .png, .webp rānei, kaua e neke atu i te 25 MiB me te 25 mekapika. Me 512 px neke atu te tapa poto, kaua hoki tētahi tapa e neke atu i te 8192 px; me noho te ōwehenga āhuatanga i roto i te 5% o 9:16, 16:9 rānei.
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": "mirage-api/avatar-x/reference-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": 3000,
    "usd": "3.00",
    "charged": 3000,
    "refunded": 0
  },
  "input": {
    "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.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}

Ē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/mirage-api/avatar-x/reference-to-video.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt