Dža ko lil

Mirage Avatar X

Integriruj

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

Fajlo sar o misalo: $3.00 3,000 API krediti tire fajlo si merime angl-o phiripen Phir les kate

Lel API klidin
Mirage Lipsync thaj Avatarura Referencaki inputuraLipsync #avatar#talking-head

Avataro X vakerindosko video upral tiro audio thaj jekh kipo, video vaj stock avataro referenca

Mirage · Video

Tiro prvo rezultato si kate

Ker tele jekh mangipen thaj phir les tire API klidinosa. E rezultatur si kopirime amare arakhipneste, vično vaj 7 dives bilačhes.

Ker jekh mangipen

O kontrolura kerde si katar e schemaske. O kodo thaj e cena menjinen sar tu len menjines.

•trubul audio_url
Čhiv jekh fajl, vaj

Publikano HTTPS-adresa vaš audio savo vodi e kerde videos; trubul te šaj te avol dikhlo bi autorizacijakere headerengo vaj cookies. Prihatime audio-formatura si FLAC, Opus vaj Vorbis, AAC vaj ALAC, PCM WAV vaj AIFF, thaj MP3. O fajlo trubul te inkerel jekh mono vaj stereo stream, te ačhel 3–180 sekunda, te na phirel 64 MiB, thaj te avel sample-rate 8–48 kHz.

Lučhe video_reference_url · avatar · image_reference_url

Referencakoro HTTPS-URL e videosko, publikane dikhlo bi autorizacijakere headerengo vaj cookies, vaš fajlo savo inkerel eksakto jekh video-stream thaj najmene jekh lačho 1-sekundako segment. O audio ignoririnelpes. Prihatime fajlura si .mp4, .mov vaj .m4v e H.264, H.265/HEVC vaj ProRes, vaj .webm e VP8 vaj VP9; duracija trubul te avel 1 dži 120 sekunda, size na buter 1 GiB, thaj display-aspektosko ratio trubul te avel andro 5% e 9:16 vaj 16:9. Te si dićhlo image_reference_url, o video lel prioritetos.

Stock-visualoski selekcija, labarime numa kana naj dićhlo kipesko vaj videosko referenca; None thaj standardno mukhen les bi setosko. O audio na delpes kadala visualosa, thaj mindig avel katar audio_url. Te alos visualos, dik preview e opcijenge andro [avatar catalog](https://captions.ai/help/docs/api/actor-catalog) thaj kopirin eksakto Avatar-vrednost.

Referencakoro kipesko HTTPS-URL, publikane dikhlo bi cookies vaj autorizacijakere headerengo; video_reference_url kerel les ignoririme. Acceptinel jekh statico kipo andro .jpg, .jpeg, .png vaj .webp, limitirime 25 MiB thaj 25 megapiksel. O cikneder rando trubul te avel najmene 512 px thaj khonik rando na buter 8192 px; aspektosko ratio trubul te avel andro 5% e 9:16 vaj 16:9.

POST /run/mirage-api/avatar-x/reference-to-video?wait=20 hesab → $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"

Phandel kava mangipen

Tiro kluč ačhel kadale browsereste: bičhalel pes numa ko Doitong API thaj šuvav pes (localStorage) numa te tiknes Remember. Le jekh API ključ

Palal Mirage Avatar X

Kerel lip-sync avatar video andar `audio_url` (3 dži 180 sekundura). O vizualos avel andar `video_reference_url`, `image_reference_url`, vaj stock `avatar`; o video-reference lel prioritetos upral o imajin kana duj si dino. Avatar-opcija del numa vizualura, na audio. Referencijake URL trubun te aven javne dostupne preko HTTPS.

Parametra

Bičhalav vaj e kanonikano nav vaj e native nav, na duj. Kanonikane nava

NavTip standardnoMuklo Vakeripe
audio_urltrubul audio
Tipurl · audio
Publikano HTTPS-adresa vaš audio savo vodi e kerde videos; trubul te šaj te avol dikhlo bi autorizacijakere headerengo vaj cookies. Prihatime audio-formatura si FLAC, Opus vaj Vorbis, AAC vaj ALAC, PCM WAV vaj AIFF, thaj MP3. O fajlo trubul te inkerel jekh mono vaj stereo stream, te ačhel 3–180 sekunda, te na phirel 64 MiB, thaj te avel sample-rate 8–48 kHz.
video_reference_urlopcionalno
Tipstring | null
Referencakoro HTTPS-URL e videosko, publikane dikhlo bi autorizacijakere headerengo vaj cookies, vaš fajlo savo inkerel eksakto jekh video-stream thaj najmene jekh lačho 1-sekundako segment. O audio ignoririnelpes. Prihatime fajlura si .mp4, .mov vaj .m4v e H.264, H.265/HEVC vaj ProRes, vaj .webm e VP8 vaj VP9; duracija trubul te avel 1 dži 120 sekunda, size na buter 1 GiB, thaj display-aspektosko ratio trubul te avel andro 5% e 9:16 vaj 16:9. Te si dićhlo image_reference_url, o video lel prioritetos.
avataropcionalno
Tipenum
NoneAyeshaAyesha (16:9)FarhanFarhan (16:9)GiuliaGiulia (16:9)JasmineJasmine (16:9)LukeLuke (16:9)MayaMaya (16:9)MichaelMichael (16:9)Neha
+5 averNeha (16:9)TariqTariq (16:9)ValerieValerie (16:9)
Stock-visualoski selekcija, labarime numa kana naj dićhlo kipesko vaj videosko referenca; None thaj standardno mukhen les bi setosko. O audio na delpes kadala visualosa, thaj mindig avel katar audio_url. Te alos visualos, dik preview e opcijenge andro [avatar catalog](https://captions.ai/help/docs/api/actor-catalog) thaj kopirin eksakto Avatar-vrednost.
image_reference_urlopcionalno
Tipstring | null
Referencakoro kipesko HTTPS-URL, publikane dikhlo bi cookies vaj autorizacijakere headerengo; video_reference_url kerel les ignoririme. Acceptinel jekh statico kipo andro .jpg, .jpeg, .png vaj .webp, limitirime 25 MiB thaj 25 megapiksel. O cikneder rando trubul te avel najmene 512 px thaj khonik rando na buter 8192 px; aspektosko ratio trubul te avel andro 5% e 9:16 vaj 16:9.
trubul Kanonikano nav, vi akceptime

Fajloske parametra lel jekh publikano https:// URL, jekh data: URI dži 10 MB, vaj e file_url uploadoski. Fajlura

Rezultato

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"
  }
}
Tire fajlura, tiro alosaripenSako outputs[].url si kopija amare arakhipneste: vično (čargeime per GB-mase) vaj 7 dives bilačhes, tiro kontoskere regulaciatar vaj ?storage=.
Sa jekh forma sako modeloθartype, url, content_type, width, height thaj duration, varesave imajinake, video thaj audio-ke. output si o modelosko korkoro resultosko objekto.
Outputoske fieldura
video
object {url, content_type, file_name, file_size}

Bute modeli: Lipsync thaj Avatarura

AI agentenge: kadija rig sar Markdown si kate https://doitong.com/rom/developers/models/mirage-api/avatar-x/reference-to-video.md. Sa e modelura thaj e gidura: https://doitong.com/developers/llms.txt