Wan 视频 API
也可使用
/v1/videos。API 主机: https://api.omniall.ai · 鉴权 Authorization: Bearer sk-...。
最多 10 张参考图、5 段音频、5 段视频;时长最长 30 秒。
不要同时使用
images 与首尾帧。
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
通义万相 / Wan 异步视频(wan2.1 480P/720P/1080P)。
| 说明 | 方法 | 路径 |
|---|---|---|
| 创建 | POST | /v1/video/generations |
| 查询 | GET | /v1/video/generations/{task_id} |
/v1/videos。API 主机: https://api.omniall.ai · 鉴权 Authorization: Bearer sk-...。
| 模型 | 说明 |
|---|---|
wan2.1-480P | 480P |
wan2.1-720P | 720P |
wan2.1-1080P | 1080P |
| 场景 | 关键字段 |
|---|---|
| 文生视频 | prompt + duration + ratio + 可选 generate_audio |
| 多图参考 | images / reference_images |
| 多模态 | reference_images + reference_videos + reference_audios |
| 首尾帧 | first_frame / last_frame |
images 与首尾帧。
curl -X POST "https://api.omniall.ai/v1/video/generations" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "wan2.1-720P",
"prompt": "樱花飘落在安静的寺院庭院",
"duration": 5,
"ratio": "16:9"
}'