wan_generate_video_from_image
Generate AI videos from a reference image by describing motion and content. Choose from standard, fast, or reference video models for tailored video creation.
Instructions
Generate AI video from a reference image using Wan image-to-video models.
This supports three models:
- wan2.6-i2v: Standard image-to-video generation
- wan2.6-r2v: Reference video-to-video with character/timbre extraction
- wan2.6-i2v-flash: Fast image-to-video generation
Returns:
Task ID and generated video information including URLs and state.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Description of the video motion and content. Describe what should happen in the video. | |
| image_url | Yes | URL of the reference image for video generation. The video will be generated based on this image. | |
| model | No | Model to use. Options: 'wan2.6-i2v' (standard image-to-video), 'wan2.6-r2v' (reference video-to-video), 'wan2.6-i2v-flash' (fast image-to-video). Default: 'wan2.6-i2v'. | wan2.6-i2v |
| negative_prompt | No | Content to exclude from the video. Maximum 500 characters. | |
| duration | No | Video duration in seconds. Options: 5, 10, or 15. | |
| resolution | No | Video resolution. Options: '480P', '720P' (default), '1080P'. | 720P |
| reference_video_urls | No | Comma-separated URLs of reference videos for character/timbre extraction. Used with wan2.6-r2v model. | |
| shot_type | No | Shot type: 'single' for continuous shot, 'multi' for multi-cut editing. | |
| audio | No | Whether the generated video should include audio. Default is false. | |
| audio_url | No | URL of reference audio to use in the video. | |
| prompt_extend | No | Enable LLM-based prompt rewriting. Default is false. | |
| size | No | The size of the generated video (e.g., '1280x720'). | |
| timeout | No | Timeout in seconds. Default is 1800. | |
| callback_url | No | Webhook callback URL for asynchronous notifications. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |