Overview
MiniMax-H3-Lite,,, and.supported Text-to-Video (T2V), Image-to-Video (I2V, last frame ) and Reference-to-Video ( can Reference image, Reference video, Reference audio).input asset, no.
localized example text:
- 💰 localized example text:in, and
-🎬 input:, Reference image (≤9 images ), Reference video (≤3 ), Reference audio (≤3 )-🖼️ last frame:supported first frame / last frame image, video
-🧠 localized example text:input asset T2V / I2V / Reference-to-Video
-📐 Resolution:supported 768p (default) and 480p
-⏱️ Duration:can 4~ 15 secondsvideo
Description:Modelsupported 2K Resolution,resolutionwill as768p.2K use MiniMax-H3.
Base URL: https://mm-internal-cn.leonecloud.com ()
---## Authentication
All endpoints require a token in the request header for authentication:
Authorization: Bearer {YOUR_AUTH_TOKEN}asset
MiniMax-H3-Lite input asset,:
-last frame (firstFrameImage / lastFrameImage)andreference asset (imageUrls / videoUrls / audioUrls)localized example text, localized example text.
- Reference audio (audioUrls)localized example text, mustReference image or Reference video use.
- prompt Required, maximum 7000 characters.
- Text-to-Video canaspectRatio, default 16:9.
- ModelReference-to-Videosupported:willaspectRatio output, not when as16:9.
- asset:Reference image≤ 9 images, Reference video≤ 3, Reference audio ≤ 3 (will ).
- Reference video2~ 15 seconds, exceeds 15 seconds; Reference audioLimit.
| input asset | localized example text |
|---|---|
only prompt | Text-to-Video (T2V) |
| first frame / last frame | Image-to-Video (I2V) |
localized example textimageUrls / videoUrls / audioUrls | Reference-to-Video |
Supported Scenarios
Scenario 1: Text-to-Video (T2V)
video.Text-to-Video canaspectRatio, default 16:9.
curl -X POST "https://mm-internal-cn.leonecloud.com/api/v2/open/aigc/minimax-h3-lite" \
-H "Authorization: Bearer your_auth_token_here" \
-H "Content-Type: application/json" \
-d '{
"prompt": ",,,, in, with",
"aspectRatio": "16:9",
"resolution": "768p",
"duration": 5
}'Scenario2:Reference image-to-Video
images or multiple imagesReference image, Modelimagevideo.can in Prompt in"Image 1", "Image 2" asset (up to 9 images ).
curl -X POST "https://mm-internal-cn.leonecloud.com/api/v2/open/aigc/minimax-h3-lite" \
-H "Authorization: Bearer your_auth_token_here" \
-H "Content-Type: application/json" \
-d '{
"prompt": "Image 1in the Image 2 in the,,,",
"imageUrls": [
"https://example.com/girl.png",
"https://example.com/fox.png"
],
"resolution": "768p",
"duration": 5
}'Scenario 3: First/Last Frame to Video
first frame and / or last frame image, video.
curl -X POST "https://mm-internal-cn.leonecloud.com/api/v2/open/aigc/minimax-h3-lite" \
-H "Authorization: Bearer your_auth_token_here" \
-H "Content-Type: application/json" \
-d '{
"prompt": "when",
"firstFrameImage": "https://example.com/morning.png",
"lastFrameImage": "https://example.com/sunset.png",
"resolution": "768p",
"duration": 5
}'Note:last frame and Reference image / video / audio.
Scenario4:Reference videovideo generation
Reference video, Model reference, or video.
curl -X POST "https://mm-internal-cn.leonecloud.com/api/v2/open/aigc/minimax-h3-lite" \
-H "Authorization: Bearer your_auth_token_here" \
-H "Content-Type: application/json" \
-d '{
"prompt": "Video 1,",
"videoUrls": ["https://example.com/input.mp4"],
"resolution": "768p",
"duration": 5
}'Scenario5:reference (image+ video + audio)
when Reference image, video and audio asset video (audio).
curl -X POST "https://mm-internal-cn.leonecloud.com/api/v2/open/aigc/minimax-h3-lite" \
-H "Authorization: Bearer your_auth_token_here" \
-H "Content-Type: application/json" \
-d '{
"prompt": "Image 1 as subject, use Video 1 number image, use Audio 1 as music",
"imageUrls": ["https://example.com/subject.jpg"],
"videoUrls": ["https://example.com/ref.mp4"],
"audioUrls": ["https://example.com/bgm.mp3"],
"resolution": "768p",
"duration": 8
}'Query Task Status
curl -X GET "https://mm-internal-cn.leonecloud.com/api/v2/open/aigc/{taskId}" \
-H "Authorization: Bearer your_auth_token_here"Endpoint details
1. create MiniMax-H3-Lite task**POST** /api/v2/open/aigc/minimax-h3-lite
Create a MiniMax-H3-Lite Video Generationtask.input asset.
Content-Type: application/json
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| prompt | string | Yes | Prompt, maximum 7000 characters |
| imageUrls | string[] | No | Reference image URL list, up to 9 images |
| videoUrls | string[] | No | Reference video URL list, up to 3, localized example text≤ 15 seconds |
| audioUrls | string[] | No | Reference audio URL list, up to 3, localized example text≤ 15 seconds.localized example text |
| firstFrameImage | string | No | first frame image URL ( and Reference image/video/audio) |
| lastFrameImage | string | No | last frame image URL ( and Reference image/video/audio) |
| aspectRatio | string | No | Aspect ratio:21:9 / 16:9 / 4:3 / 1:1 / 3:4 / 9:16, default 16:9.last frame when image; Reference-to-Video use, supported. |
| resolution | string | No | Output resolution:768p(default) / 480p.supported 2K |
| duration | int | No | videoDuration (seconds), range 4~15, default 5.Default |
| generateAudio | bool | No | audio.default true; localized example textfalse no Video |
| watermark | bool | No | Add watermark |
| taskNickname | string | No | Task label, localized example text |
| callbackUrl | string | No | Callback notification URL after the task is complete |
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | int | Status Code, 0 indicates success |
| msg | string | Message |
| data.taskId | string | Task ID, used to query task status |
| data.status | string | Task Status, fixed to processing |
| data.createdAt | string | Created Time |
Response Example
Success
{
"code": 0,
"msg": "success",
"data": {
"taskId": "task_20261104150000_abc12345",
"status": "processing",
"createdAt": "2026-11-04 15:00:00"
}
}2. Query Task Status
GET /api/v2/open/aigc/{taskId}
query task execute Status.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| taskId | string | Yes | Task ID |
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | int | Status Code, 0 indicates success |
| msg | string | Message |
| data.taskId | string | Task ID |
| data.status | string | Task Status:processing / success / failed |
| data.result | string[] | Generated video URL list (Successreturned when applicable) |
| data.errorMsg | string | Error Message (Failurereturned when applicable) |
| data.createdAt | string | Created Time |
| data.updatedAt | string | Updated Time |
Response Example
processing
{
"code": 0,
"msg": "success",
"data": {
"taskId": "task_20261104150000_abc12345",
"status": "processing",
"createdAt": "2026-11-04 15:00:00",
"updatedAt": "2026-11-04 15:00:05"
}
}Success
{
"code": 0,
"msg": "success",
"data": {
"taskId": "task_20261104150000_abc12345",
"status": "success",
"result": [
"https://fc-gw-sh.oss-accelerate.aliyuncs.com/videos/2026/11/04/output.mp4"
],
"createdAt": "2026-11-04 15:00:00",
"updatedAt": "2026-11-04 15:01:10"
}
}3. Batch Query Task Status
POST /api/v2/open/aigc/batch
query task execute Status (up to 100 ).
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| taskIds | string[] | Yes | Task ID list, up to 100 |
Request Example
{
"taskIds": ["task_20261104150000_abc12345", "task_20261104150200_def67890"]
}Callback Notification
task complete (Success or Failure) when, if Create Task when providecallbackUrl, was provided when creating the task, the system sends a POST request to that URL.
Callback Request
Headers
Content-Type: application/json
X-Funcloud-Event: task.completed
X-Funcloud-Signature: {localized example text}Body
{
"event": "task.completed",
"taskId": "task_20261104150000_abc12345",
"status": "success",
"result": ["https://fc-gw-sh.oss-accelerate.aliyuncs.com/videos/output.mp4"],
"errorMsg": "",
"timestamp": "2026-11-04T15:01:10+08:00",
"signature": "a1b2c3d4e5f6..."
}Parameter Value Ranges
Resolution (resolution)
| localized example text | Description |
|---|---|
768p | default |
480p | , |
Model supported 2K; will as default768p.Aspect ratio (aspectRatio)
| localized example text | Description |
|---|---|
21:9 | width |
16:9 | landscape (default) |
4:3 | standard landscape |
1:1 | square |
3:4 | standard portrait |
9:16 | portrait |
Text-to-Video canaspectRatio, default16:9; last frame when output image; ModelReference-to-Videosupported, willaspectRatiooutput ( not when as16:9).
Duration (duration)
- range:4 ~ 15 seconds
- default:5 seconds
- will as default 5 seconds
---## Billing
- output videoDuration (seconds), Resolution height height (
480p<768p). - Reference image (
imageUrls)first 5 images, images (). - Reference video (
videoUrls)input Duration (seconds), Output resolution. - Reference audio (
audioUrls)and last framelocalized example text. - when 15 seconds (Reference video when Reference video 15 seconds), task complete after and (); taskFailure.
- localized example text「localized example text」as.
Error Codes
| code | Description |
|---|---|
| 0 | Success |
| 10002 | Parametermissing or malformed |
| 10005 | API Key invalid or missing |
| 10006 | Insufficient balance |
| 30003 | Task not found |
| 90003 | Internal server error |
Best Practices
1. Polling Strategy
recommendedPolling:
- First 30 seconds:query every 3 seconds
- 30 seconds~ 2 minutes:query every 5 seconds
- After 2 minutes:query every 10 seconds
2. Processing Time Reference
- video generation:Usually 20 seconds~ 1.5 minutes
- image + video generation:Usually 20 seconds~ 1.5 minutes
- input (video/audio):Usually 1~ 2 minutes
- Duration, Resolution height, when### 3. Prompt Tips
- Promptmaximum 7000 characters
- Prompt= subject+,+,+ -
- can (,, etc. )
- -"Image 1", "Image 2", "Video 1", "Audio 1" Location reference asset
- when, recommended will
---## FAQ
Q1: and MiniMax-H3 / MiniMax-H3-Highspeed with?
A: Request Parameters,, query and Methodexactly identical.in and:MiniMax-H3 and supported 2K; MiniMax-H3-Highspeed in quality and; Model, and.ModelReference-to-Video supported.
Q2: localized example text?
A: no, input asset:only with Prompt as Text-to-Video; last frame as Image-to-Video; Reference image / video / audioas Reference-to-Video.
Q3: last frame can and Reference image?
A: can.last frame (firstFrameImage / lastFrameImage)and reference asset (imageUrls / videoUrls / audioUrls),.
Q4: audio can?
A: can.audioUrls, mustReference image or Reference video use.
Q5: reference asset with Limit?
A: Reference imageup to 9 images ( first 5 images, images ); Reference videoup to 3, 2~ 15 secondslocalized example text≤ 15 seconds (input Duration); Reference audioup to 3,≤ 15 seconds ().asset will.
Q6: supported 2K?
A: supported.Model provide480p and768p, will as768p.2K MiniMax-H3.
Q7: Text-to-Video can If omitted aspectRatio?
A: can.Text-to-Video canaspectRatio, default 16:9.
Technical Support
If you have any questions, please contact our technical support team.