Ruka hadi kwenye maudhui

LTX 2.5 Pro Text to Video

Unganisha

Kitambulisho cha modeli lightricks/ltx-2.5/text-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/text-to-video/pro?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Slow aerial drone shot gliding over a turquoise glacier lagoon at sunrise, floating icebergs below, the camera tilts up to reveal snow-capped peaks and drifting clouds, smooth continuous motion, natural colors.",
    "duration": 6,
    "resolution": "720p",
    "aspect_ratio": "16:9",
    "generate_audio": false
  }'

# 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"

Ombi hili: $ 0.72 salio za API 720 · ≈ ₽ 77.46 Iendeshe kwenye ukurasa huu

Pata ufunguo wa API
Lightricks Maandishi hadi Video Sauti asili6–10 shadi 1080p #audio#camera-control#50fps

LTX 2.5 Pro ya Lightricks, klipu za sekunde 6 hadi 10 zenye sauti na miondoko ya kamera iliyotajwa hadi 1080p na 50 fps.

Mifano

Tokeo · ~51 s

MaelekezoSlow aerial drone shot gliding over a turquoise glacier lagoon at sunrise, floating icebergs below, the camera tilts up to reveal snow-capped peaks and drifting clouds, smooth continuous motion, natural colors.

6 s720p16:9generate_audio: false$ 0.72 · salio za API 720

Unda ombi

Vidhibiti vinazalishwa kutoka kwenye schema ya modeli. Msimbo na bei husasishwa unapovibadilisha.

•inahitajika 210 / 5000

Kidokezo kinachoongoza uzalishaji wa video.

duration 6 s

Uteuzi wa urefu wa video: bainisha muda kwa sekunde au chagua 'auto' ili modeli iamue. Muda wa juu ni sekunde 10.

resolution

Mwonekano unaotumika kwa video ya tokeo.

aspect_ratio

Uwiano wa picha wa video ya tokeo.

camera_motion

Mjongeo wa hiari wa kamera kwa video ya tokeo.

Ya kina fps
fps chaguomsingi 25

Kasi ya fremu ya video ya tokeo, iliyopimwa kwa fremu kwa sekunde.

POST /run/lightricks/ltx-2.5/text-to-video/pro?wait=20 makadirio → $ 0.72
# 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/text-to-video/pro?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Slow aerial drone shot gliding over a turquoise glacier lagoon at sunrise, floating icebergs below, the camera tilts up to reveal snow-capped peaks and drifting clouds, smooth continuous motion, natural colors.",
    "duration": 6,
    "resolution": "720p",
    "aspect_ratio": "16:9",
    "generate_audio": false
  }'

# 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"

Endesha ombi hili

Key yako inabaki kwenye kivinjari hiki: inatumwa kwa Doitong API pekee na kuhifadhiwa (localStorage) tu ukiweka tiki kwenye Kumbuka. Pata ufunguo wa API

Kuhusu LTX 2.5 Pro Text to Video

LTX 2.5 Pro hutoa video kali ya 720p au 1080p yenye sauti inayozalishwa, na hukuwezesha kuchagua mjongeo wa kamera uliotajwa (dolly in au out, sideways dolly, jib up au down, static, focus shift) badala ya kuueleza. Sekunde 6, 8 au 10 au urefu wa kiotomatiki, 24, 25 au 50 fps, mlalo au wima.

Vigezo

JinaAina ChaguomsingiInaruhusiwa Maelezo
promptinahitajika
Ainastring
≤ herufi 5,000
Kidokezo kinachoongoza uzalishaji wa video.
durationsi lazima
Ainaenum
Chaguomsingiauto
6810auto
Uteuzi wa urefu wa video: bainisha muda kwa sekunde au chagua 'auto' ili modeli iamue. Muda wa juu ni sekunde 10.
resolutionsi lazima
Ainaenum
Chaguomsingi1080p
720p1080p
Mwonekano unaotumika kwa video ya tokeo.
aspect_ratiosi lazima
Ainaenum
Chaguomsingi16:9
16:99:16
Uwiano wa picha wa video ya tokeo.
fpssi lazima
Ainaenum
Chaguomsingi25
242550
Kasi ya fremu ya video ya tokeo, iliyopimwa kwa fremu kwa sekunde.
generate_audiosi lazima
Ainaboolean
Chaguomsingitrue
Kigeuza uzalishaji wa sauti kwa video ya tokeo.
camera_motionsi lazima
Ainaenum
dolly_indolly_outdolly_leftdolly_rightjib_upjib_downstaticfocus_shift
Mjongeo wa hiari wa kamera kwa video ya tokeo.
inahitajika

Tokeo

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "lightricks/ltx-2.5/text-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": 720,
    "usd": "0.72",
    "charged": 720,
    "refunded": 0
  },
  "input": {
    "prompt": "Through a sheer red veil, a bride smiles as marigold petals fall around her, warm evening light",
    "duration": 6,
    "resolution": "1080p",
    "camera_motion": "dolly_in"
  },
  "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"
  }
}
Faili zako, chaguo lakoKila outputs[].url ni nakala kwenye hifadhi yetu: huhifadhiwa milele (hutozwa kwa GB kwa mwezi) au 7 siku bila malipo, kulingana na mpangilio wa akaunti yako au ?storage=.
Muundo uleule kwenye kila modelitype, url, content_type, width, height na duration, kwa picha, video na sauti. output ni kitu cha matokeo cha modeli yenyewe.
Sehemu za tokeo
video
object {url, content_type, file_name, file_size, width, height, fps, duration, num_frames}Faili ya video inayotokana.

Miundo zaidi: Maandishi hadi Video

Kwa mawakala wa AI: ukurasa huu katika Markdown unapatikana kwenye https://doitong.com/sw/developers/models/lightricks/ltx-2.5/text-to-video/pro.md. Modeli na miongozo yote: https://doitong.com/developers/llms.txt