curl 'https://api.kerox.ai/v1/tasks' \
-H "Authorization: Bearer $KEROX_API_KEY" \
-H 'Content-Type: application/json' \
--data-binary '{
"model": "alibaba/wan-3.0",
"input": {
"prompt": "a red fox running through fresh snow, cinematic lighting",
"resolution": "1080p",
"duration": 5,
"aspect_ratio": "16:9"
}
}'响应示例
{
"id": "task_01JD8X9B4Q2M7T8N3K5P6R1S0V",
"object": "task",
"model": "alibaba/wan-3.0",
"status": "processing"
}可传入的参数
参数一律用统一格式的名字,各模型通用。
| 参数名 | 类型 | 必填 | 默认值 | 可选值 | 作用 |
|---|---|---|---|---|---|
prompt | string | — | — | — | 提示词 |
images | string | string[] | — | — | — | 参考图 |
videos | string | string[] | — | — | — | 参考视频 |
audios | string | string[] | — | — | — | 参考音频 |
first_frame | string | — | — | — | 首帧 |
last_frame | string | — | — | — | 尾帧 |
aspect_ratio | string | — | "auto" | auto, 16:9, 4:3, 1:1, 3:4, 9:16 | 画面比例 |
resolution | string | — | "1080p" | 480p, 720p, 1080p | 分辨率 |
暂不支持: watermark
定价
5 秒 · 480p
$0.2000
$0.2500比官方价低 20%10 秒 · 720p
$0.8000
$1.0000比官方价低 20%15 秒 · 1080p
$2.4000
$3.0000比官方价低 20%
常见用法参考价
| 片段 | 官方价 | Kerox | 比官方价低 |
|---|---|---|---|
| 5 秒 · 480p | $0.2000 | 20% | |
| 10 秒 · 480p | $0.4000 | 20% | |
| 15 秒 · 480p | $0.6000 | 20% | |
| 5 秒 · 720p | $0.4000 | 20% | |
| 10 秒 · 720p | $0.8000 | 20% | |
| 15 秒 · 720p | $1.2000 | 20% | |
| 5 秒 · 1080p | $0.8000 | 20% | |
| 10 秒 · 1080p | $1.6000 | 20% | |
| 15 秒 · 1080p | $2.4000 | 20% | |
| $10 能做多少 | 250 秒 480p 视频 | ||
| 档位 | 官方价 | Kerox |
|---|---|---|
| 480p | $0.0400 | |
| 720p | $0.0800 | |
| 1080p | $0.1600 |
提交任务前可用 POST /v1/estimate 估价。
Wan 3.0 生成的作品

Dozens of colorful hot air balloons rise slowly over a misty river valley at dawn, burners glowing as they fire. The camera drifts upward alongside one red balloon, soft golden light, cinematic.
1280×720 · 5s用这个提示词试试

首帧1280×720 · 5sThe moored boats rock gently on the calm water as small ripples spread across the reflections, and a few gulls take off from the breakwater. The sky slowly brightens. The camera pushes in slowly.
1280×720 · 5s用这个提示词试试
关于 Wan 3.0
Wan 3.0,Alibaba 的视频生成模型。


