curl --request POST \
--url https://openapi.imini.ai/imini/router/v1/videos/generate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "wan3.0-video",
"prompt": "A slow camera move across a garden in morning light.",
"resolution": "720P",
"duration": 5
}
'
{
"task_id": "<string>",
"model": "wan3.0-video",
"created_at": "<string>",
"request_id": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"status": 123,
"request_id": "<string>"
}
}视频模型 API
Wan 3.0 Video
Wan 3.0 普通版,支持文生视频、首尾帧和多模态参考。
POST
/
v1
/
videos
/
generate
curl --request POST \
--url https://openapi.imini.ai/imini/router/v1/videos/generate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "wan3.0-video",
"prompt": "A slow camera move across a garden in morning light.",
"resolution": "720P",
"duration": 5
}
'
{
"task_id": "<string>",
"model": "wan3.0-video",
"created_at": "<string>",
"request_id": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"status": 123,
"request_id": "<string>"
}
}请求体
application/json
可用选项:
wan3.0-video 必填提示词。
Required string length:
1 - 20000可用选项:
480P, 720P, 1080P 请求输出时长(秒),不接受 -1。
必填范围:
2 <= x <= 30可省略,由模型自动适配。
可用选项:
16:9, 9:16, 1:1, 4:3, 3:4 是否生成音频,不影响积分。
最多10张普通参考图;帧控制仅允许1张首帧及可选1张尾帧。
Maximum array length:
10Show child attributes
Show child attributes
Maximum array length:
5Show child attributes
Show child attributes
须搭配普通图片或视频参考。
Maximum array length:
5Show child attributes
Show child attributes

