Saltar al cuntegna

LTX 2.5 Pro Text to Video

Integrar

ID dal model 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"

Questa dumonda: $0,72 720 credits API · ≈ ₽77,46 Lantschar sin questa pagina

Obtegna ina clav API
Lightricks Text a video Audio nativ6–10 sfin a 1080p #camera-control#50fps

LTX 2.5 Pro da Lightricks, clips da 6 fin a 10 secundas cun audio e moviments da camera nominads fin a 1080p e 50 fps.

Exempels

Output · ~51 s

PromptSlow 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 · 720 credits API

Construir ina dumonda

Ils controls vegnan generads dal schema dal model. Il code e ​​il pretsch s'actualiseschan durant che ti als midas.

•obligatori 210 / 5000

Prompt che dirigia la generaziun video.

duration 6 s

Selecziun da la lunghezza dal video: specifitgescha ina durada en secundas u tscherna 'auto' per laschar decider il model. La durada maximala è 10 secundas.

resolution

Resoluziun utilisada per il video d'output.

aspect_ratio

Quotiant d'aspect per il video output.

camera_motion

Moviment da camera opzional per il video d'output.

Avanzà fps
fps standard 25

Frame rate dal video d'output, mesirà en frames per secunda.

POST /run/lightricks/ltx-2.5/text-to-video/pro?wait=20 calculaziun → $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"

Executar questa dumonda

Tia clav resta en quest browser: ella vegn tramessa mo al Doitong API e memorisada (localStorage) mo sch'ella scheccas Tiar a memoria. Obtegnair ina clav API

Davart LTX 2.5 Pro Text to Video

LTX 2.5 Pro renderisescha video cler en 720p u 1080p cun audio generà e permetta da tscherner in moviment da camera nominà (dolly en u ora, dolly lateral, jib ensi u engiu, static, focus shift) empè da descriver el. 6, 8 u 10 secundas u durada automatica, 24, 25 u 50 fps, format orizontal u vertical.

Parameters

NumTip StandardPermess Descripziun
promptobligatori
Tipstring
≤ 5 000 caracters
Prompt che dirigia la generaziun video.
durationopziunal
Tipenum
Standardauto
6810auto
Selecziun da la lunghezza dal video: specifitgescha ina durada en secundas u tscherna 'auto' per laschar decider il model. La durada maximala è 10 secundas.
resolutionopziunal
Tipenum
Standard1080p
720p1080p
Resoluziun utilisada per il video d'output.
aspect_ratioopziunal
Tipenum
Standard16:9
16:99:16
Quotiant d'aspect per il video output.
fpsopziunal
Tipenum
Standard25
242550
Frame rate dal video d'output, mesirà en frames per secunda.
generate_audioopziunal
Tipboolean
Standardtrue
Activaziun da la generaziun d'audio per il video d'output.
camera_motionopziunal
Tipenum
dolly_indolly_outdolly_leftdolly_rightjib_upjib_downstaticfocus_shift
Moviment da camera opzional per il video d'output.
obligatori

Output

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"
  }
}
Tias datotecas, tia decisiunMintga outputs[].url è ina copia en nossa memorisaziun: conservada per adina (pajà per GB-mes) u 7 dis gratuitamain, tenor la configuraziun dal conto u ?storage=.
La medema structura per mintga modeltype, url, content_type, width, height e duration, tant per maletgs sco per video e audio. output è l'object da resultat dal model sez.
Champs da l'output
video
object {url, content_type, file_name, file_size, width, height, fps, duration, num_frames}Datoteca video resultanta.

Dapli models: Text a video

Per agents AI: questa pagina sco Markdown è disponibla sut https://doitong.com/rm/developers/models/lightricks/ltx-2.5/text-to-video/pro.md. Tut ils models e las guidas: https://doitong.com/developers/llms.txt