LTX 2.5 Fast API
lightricks/ltx-2.5-fast/audio-to-videoThe LTX 2.5 Fast API builds video around your sound: send 2–20 seconds of dialogue, music or ambience, plus an optional first-frame image, and LTX 2.5 Fast Audio to Video generates visuals timed to the track at 26 credits per audio second.
Drag and drop files, paste from clipboard, or provide a URL. Required, 2–20 s of audio. The video length follows the audio.
Drag and drop files, paste from clipboard, or provide a URL. Optional, at most 1 first-frame image.
REST API
Quick Start
Submit a LTX 2.5 Fast Audio 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/audio-to-video",
"input": {
"prompt": "A street drummer on a sunlit plaza plays in time with the rhythm while pigeons scatter.",
"image_urls": [
"https://example.com/first-frame.png"
],
"audio_url": "https://example.com/drum-loop.mp3",
"aspect_ratio": "auto"
}
}'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/audio-to-video",
"input": {
"prompt": "A street drummer on a sunlit plaza plays in time with the rhythm while pigeons scatter.",
"image_urls": [
"https://example.com/first-frame.png"
],
"audio_url": "https://example.com/drum-loop.mp3",
"aspect_ratio": "auto"
}
}
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/audio-to-video. |
| callback_url | string (URL) | No | — | Public HTTP(S) URL that receives the terminal task payload. |
| input.audio_url | string | Yes | — | Public URL of a 2–20 second audio file (MP3, WAV, M4A or OGG, up to 100 MB). |
| input.image_urls | string[] | No | — | Up to 1 public image URL used as the first frame. |
| input.prompt | string | No | — | Required when image_urls is empty; describes the visuals, up to 5,000 characters. |
| input.aspect_ratio | string | No | auto | auto, 16:9 or 9:16. |
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 the audio runs outside 2–20 seconds.
- 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/audio-to-video | Public model identifier for asynchronous video generation. |
| Input audio | 2–20 s, up to 100 MB | The video length follows the audio track. |
| Aspect ratio | auto | 16:9 | 9:16 | Defaults to auto. |
| Pricing | 26 credits per audio second | Billed on audio seconds rounded up ($0.13/s); a 10 s track costs 260 credits. |
Related Models
LTX 2.5 Fast API FAQ
What is the LTX 2.5 Fast API for audio to video?
LTX 2.5 Fast Audio to Video is the audio-driven mode of Lightricks' LTX-2.5 Fast tier. The LTX 2.5 Fast API takes a 2–20 second audio track and generates visuals synchronized to it, guided by a prompt, a first-frame image, or both.
How much does LTX 2.5 Fast Audio to Video cost?
26 credits ($0.13) per second of input audio, rounded up. A 10-second track costs 260 credits ($1.30).
How long can the audio be in the LTX 2.5 Fast API?
Between 2 and 20 seconds, up to 100 MB. The video is as long as the audio.
Do I need a prompt for LTX 2.5 Fast Audio to Video?
A prompt is required when you send no image. With a first-frame image the prompt is optional.
Which audio formats work with the LTX 2.5 Fast API?
Public MP3, WAV, M4A or OGG URLs; the playground uploads the file for you.
How is LTX 2.5 Fast Audio to Video different from the Pro version?
Fast accepts audio up to 20 seconds at 26 credits per second; Pro accepts up to 10 seconds at 34 credits per second and targets higher fidelity.



