infery
← All models

LTX-2 19B Distilled

ltx-2-19b-distilled-audio-to-video

Video generationby Lightricks

Generate video with audio from audio, text and images using LTX-2 Distilled

Example

Details

Accepts
text + image + video + audio

Pricing

Price
0.100 cr / megapixel

Prices in credits (1 credit = $0.01).

Data schema

Input

FieldTypeDescription
fpsnumberThe frames per second of the generated video.
seedThe seed for the random number generator.
promptrequiredstringThe prompt used for the generation.
image_urlstringThe URL of the image to generate the video from.
sync_modebooleanIf `True`, the media will be returned as a data URI and the output data won't be available in the request history.
num_framesintegerThe number of frames to generate.
video_sizeThe size of the generated video.
camera_lorastringenum: dolly_in, dolly_out, dolly_left, dolly_right, jib_up, jib_downThe camera LoRA to use. This allows you to control the camera movement of the generated video more accurately than just prompting the model to move the camera.
accelerationstringenum: none, regular, high, fullThe acceleration level to use.
end_image_urlThe URL of the image to use as the end of the video.
video_qualitystringenum: low, medium, high, maximumThe quality of the generated video.
generate_audiobooleanWhether to generate audio for the video.
image_strengthnumberThe strength of the image to use for the video generation.
use_multiscalebooleanWhether to use multi-scale generation. If True, the model will generate the video at a smaller scale first, then use the smaller video to guide the generation of a video at or above your requested size. This results in better coherence and details.
negative_promptstringThe negative prompt to generate the video from.
video_write_modestringenum: fast, balanced, smallThe write mode of the generated video.
camera_lora_scalenumberThe scale of the camera LoRA to use. This allows you to control the camera movement of the generated video more accurately than just prompting the model to move the camera.
video_output_typestringenum: X264 (.mp4), VP9 (.webm), PRORES4444 (.mov), GIF (.gif)The output type of the generated video.
end_image_strengthnumberThe strength of the end image to use for the video generation.
enable_safety_checkerbooleanWhether to enable the safety checker.
enable_prompt_expansionbooleanWhether to enable prompt expansion.
interpolation_directionstringenum: forward, backwardThe direction to interpolate the image sequence in. 'Forward' goes from the start image to the end image, 'Backward' goes from the end image to the start image.
audio_urlstringThe URL of the audio to generate the video from.
audio_strengthnumberAudio conditioning strength. Values below 1.0 will allow the model to change the audio, while a value of exactly 1.0 will use the input audio without modification.
preprocess_audiobooleanWhether to preprocess the audio before using it as conditioning.
match_audio_lengthbooleanWhen enabled, the number of frames will be calculated based on the audio duration and FPS. When disabled, use the specified num_frames.
ic_lorastringenum: match_preprocessor, canny, depth, pose, detailer, noneThe type of IC-LoRA to load. In-Context LoRA weights are used to condition the video based on edge, depth, or pose videos. Only change this from `match_preprocessor` if your videos are already preprocessed (or you are using the detailer.)
video_urlstringThe URL of the video to generate the video from.
preprocessorstringenum: depth, canny, pose, noneThe preprocessor to use for the video. When a preprocessor is used and `ic_lora_type` is set to `match_preprocessor`, the IC-LoRA will be loaded based on the preprocessor type.
ic_lora_scalenumberThe scale of the IC-LoRA to use. This allows you to control the strength of the IC-LoRA.
video_strengthnumberVideo conditioning strength. Lower values represent more freedom given to the model to change the video content.
match_input_fpsbooleanWhen true, match the output FPS to the input video's FPS instead of using the default target FPS.
match_video_lengthbooleanWhen enabled, the number of frames will be calculated based on the video duration and FPS. When disabled, use the specified num_frames.

Output

FieldTypeDescription
seedintegerThe seed used for the random number generator.
videoThe generated video.
promptstringThe prompt used for the generation.