Peke ki ngā ihirangi

Ltx 2.5 Audio to Video Pro

Whakauru

id tauira lightricks/ltx-2.5/audio-to-video/pro
# 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/lightricks/ltx-2.5/audio-to-video/pro?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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

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

Tikina he kī API
Lightricks Tukutahi Ngutu me ngā Avatar Tukutahi Ngutu #stylized#transform#lip-sync

He ataata aratau Pro i hangaia kia hāngai ki tētahi topenga oro, ka tīmata mai i tētahi whakaahua mēnā e hiahia ana

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

0 / 5000

Tohutohu ataata e whakawhirinaki ana tōna mahi ki `image_url`: ina whai atahanga, ka tohu i tana whakakorikori; ki te kore, me whakaahua te ataata hei whakaputa.

•e hiahiatia ana audio_url
Whakataka he kōnae,

URL kōnae ororongo hei pūtake mō te whakaputa ataata; tukuna he URL e wātea ana ki te katoa, he URI raraunga base64 rānei. Me noho te roanga ororongo i waenga i te 2–20 hēkona, ā, ko ngā tauira pro he 10 hēkona te here.

aspect_ratio taunoa auto

Ōwehenga ataata; mā 'auto' e kōwhiri te ōwehenga i ahu mai i te atahanga ina tukuna he atahanga tāuru, ā, 16:9 ki te kore.

Arā atu image · enable_safety_checker
image_url
Whakataka he kōnae,

URL atahanga anga tīmatanga; ki te waiho, me tuku he tohutohu.

POST /run/lightricks/ltx-2.5/audio-to-video/pro?wait=20 utu → $ 1.70
# 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/lightricks/ltx-2.5/audio-to-video/pro?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.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ō Ltx 2.5 Audio to Video Pro

Ka hanga ataata kua whakaritea ki tētahi kōnae oro (`audio_url`). Me 2 ki te 20 hēkona te roa o te topenga, engari e tautoko ana ngā tauira pro i te 10 hēkona te mōrahi. Mā `image_url` kōwhiringa e whakarite te tāpare tuatahi; ki te kore, me whai `prompt` kia 5000 pūāhua te mōrahi. Ka whakaae `aspect_ratio` ki auto, 16:9, 9:16 rānei.

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
URL kōnae ororongo hei pūtake mō te whakaputa ataata; tukuna he URL e wātea ana ki te katoa, he URI raraunga base64 rānei. Me noho te roanga ororongo i waenga i te 2–20 hēkona, ā, ko ngā tauira pro he 10 hēkona te here.
image_urlkōwhiringa image
Momourl · image
URL atahanga anga tīmatanga; ki te waiho, me tuku he tohutohu.
promptkōwhiringa
Momostring | null
≤ 5,000 pūāhua
Tohutohu ataata e whakawhirinaki ana tōna mahi ki `image_url`: ina whai atahanga, ka tohu i tana whakakorikori; ki te kore, me whakaahua te ataata hei whakaputa.
aspect_ratiokōwhiringa
Momoenum
Taunoaauto
auto16:99:16
Ōwehenga ataata; mā 'auto' e kōwhiri te ōwehenga i ahu mai i te atahanga ina tukuna he atahanga tāuru, ā, 16:9 ki te kore.
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": "lightricks/ltx-2.5/audio-to-video/pro",
  "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": 1700,
    "usd": "1.70",
    "charged": 1700,
    "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,
      "width": 1024,
      "height": 768,
      "fps": 1.0,
      "duration": 5,
      "num_frames": 1
    }
  },
  "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, width, height, fps, duration, num_frames}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/lightricks/ltx-2.5/audio-to-video/pro.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt