Hailuo (MiniMax) AI video generation service with text and image input.
API home page: Ace Data Cloud - Hailuo Video Generation
Keywords: hailuo-api, minimax-api, ai-video, video-generation, text-to-video, image-to-video, rest-api, ai-api, aivideo, AI API, REST API, Developer API, Ace Data Cloud
- Unified developer platform with one API key, billing system, and usage tracking
- Production-ready AI API endpoints served from https://api.acedata.cloud
- English integration guides, API references, and service documentation
- Global-ready workflow for developers building chat, image, video, music, and search products
The Hailuo Videos Generation API allows you to generate official Hailuo (MiniMax) videos by providing custom parameters. It supports both text-to-video (minimax-t2v) and image-to-video (minimax-i2v) generation models.
The Hailuo Tasks API provides a way to query the execution status of video generation tasks by inputting the task ID generated by the Hailuo Videos Generation API.
To use the Hailuo Videos Generation API, you can first visit the Hailuo Videos Generation API page and click the "Acquire" button to obtain the credentials needed for the request:
If you are not logged in or registered, you will be automatically redirected to the login page inviting you to register and log in. After logging in or registering, you will automatically return to the current page.
Upon the first application, there will be a free quota provided, allowing you to use the API for free.
To generate a video, pass an action of generate along with a prompt. You can also specify a model and an optional first frame image:
curl -X POST 'https://api.acedata.cloud/hailuo/videos' \
-H 'accept: application/json' \
-H 'authorization: Bearer {token}' \
-H 'content-type: application/json' \
-d '{
"action": "generate",
"prompt": "Internal heat"
}'Main request parameters:
model: The video generation model. Useminimax-t2vfor text-to-video orminimax-i2vfor image-to-video. Default isminimax-t2v.action: The action for this video generation task. Usegenerateto create a new video.prompt: The prompt for generating the video.first_image_url: The first frame reference image link (required when usingminimax-i2v). Base64 encoding is not supported.callback_url: Asynchronous callback URL.
After the call, the returned result is as follows:
{
"success": true,
"task_id": "baf1034c-684c-46be-ae6d-89ebb89b690d",
"trace_id": "3221eb74-1a25-447a-ba69-7d9b310e306c",
"data": [
{
"id": "0pv8yhe4fdrge0cmckpv23pd2g",
"model": "minimax-t2v",
"prompt": "Internal heat",
"video_url": "https://file.aigpai.com/czjl/qoueLWBokF3ud6tdVD6VJTZuXTnK5HaMO2qAOS46Ef8VSBFUA/tmp9e3u11c1.output.mp4",
"state": "succeeded"
}
]
}- Base URL: https://api.acedata.cloud
- Service page: Hailuo Video Generation on Ace Data Cloud
- Docs: Developer documentation
curl --request POST "https://api.acedata.cloud/hailuo/videos" \
--header "Authorization: Bearer YOUR_API_KEY" \
--header "Content-Type: application/json" \
--data '{"action": "generate", "prompt": "A beautiful sunset over the ocean"}'Explore the supported endpoints and integration guides for Hailuo Video Generation.
| API | Path | Integration Guidance |
|---|---|---|
| Hailuo Videos Generation API | /hailuo/videos |
Hailuo Videos Generation API Integration Guide |
| Hailuo Tasks API | /hailuo/tasks |
Hailuo Tasks API Integration Guide |
- Ace Data Cloud Developer Platform
- Ace Data Cloud Docs
- Status Page
- Ace Data Cloud GitHub Organization
If you meet any issue, please check support info or browse the latest documentation on docs.acedata.cloud.
