Op den Inhalt sprangen

LTX 2.5 Pro Text to Video

Integréieren

Modell-ID 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"

Dës Ufro: 0,72 $ 720 API-Kreditter · ≈ 77,46 ₽ Op dëser Säit ausféieren

API-Schlëssel kréien
Lightricks Text zu Video Native Audio6–10 sbis zu 1080p #camera-control#50fps

Lightricks' LTX 2.5 Pro, 6 bis 10 Sekonne laang Clips mat Audio a benannte Kamerabeweegunge bis 1080p an 50 fps.

Beispiller

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: false0,72 $ · 720 API-Kreditter

Eng Ufro erstellen

D'Kontrolle ginn aus dem Modellschema generéiert. De Code an de Präis aktualiséiere sech, wann s du se ännerst.

•obligatoresch 210 / 5000

Prompt, deen d'Videogeneratioun steiert.

duration 6 s

Auswiel vun der Video-Längt: gitt eng Dauer a Sekonnen un oder wielt 'auto', fir de Modell entscheeden ze loossen. Déi maximal Dauer ass 10 Sekonnen.

resolution

Opléisung, déi fir den Output-Video benotzt gëtt.

aspect_ratio

Bildformat vum Output-Video.

camera_motion

Optional Kamerabeweegung fir den Output-Video.

Erweidert fps
fps Standard 25

Frame-Rate vum Output-Video, gemooss a Frames pro Sekonn.

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

Dës Ufro ausféieren

Äre Schlëssel bleift an dësem Browser: e gëtt nëmmen un d'Doitong API geschéckt an nëmme gespäichert (localStorage), wann s du „Erënneren“ aktivéiers. En API-Schlëssel kréien

Iwwer LTX 2.5 Pro Text to Video

LTX 2.5 Pro rendert schaarf 720p- oder 1080p-Video mat generéiertem Audio a léisst eng benannt Kamerabeweegung auswielen (dolly no bannen oder no baussen, säitlechen dolly, jib no uewen oder ënnen, static, focus shift) amplaz se ze beschreiwen. 6, 8 oder 10 Sekonnen oder automatesch Längt, 24, 25 oder 50 fps, Quer- oder Héichformat.

Parameteren

NummTyp StandardErlaabt Beschreiwung
promptobligatoresch
Typstring
≤ 5.000 Zeechen
Prompt, deen d'Videogeneratioun steiert.
durationoptional
Typenum
Standardauto
6810auto
Auswiel vun der Video-Längt: gitt eng Dauer a Sekonnen un oder wielt 'auto', fir de Modell entscheeden ze loossen. Déi maximal Dauer ass 10 Sekonnen.
resolutionoptional
Typenum
Standard1080p
720p1080p
Opléisung, déi fir den Output-Video benotzt gëtt.
aspect_ratiooptional
Typenum
Standard16:9
16:99:16
Bildformat vum Output-Video.
fpsoptional
Typenum
Standard25
242550
Frame-Rate vum Output-Video, gemooss a Frames pro Sekonn.
generate_audiooptional
Typboolean
Standardtrue
Schalter fir d'Audio-Generatioun am Output-Video.
camera_motionoptional
Typenum
dolly_indolly_outdolly_leftdolly_rightjib_upjib_downstaticfocus_shift
Optional Kamerabeweegung fir den Output-Video.
obligatoresch

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"
  }
}
Är Fichieren, Är WielAll outputs[].url ass eng Kopie an eiser Späicherung: fir ëmmer gespäichert (bezuelbar pro GB-Mount) oder 7 Deeg gratis, jee no Ärer Kontastellung oder ?storage=.
D'selwecht Struktur bei all Modelltype, url, content_type, width, height an duration, fir Biller, Video an Audio gläichermoossen. output ass dem Modell säin eegent Resultatobjet.
Output-Felder
video
object {url, content_type, file_name, file_size, width, height, fps, duration, num_frames}Resultéierend Video-Datei.

Méi Modeller: Text zu Video

Fir AI-Agenten: dës Säit als Markdown ass ënner https://doitong.com/lb/developers/models/lightricks/ltx-2.5/text-to-video/pro.md. All Modeller a Guiden: https://doitong.com/developers/llms.txt