LTX 2.5 Fast API
lightricks/ltx-2.5-fast/text-to-videoThe LTX 2.5 Fast API turns a text prompt into a 6–20 second video with synchronized sound, at 720p, 1080p, 1440p or 4K and 24–50 fps. LTX 2.5 Fast Text to Video starts at 18 credits per second and adds camera motion presets for directed shots.
REST API
Quick Start
Submit a LTX 2.5 Fast Text to Video request in three steps, capture task_id, and fetch the generated video.
Connect to the Vidgo API
Create an API key on your server and send it in the Authorization header as a Bearer token.
- Endpoint
- POST
https://api.vidgo.ai/api/generate/submit - Authentication
- Authorization: Bearer VIDGO_API_KEY
Submit one video task
Send the model ID and mode inputs to the unified submit endpoint.
curl --request POST \
--url "https://api.vidgo.ai/api/generate/submit" \
--header "Authorization: Bearer $VIDGO_API_KEY" \
--header "Content-Type: application/json" \
--data '{
"model": "lightricks/ltx-2.5-fast/text-to-video",
"input": {
"prompt": "Golden hour on the open Mongolian steppe. An elderly herder in a deep blue deel and fur-trimmed hat sits on a low wooden stool beside a white ger, drawing a bow across a horse-head fiddle (morin khuur). His weathered fingers press the strings while the wind ripples the long grass and lifts the silk tassel on the fiddle's scroll. Behind him, two chestnut horses graze and one lifts its head toward the music. Slow cinematic push-in from a medium shot to a close-up of his hands and face, warm low sun, long soft shadows. Audio: a slow, resonant morin khuur melody, steady steppe wind, a horse's soft snort. No text, no logos.",
"duration": 6,
"resolution": "720p",
"aspect_ratio": "16:9",
"fps": 25,
"generate_audio": true,
"camera_motion": "dolly_in"
}
}'Wait for the result
Poll the status endpoint with task_id until it reaches finished or failed.
Track status
GET https://api.vidgo.ai/api/generate/status/{task_id}Poll while not_started or running; read data.files[].file_url when finished.
not_startedrunningfinishedfailed{
"code": 200,
"data": {
"task_id": "08Y8E2JUSWBEBIG6",
"status": "not_started",
"created_time": "2026-11-25T17:05:24"
}
}{
"code": 200,
"data": {
"task_id": "08Y8E2JUSWBEBIG6",
"status": "finished",
"files": [
{
"file_type": "video",
"file_url": "https://cdn.vidgo.ai/apis/models/lightricks/ltx-2.5-fast/text-to-video/v1/01/output.mp4"
}
],
"created_time": "2026-11-25T17:05:24",
"error_message": null,
"progress": 100
}
}Complete runnable example
End-to-end script combining submission, polling, terminal checks, and output extraction.
set -euo pipefail
: "${VIDGO_API_KEY:?Set VIDGO_API_KEY in your environment}"
REQUEST_BODY=$(cat <<'JSON'
{
"model": "lightricks/ltx-2.5-fast/text-to-video",
"input": {
"prompt": "Golden hour on the open Mongolian steppe. An elderly herder in a deep blue deel and fur-trimmed hat sits on a low wooden stool beside a white ger, drawing a bow across a horse-head fiddle (morin khuur). His weathered fingers press the strings while the wind ripples the long grass and lifts the silk tassel on the fiddle's scroll. Behind him, two chestnut horses graze and one lifts its head toward the music. Slow cinematic push-in from a medium shot to a close-up of his hands and face, warm low sun, long soft shadows. Audio: a slow, resonant morin khuur melody, steady steppe wind, a horse's soft snort. No text, no logos.",
"duration": 6,
"resolution": "720p",
"aspect_ratio": "16:9",
"fps": 25,
"generate_audio": true,
"camera_motion": "dolly_in"
}
}
JSON
)
SUBMIT_RESPONSE=$(curl --silent --show-error --fail-with-body \
--request POST \
--url "https://api.vidgo.ai/api/generate/submit" \
--header "Authorization: Bearer $VIDGO_API_KEY" \
--header "Content-Type: application/json" \
--data "$REQUEST_BODY")
TASK_ID=$(printf '%s' "$SUBMIT_RESPONSE" | jq -r '.data.task_id // .task_id // empty')
if [ -z "$TASK_ID" ]; then
printf 'Submit response did not include task_id:
%s
' "$SUBMIT_RESPONSE" >&2
exit 1
fi
while true; do
STATUS_RESPONSE=$(curl --silent --show-error --fail-with-body \
--url "https://api.vidgo.ai/api/generate/status/$TASK_ID" \
--header "Authorization: Bearer $VIDGO_API_KEY")
STATUS=$(printf '%s' "$STATUS_RESPONSE" | jq -r '.data.status // .status // empty')
case "$STATUS" in
finished)
printf '%s' "$STATUS_RESPONSE" | jq -r '(.data.files // .files // [])[]?.file_url'
break
;;
failed)
printf '%s' "$STATUS_RESPONSE" | jq -r '.data.error_message // .error_message // "Generation failed"' >&2
exit 1
;;
not_started|running)
sleep 2
;;
*)
printf 'Unexpected task status: %s
' "$STATUS" >&2
exit 1
;;
esac
doneRequest Parameters
Place model and optional callback_url at the request root, and mode parameters inside input.
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| model | string | Yes | — | Fixed to lightricks/ltx-2.5-fast/text-to-video. |
| callback_url | string (URL) | No | — | Public HTTP(S) URL that receives the terminal task payload. |
| input.prompt | string | Yes | — | Text describing action, camera work, lighting and sound, up to 5,000 characters. |
| input.duration | integer | No | 6 | 6, 8, 10, 12, 14, 16, 18 or 20 seconds; up to 10 s at 1440p, 4k or 48/50 fps. |
| input.resolution | string | No | 1080p | 720p, 1080p, 1440p or 4k. |
| input.fps | integer | No | 25 | 24, 25, 48 or 50. |
| input.aspect_ratio | string | No | 16:9 | auto, 16:9 or 9:16. |
| input.generate_audio | boolean | No | true | Generates synchronized sound that matches the scene. |
| input.camera_motion | string | No | — | dolly_in, dolly_out, dolly_left, dolly_right, jib_up, jib_down, static or focus_shift. |
Response Fields
Submission returns task_id immediately. Status responses provide generated video files or error details upon completion.
| Field | Type | Description |
|---|---|---|
| code | integer | Application result code; 0 or 200 indicates success. |
| data.task_id | string | Unique task identifier for status polling. |
| data.status | string | not_started | running | finished | failed |
| data.progress | number | Completion percentage (0–100). |
| data.files[].file_url | string | Public URL of the generated video. |
| data.files[].file_type | string | File type, video for video outputs. |
| data.error_message | string | null | Failure detail when status is failed. |
Task Lifecycle
Poll only while status is not_started or running; stop on finished or failed.
not_startedAccepted and queued to start.
runningVideo generation is running; keep polling.
finishedComplete; read video URL from data.files[].file_url.
failedFailed; read data.error_message and stop polling.
Polling and Errors
- Authentication401 means the Bearer API key is missing or invalid.
- Validation400 means a field is invalid or duration exceeds 10 s at 1440p/4k or 48/50 fps.
- Polling intervalPoll every 5–10 seconds, or set callback_url to receive the result.
Model Specifications
| Specification | Value | Description |
|---|---|---|
| Model | lightricks/ltx-2.5-fast/text-to-video | Public model identifier for asynchronous video generation. |
| Resolution | 720p | 1080p | 1440p | 4k | Defaults to 1080p. |
| Duration | 6–20 s (even seconds) | Defaults to 6 s; up to 10 s at 1440p, 4k, or 48/50 fps. |
| Frame rate | 24 | 25 | 48 | 50 fps | Defaults to 25 fps. |
| Pricing | 18 / 26 / 38 / 60 credits/s | 720p $0.09/s, 1080p $0.13/s, 1440p $0.19/s, 4k $0.30/s, billed per output second. |
Related Models
LTX 2.5 Fast API FAQ
What is the LTX 2.5 Fast API?
LTX 2.5 Fast is the speed and low-cost tier of Lightricks' LTX-2.5 model. The LTX 2.5 Fast API generates video with synchronized audio from a text prompt, 6–20 seconds long at up to 4K, and you can call it with the model ID lightricks/ltx-2.5-fast/text-to-video or try it in the playground above.
How much does the LTX 2.5 Fast API cost?
Per output second: 18 credits ($0.09) at 720p, 26 ($0.13) at 1080p, 38 ($0.19) at 1440p and 60 ($0.30) at 4K. A 6-second 1080p clip costs 156 credits ($0.78).
How long can an LTX 2.5 Fast API video be?
6 to 20 seconds in even steps at 720p or 1080p with 24 or 25 fps. At 1440p, 4K, 48 fps or 50 fps the maximum is 10 seconds.
Does the LTX 2.5 Fast API generate audio?
Yes. generate_audio defaults to true and adds sound that matches the scene; set it to false for a silent clip.
Which camera motions does the LTX 2.5 Fast API support?
dolly_in, dolly_out, dolly_left, dolly_right, jib_up, jib_down, static and focus_shift. Leave camera_motion empty to let the model choose.
What aspect ratios can LTX 2.5 Fast Text to Video output?
16:9 (the default), 9:16 or auto.
How does LTX 2.5 Fast compare with LTX 2.5 Pro?
Lightricks positions Fast for speed and low cost and Pro for higher fidelity. On Vidgo, Fast offers 6–20 s clips up to 4K from 18 credits/s, while Pro offers 6–10 s clips at 720p or 1080p from 24 credits/s.



