falVideo to videoComing soon

fal-ai/ltx-2.3-22b/extend-video

fal-ai/ltx-2.3-22b/extend-video is a video to video tool from fal that runs in the background and returns video. Coming soon: listed with its price, not yet open to runs.

This tool is listed but not yet available to run.

Price pending

Pricing

Price pending.

Limits

Runs
In the background
Returns
video
Longest queue wait
3600s
Run deadline
1800s
Largest inline input
1024 KB
Largest input file
500 MB
Largest output
4768 MB
Outputs per run
16

Input

FieldKindDefaultDescription
prompt requiredtext—The prompt to generate the video from.
video_url requiredURL or file—The URL of the video to extend.
end_image_urlURL or file—The URL of the image to use as the end of the extended video.
num_framesnumber (whole)
9 to 481
121The number of frames to generate.
video_sizeJSONautoThe size of the generated video.
generate_audiotrue or falsetrueWhether to generate audio for the video.
use_multiscaletrue or falsetrueWhether 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.
match_input_fpstrue or falsetrueWhen true, match the output FPS to the input video's FPS instead of using the default target FPS.
fpsnumber
1 to 60
24The frames per second of the generated video.
num_inference_stepsnumber (whole)
8 to 50
40The number of inference steps to use.
video_cfg_scalenumber
1 to 20
3The Classifier-Free Guidance (CFG) scale for the video. Higher values result in more consistent and focused video content.
video_stg_scalenumber
0 to 20
0The Spatiotemporal Guidance (STG) scale for the video. Higher values result in more consistent and focused video content.
video_rescaling_scalenumber
0 to 1
0.7The rescaling scale for the video. Controls the ratio between classifier-free guidance and spatiotemporal guidance.
video_modality_scalenumber
0 to 10
3The modality scale for the video. Controls the ratio between video and audio modalities.
audio_cfg_scalenumber
1 to 20
7The Classifier-Free Guidance (CFG) scale for the audio. Higher values result in more consistent and focused audio content.
audio_stg_scalenumber
0 to 20
0The Spatiotemporal Guidance (STG) scale for the audio. Higher values result in more consistent and focused audio content.
audio_rescaling_scalenumber
0 to 1
0.7The rescaling scale for the audio. Controls the ratio between classifier-free guidance and spatiotemporal guidance.
audio_modality_scalenumber
0 to 10
3The modality scale for the audio. Controls the ratio between video and audio modalities.
gradient_estimation_gammanumber
0 to 10
2The gamma of gradient estimation during denoising. Set to 0 to disable.
use_restart_samplingtrue or falsefalseWhether to use restart sampling. This will inject a small amount of noise during each denoising step, which can help improve the quality of the generated video.
schedulerone of
ltx2, linear_quadratic, beta
ltx2The scheduler to use.
accelerationone of
none, regular, high, full
regularThe acceleration level to use.
camera_loraone of
dolly_in, dolly_out, dolly_left, dolly_right, jib_up, jib_down, static, none
noneThe 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.
camera_lora_scalenumber
0 to 1
1The 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.
negative_prompttextnews broadcast, 3d animation, computer graphics, pc game, console game, video game, cartoon, childish, watermark, logo, text, on screen text, subtitles, titles, signature, slowmo, staticThe negative prompt to generate the video from.
seednumber (whole)—The seed for the random number generator.
enable_prompt_expansiontrue or falsetrueWhether to enable prompt expansion.
video_output_typeone of
X264 (.mp4), VP9 (.webm), PRORES4444 (.mov), GIF (.gif)
X264 (.mp4)The output type of the generated video.
video_qualityone of
low, medium, high, maximum
highThe quality of the generated video.
video_write_modeone of
fast, balanced, small
balancedThe write mode of the generated video.
distill_lora_first_pass_scalenumber
0 to 1
0.2The scale of the distill LoRA to use for the first pass. Set to 0 to disable.
distill_lora_second_pass_scalenumber
0 to 1
0.5The scale of the distill LoRA to use for the second and subsequent passes.
extend_directionone of
forward, backward
forwardDirection to extend the video. 'forward' extends from the end of the video, 'backward' extends from the beginning.
num_context_framesnumber (whole)
0 to 121
25The number of frames to use as context for the extension.
video_strengthnumber
0 to 1
1Video conditioning strength. Lower values represent more freedom given to the model to change the video content.
audio_strengthnumber
0 to 1
1Audio conditioning strength. Lower values represent more freedom given to the model to change the audio content.
end_image_strengthnumber
0 to 1
1The strength of the end image to use for the video generation.

Same request in code

curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "fal",
    "model": "fal-ai/ltx-2.3-22b/extend-video",
    "input": {
      "prompt": "Continue the scene naturally, maintaining the same style and motion.",
      "video_url": "https://v3b.fal.media/files/b/0a8824b1/sdm0KfmenrlywesfzY1Y1_if6euPp1.mp4"
    }
  }'