LTX 2.5 Pro API
lightricks/ltx-2.5-pro/image-to-videoThe LTX 2.5 Pro API animates a still image into a high-fidelity 6–10 second video with synchronized sound. LTX 2.5 Pro Image to Video keeps faces, fabric and props faithful to your first frame, accepts an optional last frame, and starts at 24 credits per second at 720p.
Drag and drop files, paste from clipboard, or provide a URL. 1–2 images: the first is the first frame, the optional second is the last frame.
1/2 files added
REST API
Quick Start
Submit a LTX 2.5 Pro Image 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/image-to-video",
"input": {
"prompt": "The elderly woman pulls both wooden oars back in a slow, practiced rhythm and the sampan glides forward along the canal. Light monsoon rain keeps falling, dimpling the brown water into spreading rings; drops bead on the dragon fruit and the pink lotus petals tremble as the boat moves. She glances toward the bank and gives a small, warm smile. The camera stays steady at eye level from the riverbank. Preserve her face, the conical hat, the boat and the cargo exactly. Audio: soft rain on water and leaves, wooden oars creaking and splashing, a distant rooster.",
"image_urls": [
"https://cdn.vidgo.ai/apis/models/lightricks/ltx-2.5-pro/image-to-video/v1/01/input-01.png"
],
"duration": 6,
"resolution": "720p",
"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": "2I5XOOHU8AR65IHQ",
"status": "not_started",
"created_time": "2026-11-25T17:06:38"
}
}{
"code": 200,
"data": {
"task_id": "2I5XOOHU8AR65IHQ",
"status": "finished",
"files": [
{
"file_type": "video",
"file_url": "https://cdn.vidgo.ai/apis/models/lightricks/ltx-2.5-pro/image-to-video/v1/01/output.mp4"
}
],
"created_time": "2026-11-25T17:06:38",
"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-pro/image-to-video",
"input": {
"prompt": "The elderly woman pulls both wooden oars back in a slow, practiced rhythm and the sampan glides forward along the canal. Light monsoon rain keeps falling, dimpling the brown water into spreading rings; drops bead on the dragon fruit and the pink lotus petals tremble as the boat moves. She glances toward the bank and gives a small, warm smile. The camera stays steady at eye level from the riverbank. Preserve her face, the conical hat, the boat and the cargo exactly. Audio: soft rain on water and leaves, wooden oars creaking and splashing, a distant rooster.",
"image_urls": [
"https://cdn.vidgo.ai/apis/models/lightricks/ltx-2.5-pro/image-to-video/v1/01/input-01.png"
],
"duration": 6,
"resolution": "720p",
"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/image-to-video. |
| callback_url | string (URL) | No | — | Public HTTP(S) URL that receives the terminal task payload. |
| input.prompt | string | Yes | — | How the first frame should move, up to 5,000 characters. |
| input.image_urls | string[] | Yes | — | 1–2 public image URLs: the first is the first frame, the optional second is the last frame. |
| 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 | auto | 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/image-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 for image to video?
LTX 2.5 Pro Image to Video is the image-led mode of Lightricks' higher-fidelity LTX-2.5 Pro tier. The LTX 2.5 Pro API animates a first frame, optionally toward a last frame, into a 6–10 second video with sound at 720p or 1080p.
How much does LTX 2.5 Pro Image to Video cost?
24 credits/s at 720p and 34 at 1080p. A 6-second 720p clip costs 144 credits ($0.72).
Can the LTX 2.5 Pro API use a first and last frame?
Yes. Put the first frame first in image_urls and the last frame second.
How long can an LTX 2.5 Pro API image-to-video clip be?
6, 8 or 10 seconds.
What image formats does the LTX 2.5 Pro API accept?
Public JPEG, PNG or WebP URLs; the playground uploads files up to 15 MB.
Does LTX 2.5 Pro Image to Video add sound?
Yes, generate_audio is true by default; set it to false for a silent clip.



