infery
← All models

Ltx 2.3 Quality

ltx-2.3-quality-extend-video

Video generationby Lightricks

Extend high-quality video with audio from input video using LTX-2.3

Example

Details

Accepts
video

Pricing

Price
0.301 cr / megapixel

Prices in credits (1 credit = $0.01).

Data schema

Input

FieldTypeDescription
seedRandom seed for reproducibility. If None, a random seed is chosen.
promptrequiredstringThe prompt describing how the video should continue.
sync_modebooleanIf True, the media is returned as a data URI inline in the response. Useful for short-lived requests and tests.
video_urlrequiredstringThe URL of the video to extend.
num_framesintegerThe number of frames to generate for the extension segment, including num_context_frames of overlap with the source video. The new content adds approximately (num_frames - num_context_frames) / frames_per_second seconds. The stable generation budget caps the resolution x frames volume: at 24 fps rou…
resolutionThe size of the generated video. 'auto' follows the source video size/aspect up to the LTX limits; the source is scaled to the final size in the stitched output. Sizes are 32px-aligned (e.g. 1920x1080 is delivered as 1888x1056). Higher resolutions reduce the maximum stable extension length; lower re…
end_image_urlOptional keyframe image for the far end of the extension: the final frame for forward extension, or the new first frame for backward extension.
video_qualitystringenum: low, medium, high, maximumThe quality preset of the generated video.
generate_audiobooleanWhether to generate new audio for the extension segment (crossfaded with the source audio at the seam). When disabled, the source video's own audio track is preserved and the extension stays silent.
guidance_scalenumberClassifier-free guidance scale. The default is tuned for fast, high-quality generation.
video_strengthnumberConditioning strength of the source context frames. 1.0 keeps the overlap locked to the source for a seamless transition; lower values give the model more freedom.
match_input_fpsbooleanWhen enabled, the output FPS matches the source video's FPS (rounded to an integer and clamped to the supported range) instead of frames_per_second.
negative_promptstringThe negative prompt to steer generation away from.
extend_directionstringenum: forward, backwardDirection to extend the video. 'forward' continues from the end of the video, 'backward' generates a new beginning.
video_write_modestringenum: fast, balanced, smallThe write mode of the generated video.
frames_per_secondnumberFrames per second of the generated video.
end_image_strengthnumberConditioning strength of the optional end keyframe. 1.0 = exact match, lower = more freedom for the model.
num_context_framesintegerThe number of source frames used as context/overlap for the extension. Snapped down to the LTX temporal grid (8k+1) and clamped to the frames available in the source video.
num_inference_stepsintegerNumber of inference steps. Defaults to 15 and can be increased up to 30.
enable_safety_checkerbooleanWhether to enable the safety checker.
enable_prompt_expansionbooleanWhether to enable prompt expansion.

Output

FieldTypeDescription
seedintegerThe seed actually used for generation.
videoThe generated video.
promptstringThe prompt used for generation (after any expansion).