Video / MiniMax

MiniMax-H3-Fast Video Generation

Overview

MiniMax-H3-Fast MiniMax-H3, in Capability first when,, etc. when Scenario.supported Text-to-Video (T2V), Image-to-Video (I2V) and video reference / (V2V), can image, video, audio etc. reference asset video.input asset, no.

localized example text:
- ⚡ localized example text:MiniMax-H3
-🎬 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 / V2V, no
-📐 480p localized example text:onlysupported 480p Resolution> Description:Modelonlysupported 480p Resolution, resolution will as480p.768p / 2K etc. height Resolution, 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-Fast 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.
- Text-to-Video when,prompt Required, recommendedin 7000 characters.asset when, can RequirementsPrompt.
- Text-to-Video canaspectRatio, default 16:9.
- asset:Reference image≤ 9 images, Reference video≤ 3, Reference audio ≤ 3 (will ).

input assetlocalized example text
only promptText-to-Video (T2V)
localized example textimageUrls or last frameImage-to-Video (I2V)
localized example textvideoUrlsvideoreference / (V2V)

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-fast" \
 -H "Authorization: Bearer your_auth_token_here" \
 -H "Content-Type: application/json" \
 -d '{
 "prompt": ",,,, in, with",
 "aspectRatio": "16:9",
 "resolution": "480p",
 "duration": 5
 }'

Scenario2:Image-to-Video (I2V)— image / image reference

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-fast" \
 -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"
 ],
 "aspectRatio": "16:9",
 "resolution": "480p",
 "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-fast" \
 -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",
 "aspectRatio": "16:9",
 "resolution": "480p",
 "duration": 5
 }'
Note:last frame and Reference image / video / audio.

Scenario4:videoreference / (V2V)

Reference video, Modelvideo ( reference,, etc. ).can Reference image / audio.

curl -X POST "https://mm-internal-cn.leonecloud.com/api/v2/open/aigc/minimax-h3-fast" \
 -H "Authorization: Bearer your_auth_token_here" \
 -H "Content-Type: application/json" \
 -d '{
 "prompt": "Video 1,",
 "videoUrls": ["https://example.com/input.mp4"],
 "aspectRatio": "16:9",
 "resolution": "480p",
 "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-fast" \
 -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"],
 "aspectRatio": "16:9",
 "resolution": "480p",
 "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-Fast task**POST** /api/v2/open/aigc/minimax-h3-fast

Create a MiniMax-H3-Fast Video Generationtask.(T2V / I2V / V2V) input asset.

Content-Type: application/json

Request Parameters

ParameterTypeRequiredDescription
promptstringConditionPrompt, recommendedexceeds 7000 characters.Text-to-VideoRequired; asset when recommended provide
imageUrlsstring[]NoReference image URL list, up to 9 images (Image-to-Video)
videoUrlsstring[]NoReference video URL list, up to 3 (video reference /)
audioUrlsstring[]NoReference audio URL list, up to 3.localized example text, Reference image or reference Video
firstFrameImagestringNofirst frame image URL ( and Reference image/video/audio)
lastFrameImagestringNolast frame image URL ( and Reference image/video/audio)
aspectRatiostringNoAspect ratio:21:9 / 16:9(default) / 4:3 / 1:1 / 3:4 / 9:16.localized example textadaptive; first frame or last frame when can field
resolutionstringNoOutput resolution:onlysupported480p.will as480p
durationintNovideoDuration (seconds), range 4~15, default 5.Default
watermarkboolNoAdd watermark
taskNicknamestringNoTask label, localized example text
callbackUrlstringNoCallback notification URL after the task is complete

Response Parameters

ParameterTypeDescription
codeintStatus Code, 0 indicates success
msgstringMessage
data.taskIdstringTask ID, used to query task status
data.statusstringTask Status, fixed to processing
data.createdAtstringCreated Time

Response Example

Success

