NeuralBridge
Sign in Download IDE
Lightricks

LTX Audio-to-Video

video

LTX Audio-to-Video: video driven by a voice, song or music track. A portrait lip-syncs to the audio, the prompt and camera motion set the scene; the clip is as long as the audio, up to 20 seconds, up to 4K.

Specifications

Context window
—
Max tokens in response
—
Vendor
Lightricks
Release
—
Login
audio, images, text
Output
video

Capabilities

img2vidfirst_last_frame

Description

What it does

  • Video from audio: a voice, song or music track sets the clip length and the rhythm of motion.
  • Talking portrait: an image with a face becomes the first frame and the face speaks or sings in sync with the audio (lip-sync).
  • First and last frame: the video moves from the first image to the last. A last frame works only together with a first one.
  • Without an image the prompt describes the scene and is required.
  • Camera motion: dolly_in, dolly_out, dolly_left, dolly_right, jib_up, jib_down, static, focus_shift.
  • Resolution: 1280x720, 720x1280, 1920x1080, 1080x1920, 2560x1440, 1440x2560, 3840x2160, 2160x3840. If not set — 1080p following the image orientation (1920x1080 without an image). Frame rate 24 (default), 25, 48 or 50 fps.
  • The clip is as long as the audio: 2 to 20 seconds at 720p and 1080p, up to 10 seconds at 1440p and 4K. The clip soundtrack is your audio.
  • Prompt up to 5000 characters, English works best.

File requirements

  • Audio: WAV, MP3, M4A or OGG, up to 32 MB. Images: PNG, JPEG or WebP, up to 15 MB.
  • https links only; the file server must return the right Content-Type (for example audio/mpeg, image/jpeg).

How to call

POST /v1/videos/references with a JSON body. Files go in media: [{"type": "audio" | "first_frame" | "last_frame", "url": "https://…"}]. Fields: prompt, resolution, fps, camera_motion; there is no length field.

{"model": "lightricks/audio-to-video-08130", "prompt": "The person speaks warmly to the camera, soft studio light", "resolution": "1920x1080", "camera_motion": "dolly_in", "media": [{"type": "audio", "url": "https://example.com/voice.mp3"}, {"type": "first_frame", "url": "https://example.com/portrait.jpg"}]}

Response

The response arrives when the video is ready: usually in 0.5 to 2 minutes. Set a client timeout of at least 10 minutes and send an Idempotency-Key header: repeating a request with the same key does not start a second paid generation; it returns the clip already paid for. data[0].url is a link to the MP4 file (it lives one day, save the file right away).

Errors

  • 400: invalid input; the error text names the field. input_audio_invalid: the audio is shorter than 2 s or longer than the limit for the resolution. input_invalid_media: a file behind a link has the wrong format. input_moderation: a file could not be downloaded or did not pass the content check. Rejected requests are not billed.
  • 402: not enough funds on the balance. 429: the model is overloaded. 502 or 504: the video was not received; nothing is charged.

Price

You pay per second of audio, exactly by its length. The rate depends on the resolution (720p, 1080p, 1440p, 4K). The prices are shown on this page.

Parameters

resolutiondefault: auto · auto · 1280x720 · 720x1280 · 1920x1080 · 1080x1920 · 2560x1440 · 1440x2560 · 3840x2160 · 2160x3840
Video resolution, for example 720P or 1080P. Also affects the price.
prompt_extenddefault: true
Let the model expand and refine a short prompt before generating.
prompt
The request text: what you want to get. For video: the scene, camera movement and light; for music: genre, mood, instruments, tempo. The length limit depends on the model.
fpsdefault: 24 · 24 · 25 · 48 · 50
Frame rate of the finished video.
camera_motiondefault: none · none · dolly_in · dolly_out · dolly_left · dolly_right · jib_up · jib_down · static · focus_shift
How the camera moves: push in, pull out, truck left or right, crane up or down, static, focus shift.
media
A list of files {type, url}: first_frame, last_frame, reference_image, reference_video (https only), reference_audio.
audio_sets_length
The clip is as long as the input audio; there is no length field.
audio_seconds
How many seconds the input audio may last.
audio_seconds_hi_res
The audio length limit at 1440p and 4K resolution.
reference_audio_mb
Megabytes per audio clip.
reference_audio_formatsaudio/wav · audio/mpeg · audio/mp4 · audio/ogg
Which audio formats the model accepts.
reference_image_mb
Megabytes per image.
reference_image_formatsimage/jpeg · image/png · image/webp
Which image formats the model accepts as input.

Endpoints

POSThttps://api.neuralbridge.ru/v1/videos/referencesprimary
Videos — references — Video from reference images (first and last frame, references).

Code examples

bash
curl https://api.neuralbridge.ru/v1/videos/references \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "lightricks/audio-to-video-08130", "prompt": "Плавный переход между кадрами", "images": ["data:image/png;base64,...", "data:image/png;base64,..."]}'
For OpenAI SDK, specify /v1 in base_url. For Anthropic SDK — without /v1.
Prices
Video second / second15,75 ₽
Video second 720p / second9,45 ₽
Video second 1080p / second15,75 ₽
Video second 1440p / second28,35 ₽
Video second 4K / second53,55 ₽
The request cost in rubles — in the response, field usage.cost
Identifier
lightricks/audio-to-video-08130
Get API key