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-fast/image-to-video",
"input": {
"prompt": "The kite lifts off the beach as the girl runs into the wind, sand blowing past her feet. Audio: surf and gulls.",
"image_urls": [
"https://example.com/start-frame.png",
"https://example.com/end-frame.png"
],
"duration": 8,
"resolution": "1080p",
"fps": 25,
"generate_audio": true
}
}
'{
"code": 200,
"data": {
"task_id": "LTX25TASKEXAMPLE",
"status": "not_started",
"created_time": "2026-11-25T08:00:00"
}
}{
"detail": "image_urls must contain 1-2 items"
}{
"detail": "image_urls must contain 1-2 items"
}Lightricks
LTX 2.5 Fast Image to Video
The LTX 2.5 Fast Image to Video API animates a first frame, with an optional last frame, into a 6–20 second video with audio at 720p to 4K.
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-fast/image-to-video",
"input": {
"prompt": "The kite lifts off the beach as the girl runs into the wind, sand blowing past her feet. Audio: surf and gulls.",
"image_urls": [
"https://example.com/start-frame.png",
"https://example.com/end-frame.png"
],
"duration": 8,
"resolution": "1080p",
"fps": 25,
"generate_audio": true
}
}
'{
"code": 200,
"data": {
"task_id": "LTX25TASKEXAMPLE",
"status": "not_started",
"created_time": "2026-11-25T08:00:00"
}
}{
"detail": "image_urls must contain 1-2 items"
}{
"detail": "image_urls must contain 1-2 items"
}- 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-fast/image-to-video — Image-to-video with LTX 2.5 Fast from a first frame and an optional last frame.
Features
- Synchronized audio generated with the picture (
generate_audio, on by default). - First frame plus an optional last frame via
image_urls. - Resolutions
720p,1080p,1440p,4k; frame rates24,25,48,50fps. - Durations
6,8,10,12,14,16,18,20seconds. - Eight
camera_motionpresets.
Required parameters
prompt(string): Scene, motion, camera and sound description, up to 5,000 characters.image_urls(string[]): One or two public HTTP(S) image URLs: first frame, then the optional last frame.
Optional parameters
duration(integer):6,8,10,12,14,16,18,20seconds. Default6. At1440p,4k,48fps or50fps the maximum is10.resolution(string):720p,1080p,1440p,4k. Default1080p.aspect_ratio(string):auto,16:9or9:16. Defaultauto.fps(integer):24,25,48,50. Default25.generate_audio(boolean): Generate synchronized audio. Defaulttrue.camera_motion(string):dolly_in,dolly_out,dolly_left,dolly_right,jib_up,jib_down,static,focus_shift. Leave it out to let the model choose.
Output
The finished task returns one MP4 video in thefiles array of Query Task Status and the callback payload.
Examples
- Animate an image: a girl launching a kite on a beach, first and last frame, 8 seconds at 1080p.
- First frame only: one first frame of a cook sliding a steaming noodle bowl across the counter, 6 seconds at 720p.
Notes
image_urlsholds one or two images; a third image returns 400.durationabove10with1440p,4k,48fps or50fps returns 400.- 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 output duration and resolution. A failed task is refunded in full. See the pricing page for current rates.
Body
application/json