← All models
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
| Field | Type | Description |
|---|---|---|
| seed | — | Random seed for reproducibility. If None, a random seed is chosen. |
| promptrequired | string | The prompt describing how the video should continue. |
| sync_mode | boolean | If True, the media is returned as a data URI inline in the response. Useful for short-lived requests and tests. |
| video_urlrequired | string | The URL of the video to extend. |
| num_frames | integer | The 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… |
| resolution | — | The 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_url | — | Optional keyframe image for the far end of the extension: the final frame for forward extension, or the new first frame for backward extension. |
| video_quality | stringenum: low, medium, high, maximum | The quality preset of the generated video. |
| generate_audio | boolean | Whether 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_scale | number | Classifier-free guidance scale. The default is tuned for fast, high-quality generation. |
| video_strength | number | Conditioning 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_fps | boolean | When 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_prompt | string | The negative prompt to steer generation away from. |
| extend_direction | stringenum: forward, backward | Direction to extend the video. 'forward' continues from the end of the video, 'backward' generates a new beginning. |
| video_write_mode | stringenum: fast, balanced, small | The write mode of the generated video. |
| frames_per_second | number | Frames per second of the generated video. |
| end_image_strength | number | Conditioning strength of the optional end keyframe. 1.0 = exact match, lower = more freedom for the model. |
| num_context_frames | integer | The 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_steps | integer | Number of inference steps. Defaults to 15 and can be increased up to 30. |
| enable_safety_checker | boolean | Whether to enable the safety checker. |
| enable_prompt_expansion | boolean | Whether to enable prompt expansion. |
Output
| Field | Type | Description |
|---|---|---|
| seed | integer | The seed actually used for generation. |
| video | — | The generated video. |
| prompt | string | The prompt used for generation (after any expansion). |