infery
← All models

Wan-2.1 First-Last-Frame-to-Video

wan-flf2v

Video editby Alibaba

Wan-2.1 flf2v generates dynamic videos by intelligently bridging a given first frame to a desired end frame through smooth, coherent motion sequences.

Example

Details

Accepts
image

Pricing

Price
50 cr / video

Prices in credits (1 credit = $0.01).

Data schema

Input

FieldTypeDescription
seedRandom seed for reproducibility. If None, a random seed is chosen.
lorasarrayLoRA weights to be used in the inference.
shiftnumberShift parameter for video generation.
promptrequiredstringThe text prompt to guide video generation.
num_framesNumber of frames to generate. Must be between 81 to 100 (inclusive). If the number of frames is greater than 81, the video will be generated with 1.25x more billing units.
resolutionstringenum: 480p, 720pResolution of the generated video (480p or 720p). 480p is 0.5 billing units, and 720p is 1 billing unit.
guide_scalenumberClassifier-free guidance scale. Higher values give better adherence to the prompt but may decrease quality.
accelerationstringenum: none, regularAcceleration level to use. The more acceleration, the faster the generation, but with lower quality. The recommended value is 'regular'.
aspect_ratiostringenum: auto, 16:9, 9:16, 1:1Aspect ratio of the generated video. If 'auto', the aspect ratio will be determined automatically based on the input image.
end_image_urlrequiredstringURL of the ending image. If the input image does not match the chosen aspect ratio, it is resized and center cropped.
negative_promptstringNegative prompt for video generation.
start_image_urlrequiredstringURL of the starting image. If the input image does not match the chosen aspect ratio, it is resized and center cropped.
frames_per_secondFrames per second of the generated video. Must be between 5 to 24.
num_inference_stepsintegerNumber of inference steps for sampling. Higher values give better quality but take longer.
enable_safety_checkerbooleanIf set to true, the safety checker will be enabled. Disabling it requires account authorization; unauthorized requests are always checked.
enable_prompt_expansionbooleanWhether to enable prompt expansion.

Output

FieldTypeDescription
seedintegerThe seed used for generation.
videoThe generated video file.