Wan 3.0 多模态视频
The text prompt or description for the video.
Optional image URL used as the first frame.
拖拽图片至此处,或点击浏览
支持 PNG, JPEG, WebP。最大 20MB。您也可以从剪贴板粘贴 (Ctrl+V)。
Optional image URL used as the last frame.
拖拽图片至此处,或点击浏览
支持 PNG, JPEG, WebP。最大 20MB。您也可以从剪贴板粘贴 (Ctrl+V)。
最多 10 张参考图片。
拖拽图片至此处,或点击浏览
支持 PNG, JPEG, WebP。最大 20MB。您也可以从剪贴板粘贴 (Ctrl+V)。
最多 5 段视频,总时长不超过 15 秒;输入与输出视频时长之和不超过 30 秒。
拖拽视频至此处,或点击浏览
支持 MP4, MOV, WebM。最大 100MB。
最多 5 段音频,总时长不超过 15 秒,支持仅使用音频参考。
拖拽音频至此处,或点击浏览
支持 MP3, WAV, X-WAV, AAC, MP4, OGG。最大 15MB。
The output video resolution.
The aspect ratio of the generated video.
Video duration in seconds.
Whether to generate AI audio synchronized with the video.
一个公开文档 URL,不能与网页或首尾帧同时使用。
一个公开网页 URL,不能与文档或首尾帧同时使用。
结果
结果将在此处显示
费用: $0.1/秒
提交时预扣:$0.5(5 秒)
Wan 3.0 API 实现指南
Wan 3.0 关键信息
模型能力
- 多模态视频
计费标准
按分辨率计算的每 秒 价格
| 480P | 720P | 1080P |
|---|---|---|
| $0.05/秒 | $0.1/秒 | $0.2/秒 |
使用参考视频时按输入与输出总时长计费,自动时长按实际消耗结算。
应用场景
输出格式
Wan 3.0 API 文档
先在体验区运行,再打开完整 API 文档查看集成细节。
简介
选择文本、首尾帧或参考素材。首尾帧不能与参考素材混用;使用尾帧时必须提供首帧。
代码示例
1curl -X POST https://api.modelhunter.ai/api/v1/wan/multimodal-video \2-H "Authorization: Bearer YOUR_API_KEY" \3-H "Content-Type: application/json" \4-d '{5"model": "wan/3-0-video",6"input": {7"prompt": "A futuristic cityscape at sunset with neon signs",8"audio": "true",9"resolution": "720P"10}11}'
Schema
查看完整 API 文档输入
model当前能力对应的模型 ID。
值: wan/3-0-video
promptThe text prompt or description for the video.
first_frame_urlOptional image URL used as the first frame.
last_frame_urlOptional image URL used as the last frame.
reference_image_urls最多 10 张参考图片。
reference_video_urls最多 5 段视频,总时长不超过 15 秒;输入与输出视频时长之和不超过 30 秒。
reference_audio_urls最多 5 段音频,总时长不超过 15 秒,支持仅使用音频参考。
audioWhether to generate AI audio synchronized with the video.
默认值: true
resolutionThe output video resolution.
可选值: 480P, 720P, 1080P
默认值: 720P
aspect_ratioThe aspect ratio of the generated video.
可选值: adaptive, 16:9, 4:3, 1:1, 3:4, 9:16
默认值: 16:9
durationVideo duration in seconds.
可选值: -1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30
默认值: 5
reference_file_urls一个公开文档 URL,不能与网页或首尾帧同时使用。
reference_link_urls一个公开网页 URL,不能与文档或首尾帧同时使用。
seedSeed
范围: 0 到 2147483647
webhookUrl任务完成后接收 Webhook 通知的 URL。
metadata用于跟踪任务的自定义键值元数据。
响应 (HTTP 202)
success请求是否已成功受理。
data.id唯一任务 ID,可轮询 GET /api/v1/tasks/{id} 获取结果。
data.status任务状态: pending, processing, completed, failed.
data.type生成类型: multimodal-video.
data.provider服务商: wan.
data.model本次生成使用的模型 ID。
data.created_at任务创建时间(ISO 8601)。
data.estimated_seconds任务完成的预估秒数。