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>"
}
}Video Models
Wan 3.0 Video
Wan 3.0 standard: text-to-video, first/last frames and multimodal references.
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>"
}
}Body
application/json
Available options:
wan3.0-video Required prompt.
Required string length:
1 - 20000Available options:
480P, 720P, 1080P Requested output duration in seconds; -1 is not accepted.
Required range:
2 <= x <= 30Optional; the model adapts the output aspect ratio when omitted.
Available options:
16:9, 9:16, 1:1, 4:3, 3:4 Generate audio; does not affect credits.
Up to 10 asset images; frame control permits one first frame and one optional last frame.
Maximum array length:
10Show child attributes
Show child attributes
Maximum array length:
5Show child attributes
Show child attributes
Must accompany asset image or video references.
Maximum array length:
5Show child attributes
Show child attributes

