参数
| 参数名 | 描述 | 类型 | 必填 | 枚举值 |
|---|---|---|---|---|
| image_url | Input character image URL (HTTP/HTTPS, publicly accessible, no Chinese or non-ASCII characters). Format: JPG/JPEG/PNG/BMP/WEBP. Size: width and height both in [200, 4096] pixels, aspect ratio 1:3 to 3:1. File size: ≤ 5MB. Content requirement: single person facing camera, full face visible without obstruction, moderate proportion in frame (avoid too large or too small) | string | 是 | - |
| mode | Model service mode. Options: (1) ‘wan-std’: Standard mode - faster generation speed, cost-effective, suitable for quick preview and basic animation scenarios; (2) ‘wan-pro’: Professional mode - higher animation smoothness and better quality, longer processing time and higher cost, suitable for final production output | string | 是 | wan-std, wan-pro |
| video_url | Reference motion video URL (HTTP/HTTPS, publicly accessible, no Chinese or non-ASCII characters). Format: MP4/AVI/MOV. Duration: 2-30 seconds. Size: width and height both in [200, 2048] pixels, aspect ratio 1:3 to 3:1. File size: ≤ 200MB. Content requirement: single person facing camera, full face visible without obstruction, moderate proportion in frame. Tip: Higher resolution and frame rate of reference video can improve output quality | string | 是 | - |
| check_image | Whether to perform image detection. When true (default), the API validates the input image for quality and content requirements. When false, skips image detection for faster processing. Set to false only when you’re confident the image meets all requirements | boolean | 否 | true, false |
价格
单位: $/sec
| 维度 | 价格 |
|---|---|
| mode: wan-std | 0.0744 |
| mode: wan-pro | 0.1115 |
