LTX 2.5 Fast API
lightricks/ltx-2.5-fast/image-to-videoThe LTX 2.5 Fast API animates a still image into a 6–20 second video with synchronized sound. LTX 2.5 Fast Image to Video takes a first frame and an optional last frame, outputs 720p to 4K at 24–50 fps, and starts at 18 credits per second.
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.
REST API
Quick Start
Submit a LTX 2.5 Fast 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-fast/image-to-video",
"input": {
"prompt": "The baker dusts flour over the dough and looks up with a smile as steam rises from the oven behind her.",
"image_urls": [
"https://example.com/first-frame.png"
],
"duration": 6,
"resolution": "1080p",
"aspect_ratio": "auto",
"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-fast/image-to-video",
"input": {
"prompt": "The baker dusts flour over the dough and looks up with a smile as steam rises from the oven behind her.",
"image_urls": [
"https://example.com/first-frame.png"
],
"duration": 6,
"resolution": "1080p",
"aspect_ratio": "auto",
"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-fast/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, 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 | 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 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/image-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 for image to video?
LTX 2.5 Fast Image to Video is the image-led mode of Lightricks' LTX-2.5 Fast tier. The LTX 2.5 Fast API animates your first frame, optionally toward a last frame, into a 6–20 second video with sound at up to 4K.
How much does LTX 2.5 Fast Image to Video cost?
18 credits/s at 720p, 26 at 1080p, 38 at 1440p and 60 at 4K. A 6-second 720p clip costs 108 credits ($0.54).
Can the LTX 2.5 Fast API use a first and last frame?
Yes. Put the first frame first in image_urls and the last frame second; the video moves from one to the other.
What image formats does the LTX 2.5 Fast API accept?
Public JPEG, PNG or WebP URLs; the playground uploads files up to 15 MB for you.
How long can an LTX 2.5 Fast API image-to-video clip be?
6–20 seconds at 720p or 1080p with 24/25 fps, and up to 10 seconds at 1440p, 4K, 48 fps or 50 fps.
Does LTX 2.5 Fast Image to Video add sound?
Yes, generate_audio is true by default; set it to false for a silent clip.



