← All models
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
| Field | Type | Description |
|---|---|---|
| seed | — | Random seed for reproducibility. If None, a random seed is chosen. |
| loras | array | LoRA weights to be used in the inference. |
| shift | number | Shift parameter for video generation. |
| promptrequired | string | The text prompt to guide video generation. |
| image_urlrequired | string | URL of the input image. If the input image does not match the chosen aspect ratio, it is resized and center cropped. |
| num_frames | — | Number 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. |
| resolution | stringenum: 480p, 720p | Resolution of the generated video (480p or 720p). 480p is 0.5 billing units, and 720p is 1 billing unit. |
| turbo_mode | boolean | If true, the video will be generated faster with no noticeable degradation in the visual quality. |
| guide_scale | number | Classifier-free guidance scale. Higher values give better adherence to the prompt but may decrease quality. |
| aspect_ratio | stringenum: auto, 16:9, 9:16, 1:1 | Aspect ratio of the output video. |
| reverse_video | boolean | If true, the video will be reversed. |
| negative_prompt | string | Negative prompt for video generation. |
| frames_per_second | — | Frames per second of the generated video. Must be between 5 to 24. |
| num_inference_steps | integer | Number of inference steps for sampling. Higher values give better quality but take longer. |
| enable_safety_checker | boolean | If set to true, the safety checker will be enabled. Disabling it requires account authorization; unauthorized requests are always checked. |
| enable_prompt_expansion | boolean | Whether to enable prompt expansion. |
Output
| Field | Type | Description |
|---|---|---|
| seed | integer | The seed used for generation. |
| video | — | The generated video file. |