LTX 2.5 Pro API
lightricks/ltx-2.5-pro/text-to-videoThe LTX 2.5 Pro API turns a prompt into a high-fidelity 6, 8 or 10 second video with synchronized sound at 720p or 1080p. LTX 2.5 Pro Text to Video runs at 24, 25 or 50 fps, offers camera motion presets, and starts at 24 credits per second.
REST API
Quick Start
Submit a LTX 2.5 Pro 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-pro/text-to-video",
"input": {
"prompt": "Close-up of a glassblower in a Murano workshop turning a glowing orange vase on a steel pipe, sparks and the roar of the furnace.",
"duration": 6,
"resolution": "1080p",
"aspect_ratio": "16:9",
"fps": 25,
"generate_audio": true
}
}'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": "task-example",
"status": "not_started",
"created_time": "2026-11-25T08:00:00"
}
}{
"code": 200,
"data": {
"task_id": "task-example",
"status": "finished",
"progress": 100,
"created_time": "2026-11-25T08:00:00",
"error_message": null,
"files": [
{
"file_url": "https://example.com/output.mp4",
"file_type": "video"
}
]
}
}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-pro/text-to-video",
"input": {
"prompt": "Close-up of a glassblower in a Murano workshop turning a glowing orange vase on a steel pipe, sparks and the roar of the furnace.",
"duration": 6,
"resolution": "1080p",
"aspect_ratio": "16:9",
"fps": 25,
"generate_audio": true
}
}
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-pro/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 or 10 seconds. |
| input.resolution | string | No | 1080p | 720p or 1080p. |
| input.fps | integer | No | 25 | 24, 25 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, for example a duration other than 6, 8 or 10.
- Polling intervalPoll every 5–10 seconds, or set callback_url to receive the result.
Model Specifications
| Specification | Value | Description |
|---|---|---|
| Model | lightricks/ltx-2.5-pro/text-to-video | Public model identifier for asynchronous video generation. |
| Resolution | 720p | 1080p | Defaults to 1080p. |
| Duration | 6 / 8 / 10 s | Defaults to 6 s. |
| Frame rate | 24 | 25 | 50 fps | Defaults to 25 fps. |
| Pricing | 24 / 34 credits/s | 720p $0.12/s, 1080p $0.17/s, billed per output second. |
Related Models
LTX 2.5 Pro API FAQ
What is the LTX 2.5 Pro API?
LTX 2.5 Pro is the higher-fidelity tier of Lightricks' LTX-2.5 model. The LTX 2.5 Pro API generates 6–10 second videos with synchronized audio from a text prompt at 720p or 1080p; call it with lightricks/ltx-2.5-pro/text-to-video or try it in the playground above.
How much does the LTX 2.5 Pro API cost?
24 credits ($0.12) per second at 720p and 34 credits ($0.17) at 1080p. A 6-second 1080p clip costs 204 credits ($1.02).
How long can an LTX 2.5 Pro API video be?
6, 8 or 10 seconds per task.
What frame rates does the LTX 2.5 Pro API support?
24, 25 or 50 fps, with 25 fps as the default.
Does the LTX 2.5 Pro API generate audio?
Yes. generate_audio defaults to true; set it to false for a silent clip.
Which aspect ratios does LTX 2.5 Pro Text to Video support?
16:9 (default), 9:16 or auto.
When should I pick LTX 2.5 Pro over LTX 2.5 Fast?
Pick Pro for final 720p or 1080p shots where fidelity matters most; pick Fast for longer clips up to 20 seconds, 1440p or 4K, and lower cost per second.



