← All models
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
- 50 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. |
| 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. |
| guide_scale | number | Classifier-free guidance scale. Higher values give better adherence to the prompt but may decrease quality. |
| acceleration | stringenum: none, regular | Acceleration level to use. The more acceleration, the faster the generation, but with lower quality. The recommended value is 'regular'. |
| aspect_ratio | stringenum: auto, 16:9, 9:16, 1:1 | Aspect ratio of the generated video. If 'auto', the aspect ratio will be determined automatically based on the input image. |
| 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. |