{
 "code": 0,
 "msg": "success",
 "data": {
 "taskId": "task_20260903150000_abc12345",
 "status": "processing",
 "createdAt": "2026-09-03 15:00:00"
 }
}

2. Query Task Status

GET /api/v2/open/aigc/{taskId}

query task execute Status.

Path Parameters

ParameterTypeRequiredDescription
taskIdstringYesTask ID

Response Parameters

ParameterTypeDescription
codeintStatus Code, 0 indicates success
msgstringMessage
data.taskIdstringTask ID
data.statusstringTask Status:processing / success / failed
data.resultstring[]Generated video URL list (Successreturned when applicable)
data.errorMsgstringError Message (Failurereturned when applicable)
data.createdAtstringCreated Time
data.updatedAtstringUpdated Time

Response Example

processing

{
 "code": 0,
 "msg": "success",
 "data": {
 "taskId": "task_20260903150000_abc12345",
 "status": "processing",
 "createdAt": "2026-09-03 15:00:00",
 "updatedAt": "2026-09-03 15:00:05"
 }
}

Success

{
 "code": 0,
 "msg": "success",
 "data": {
 "taskId": "task_20260903150000_abc12345",
 "status": "success",
 "result": [
 "https://fc-gw-sh.oss-accelerate.aliyuncs.com/videos/2026/09/03/output.mp4"
 ],
 "createdAt": "2026-09-03 15:00:00",
 "updatedAt": "2026-09-03 15:01:10"
 }
}

3. Batch Query Task Status

POST /api/v2/open/aigc/batch

query task execute Status (up to 100 ).

Request Parameters

ParameterTypeRequiredDescription
taskIdsstring[]YesTask ID list, up to 100

Request Example

{
 "taskIds": ["task_20260903150000_abc12345", "task_20260903150200_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_20260903150000_abc12345",
 "status": "success",
 "result": ["https://fc-gw-sh.oss-accelerate.aliyuncs.com/videos/output.mp4"],
 "errorMsg": "",
 "timestamp": "2026-09-03T15:01:10+08:00",
 "signature": "a1b2c3d4e5f6..."
}

Parameter Value Ranges

Resolution (resolution)

localized example textDescription
480psupported (default)
Modelonly supported 480p; will as480p.height Resolution use MiniMax-H3.

Aspect ratio (aspectRatio)

localized example textDescription
21:9width
16:9landscape (default)
4:3standard landscape
1:1square
3:4standard portrait
9:16portrait
Text-to-Video canaspectRatio, default 16:9; Reference image / last frame when output can asset.

Duration (duration)

  • range:4 ~ 15 seconds
  • default:5 seconds
  • will as default 5 seconds

---## Billing

  • Video GenerationDuration (seconds).Modelonly 480p, seconds.
  • Reference image (imageUrls)first 5 images, images.
  • when 15 seconds, task complete after RequestDuration and (); taskFailure.
  • localized example text「localized example text」as.

Error Codes

codeDescription
0Success
10002Parametermissing or malformed
10005API Key invalid or missing
10006Insufficient balance
30003Task not found
90003Internal 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 30 seconds~ 1.5 minutes
  • image + video generation:Usually 30 seconds~ 1.5 minutes
  • input (video/audio):Usually 1~ 2 minutes
  • Duration, 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: Fast and MiniMax-H3 with?

A: Request Parameters,, query and Methodexactly identical.in Fast, only supported 480p Resolution; supported height Resolution.

Q2: T2V / I2V / V2V?

A: no, input asset:only with Prompt as Text-to-Video; Reference image or last frame as Image-to-Video; Reference videoas video reference /.

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 imageup toimages?

A: up to 9 images, will.Reference video, Reference audioup to 3.in first 5 images Reference image, images.

Q6: supported 768p / 2K?

A: supported.Modelonly provide480p, will as480p.height Resolution 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.

Updated 2026-11-23