Minimax
Generate videos from text, images, or audio guidance.
This is only a basic call example. See the full docs for more parameters and advanced usage.
View DocsMiniMax H3 Video Generation
Use MiniMax H3 and H3 Max via the REST API to generate short videos from text, images, video, and audio. Enhance prompts first, or regenerate an existing H3 768P video as a 2K version.
One interface, three creative starting points
No action or multiple paths needed; the interface automatically determines the generation mode from the content inputs.
Text-to-video
Generate short videos directly from descriptions of scenes, actions, camera shots, and styles.
First- and last-frame image-to-video
Control the opening and closing frames with first_frame and last_frame.
Multimodal reference
Combine reference images, video, and audio to guide subjects, actions, sound, and rhythm.
Synchronous and asynchronous delivery
Get the final result synchronously, or receive the video through asynchronous task queries and completion callbacks.
export ACEDATACLOUD_API_KEY="YOUR_API_KEY"
curl -X POST 'https://api.acedata.cloud/minimax/videos' \
-H "Authorization: Bearer $ACEDATACLOUD_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"model": "MiniMax-H3",
"content": [{
"type": "text",
"text": "A red fox running through a snowy forest at dawn, cinematic tracking shot"
}],
"resolution": "2K",
"ratio": "16:9",
"duration": 5,
"async": true
}'Submission response JSON
The following response excerpt from the existing API guide shows the fields used to read the result. The example model, task ID, and media content come from that historical example; use the actual values returned for this request.
{
"task_id": "f5977217-ed2c-40da-adbe-93d08235618f"
}Query the original task
Replace id with the task_id from the submission response, using the same API Key.
curl --request POST "https://api.acedata.cloud/minimax/tasks" \
--header "Authorization: Bearer $ACEDATACLOUD_API_KEY" \
--header "Content-Type: application/json" \
--data '{"action":"retrieve","id":"YOUR_TASK_ID"}'In-progress response JSON
Key fields in an in-progress response are shown below; continue querying the same task ID.
{
"task": {
"id": "f5977217-ed2c-40da-adbe-93d08235618f",
"status": "running"
}
}Completed response JSON
The following response excerpt from the existing API guide shows the fields used to read the result. The example model, task ID, and media content come from that historical example; use the actual values returned for this request.
{
"task": {
"id": "f5977217-ed2c-40da-adbe-93d08235618f",
"status": "succeeded",
"content": {
"url": "https://cdn.acedata.cloud/assets/examples/minimax/f5977217-ed2c-40da-adbe-93d08235618f-b080c998dde2.mp4"
},
"duration": 4
}
}Start generating with a few lines of code
Parameters express your creative intent directly, while the platform handles long-running tasks, result storage, and accurate billing.
Construct content
All modes require text; images, videos, and audio use their corresponding types and role to indicate their purpose.
Submit an asynchronous task
Set async: true to immediately receive a task_id.
Retrieve the video result
Use /minimax/tasks or a callback to retrieve the Ace Data Cloud CDN video from task.content.url.
Typical Use Cases from Assets to Finished Video
Three sets of actual API samples cover product animation, character storytelling, and audiovisual reference workflows.
Brand and E-commerce Videos
Create commercial videos from product visuals and shot descriptions, suitable for product showcases, launch materials, and social media ads.
MiniMax-H3 · 16:9 · First-frame image-to-videoCharacter-Consistent Storytelling
Use multiple reference images of your own to improve consistency across characters, clothing, props, and scene styles, ideal for continuous shots and series content.
MiniMax-H3 · 16:9 · Multi-image referenceRhythmic Audiovisual Videos
Combine your own motion video and audio references to guide dance moves, camera movement, and visual rhythm, ideal for vertical content creation.
MiniMax-H3 · 9:16 · Video and audio referenceLaunch in Three Steps
Use Ace Data Cloud's unified authentication and task system, with no need to build a separate media pipeline.
Get a Token
Log in to the application list, open General Application, and click the copy button to the right of API KEY. Store the Key on your server and use it to replace YOUR_API_KEY in the example.

Submit a Generation Request
Choose the duration and aspect ratio, and add text, images, or audio assets.
Deliver the Video
Poll the task or receive a callback, then integrate the CDN video into your product workflow.
A unified, production-ready video API
Bring task execution, error semantics, usage tracking, and file delivery together under a stable contract.
| Capability | Ace Data Cloud MiniMax H3 | Some Others |
|---|---|---|
| Multimodal input | One interface for text, images, video, and audio | Multiple APIs to integrate yourself |
| Long-running tasks | Polling and Webhook | Requires a self-built task queue |
| Output files | Automatically transferred to the platform CDN | Inconsistent link lifetimes |
| Billing for failures | No charge for failed tasks | Requires manual bill reconciliation |
Choose a workflow by content
Select H3 or H3 Max using model; the generation mode is determined by the media and roles in content.
text
Provide text only to generate visuals directly from ideas, scripts, and shot descriptions.
first_frame / last_frame
Use a first frame or both first and last frames to control the opening and closing visuals.
reference media
Combine reference images, video, and audio to control subjects, motion, sound, and pacing.
task_id / callback
Pass async: true or callback_url to retrieve results asynchronously.
Transparent pricing by resolution
H3 is billed by output duration; H3 Max and regeneration also incur reference media charges according to the applicable rules. See live pricing for rates by resolution.
768P
- 4 seconds from $0.228572
- Ideal for rapid creative validation
- Three input modes
2K
- 4 seconds from $0.365716
- High-resolution option for H3
- Asynchronous task queries
H3 Max and regeneration
- Billed by resolution and output duration
- Reference videos and excess images billed according to applicable rules
- Free task queries
Frequently Asked Questions
Key information about modes, assets, duration, and task execution.
Do I need to pass action?
No. When content contains only text, it is text-to-video; first_frame / last_frame indicates image-to-video; reference_* indicates multimodal reference-to-video. All modes require non-empty text.
Which aspect ratios and durations are supported?
H3 supports 768P or 2K, 4–15 seconds; H3 Max supports 480P or 768P, 5–15 seconds. See the API documentation for aspect ratio options and constraints for different input modes.
How do I retrieve the result?
The generation endpoint returns the complete task synchronously by default. When asynchronous mode is enabled, save the task_id, use POST /minimax/tasks to query it or receive a callback, and read the video URL from task.content.url in the successful result.
Are failed tasks charged?
Video generation tasks are billed upon successful delivery. Task queries are free.
How do I enhance prompts or regenerate videos?
POST /minimax/prompt-enhancement returns an enhanced prompt at a cost of 0.3 Credits / request. POST /minimax/regenerate regenerates eligible H3 768P videos in 2K; provide the prompt and reference assets from the original request.
More Public Video Services
Combine other video capabilities based on model style and workflow needs.
Integrate MiniMax H3 into your product
One Token, one generation endpoint, one task system. Start building multimodal video experiences.
Generate videos with Minimax multimodal video models using synchronous waits, asynchronous tasks, or completion callbacks.
Retrieve one or multiple Minimax video tasks with processing status, final videos, and standard task metadata.
Minimax Prompt Enhancement generation with asynchronous task delivery.
Minimax Video Regeneration generation with asynchronous task delivery.
Packages
We offer various credit packages. The more you purchase, the higher the discount you receive.
up to46% OFFPrice
No Pricing Information