falImage to videoComing soon

fal-ai/wan/v2.2-a14b/image-to-video/lora

fal-ai/wan/v2.2-a14b/image-to-video/lora is an image 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
3600s
Largest inline input
1024 KB
Largest input file
500 MB
Largest output
4768 MB
Outputs per run
16

Input

FieldKindDefaultDescription
image_url requiredURL or file—URL of the input image. If the input image does not match the chosen aspect ratio, it is resized and center cropped.
prompt requiredtext—The text prompt to guide video generation.
num_framesnumber (whole)
17 to 161
81Number of frames to generate. Must be between 17 to 161 (inclusive).
frames_per_secondnumber (whole)
4 to 60
16Frames per second of the generated video. Must be between 4 to 60. When using interpolation and `adjust_fps_for_interpolation` is set to true (default true,) the final FPS will be multiplied by the number of interpolated frames plus one. For example, if the generated frames per second is 16 and the number of interpolated frames is 1, the final frames per second will be 32. If `adjust_fps_for_interpolation` is set to false, this value will be used as-is.
negative_prompttextNegative prompt for video generation.
seednumber (whole)—Random seed for reproducibility. If None, a random seed is chosen.
resolutionone of
480p, 580p, 720p
720pResolution of the generated video (480p, 580p, or 720p).
aspect_ratioone of
auto, 16:9, 9:16, 1:1
autoAspect ratio of the generated video. If 'auto', the aspect ratio will be determined automatically based on the input image.
num_inference_stepsnumber (whole)
2 to 40
27Number of inference steps for sampling. Higher values give better quality but take longer.
enable_prompt_expansiontrue or falsefalseWhether to enable prompt expansion. This will use a large language model to expand the prompt with additional details while maintaining the original meaning.
accelerationone of
none, regular
regularAcceleration level to use. The more acceleration, the faster the generation, but with lower quality. The recommended value is 'regular'.
guidance_scalenumber
1 to 10
3.5Classifier-free guidance scale. Higher values give better adherence to the prompt but may decrease quality.
guidance_scale_2number
1 to 10
4Guidance scale for the second stage of the model. This is used to control the adherence to the prompt in the second stage of the model.
shiftnumber
1 to 10
5Shift value for the video. Must be between 1.0 and 10.0.
interpolator_modelone of
none, film, rife
filmThe model to use for frame interpolation. If None, no interpolation is applied.
num_interpolated_framesnumber (whole)
0 to 4
1Number of frames to interpolate between each pair of generated frames. Must be between 0 and 4.
adjust_fps_for_interpolationtrue or falsetrueIf true, the number of frames per second will be multiplied by the number of interpolated frames plus one. For example, if the generated frames per second is 16 and the number of interpolated frames is 1, the final frames per second will be 32. If false, the passed frames per second will be used as-is.
video_qualityone of
low, medium, high, maximum
highThe quality of the output video. Higher quality means better visual quality but larger file size.
video_write_modeone of
fast, balanced, small
balancedThe write mode of the output video. Faster write mode means faster results but larger file size, balanced write mode is a good compromise between speed and quality, and small write mode is the slowest but produces the smallest file size.
lorasJSON[]LoRA weights to be used in the inference.
reverse_videotrue or falsefalseIf true, the video will be reversed.
end_image_urlURL or file—URL of the end image.

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/wan/v2.2-a14b/image-to-video/lora",
    "input": {
      "image_url": "https://storage.googleapis.com/falserverless/gallery/car_720p.png",
      "prompt": "Cars racing in slow motion"
    }
  }'