curl --request POST \
--url https://api.vidgo.ai/api/generate/submit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "lightricks/ltx-2.5-pro/audio-to-video",
"input": {
"image_urls": [
"https://example.com/start-frame.png"
],
"audio_url": "https://example.com/audio.mp3",
"aspect_ratio": "auto"
}
}
'{
"code": 200,
"data": {
"task_id": "LTX25TASKEXAMPLE",
"status": "not_started",
"created_time": "2026-11-25T08:00:00"
}
}{
"detail": "audio_url duration must be between 2 and 10 seconds"
}{
"detail": "audio_url duration must be between 2 and 10 seconds"
}Lightricks
LTX 2.5 Pro Audio to Video
The LTX 2.5 Pro Audio to Video API generates a high-fidelity video synchronized to a 2–10 second audio track, guided by a prompt, a first-frame image or both.
POST
/
api
/
generate
/
submit
curl --request POST \
--url https://api.vidgo.ai/api/generate/submit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "lightricks/ltx-2.5-pro/audio-to-video",
"input": {
"image_urls": [
"https://example.com/start-frame.png"
],
"audio_url": "https://example.com/audio.mp3",
"aspect_ratio": "auto"
}
}
'{
"code": 200,
"data": {
"task_id": "LTX25TASKEXAMPLE",
"status": "not_started",
"created_time": "2026-11-25T08:00:00"
}
}{
"detail": "audio_url duration must be between 2 and 10 seconds"
}{
"detail": "audio_url duration must be between 2 and 10 seconds"
}- After submission, a
task_idwill be returned. If you provided acallback_url, when the task status becomesfinishedorfailed, a POST request will be sent to thecallback_url. - Regardless of whether
callback_urlis provided, you can retrieve the result through the unified Query Task Status endpoint.
Models
- lightricks/ltx-2.5-pro/audio-to-video — Audio-to-video with LTX 2.5 Pro from a 2–10 second audio track.
Features
- Audio track of 2–10 seconds via
audio_url; the video matches its length. - Optional first-frame image via
image_urls. - Prompt up to 5,000 characters, required when
image_urlsis empty. auto,16:9or9:16framing.
Input modes
- Audio + prompt: the prompt describes the whole scene.
- Audio + image: the image is the first frame; the prompt is optional.
- Audio + image + prompt: the image sets the look and the prompt directs the motion.
Required parameters
audio_url(string): Public HTTP(S) audio URL, 2–10 seconds, up to 100 MB (MP3, WAV, M4A or OGG).
Optional parameters
prompt(string): Description of the visuals, up to 5,000 characters. Required whenimage_urlsis empty.image_urls(string[]): At most one public HTTP(S) image URL, used as the first frame.aspect_ratio(string):auto,16:9or9:16. Defaultauto.
Output
The finished task returns one MP4 video in thefiles array of Query Task Status and the callback payload.
Examples
- Audio with a first frame: an audio track paired with a first-frame image only.
- Audio and prompt only: a read-aloud voice line with a prompt describing a lighthouse keeper by an oil lamp, 16:9.
Notes
- The audio must run 2–10 seconds; shorter or longer tracks return 400.
duration,resolution,fps,generate_audioandcamera_motionbelong to the text and image modes and return 400 here.- Put
modelandcallback_urlat the request root, next toinput.inputaccepts the fields listed above; other fields return 400. - Credits are reserved at submission and scale with the audio length, rounded up to whole seconds. A failed task is refunded in full. See the pricing page for current rates.
Body
application/json