infery
← All models

Wan-2.1 Image-to-Video with LoRAs

wan-i2v-lora

Video editby Alibaba

Add custom LoRAs to Wan-2.1 is a image-to-video model that generates high-quality videos with high visual quality and motion diversity from images

Example

Details

Accepts
image

Pricing

Price
93.75 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.
image_urlrequiredstringURL of the input image. If the input image does not match the chosen aspect ratio, it is resized and center cropped.
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.
turbo_modebooleanIf true, the video will be generated faster with no noticeable degradation in the visual quality.
guide_scalenumberClassifier-free guidance scale. Higher values give better adherence to the prompt but may decrease quality.
aspect_ratiostringenum: auto, 16:9, 9:16, 1:1Aspect ratio of the output video.
reverse_videobooleanIf true, the video will be reversed.
negative_promptstringNegative prompt for video generation.
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.