MiniMax Hailuo 2.3
Text-to-Video • MiniMax
minimax/hailuo-2.3
- Third-party
- Zero data retention
A high-fidelity video generation model optimized for realistic human motion, cinematic VFX, expressive characters, and strong prompt and style adherence across text-to-video and image-to-video workflows.
| Model Info | |
|---|---|
| Terms and License | link ↗ |
| More information | link ↗ |
| Zero data retention | Yes |
| Pricing | <ul><li>Default (per second)$0.047</li><li>6s @768p$0.28</li><li>10s @768p$0.56</li><li>6s @1080p$0.49</li></ul> |
Usage
const response = await env.AI.run(
'minimax/hailuo-2.3',
{
prompt: 'A golden retriever playing fetch on a sandy beach at sunset',
duration: 6,
fast_pretreatment: false,
prompt_optimizer: true,
resolution: '768P',
},
)
console.log(response)
curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run \
--header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
--header "Content-Type: application/json" \
--data '{
"model": "minimax/hailuo-2.3",
"input": {
"prompt": "A golden retriever playing fetch on a sandy beach at sunset",
"duration": 6,
"fast_pretreatment": false,
"prompt_optimizer": true,
"resolution": "768P"
}
}'
{
"gatewayMetadata": {
"keySource": "Unified"
},
"result": {
"status": "Success",
"task_id": "388507504709991",
"video": "https://video-product.cdn.minimax.io/inference_output/video/2026-04-17/97d0c2d0-45ab-4ce8-a1f4-177401f43073/output.mp4"
},
"state": "Completed"
}
Examples
<details>
<summary>High Resolution — 1080P video for higher quality output</summary>
const response = await env.AI.run(
'minimax/hailuo-2.3',
{
prompt:
'A professional chef preparing sushi in a traditional Japanese kitchen, detailed close-up shots',
duration: 6,
fast_pretreatment: false,
prompt_optimizer: true,
resolution: '1080P',
},
)
console.log(response)
curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run \
--header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
--header "Content-Type: application/json" \
--data '{
"model": "minimax/hailuo-2.3",
"input": {
"prompt": "A professional chef preparing sushi in a traditional Japanese kitchen, detailed close-up shots",
"duration": 6,
"fast_pretreatment": false,
"prompt_optimizer": true,
"resolution": "1080P"
}
}'
{
"gatewayMetadata": {
"keySource": "Unified"
},
"result": {
"status": "Success",
"task_id": "388510158565457",
"video": "https://video-product.cdn.minimax.io/inference_output/video/2026-04-17/1ee6a770-eb88-4b6a-86ea-61981f01ed65/output.mp4"
},
"state": "Completed"
}
</details>
<details>
<summary>Image to Video — Animate a still image with I2V</summary>
const response = await env.AI.run(
'minimax/hailuo-2.3',
{
prompt: 'Slowly zoom in with subtle parallax movement, gentle atmospheric motion',
duration: 6,
fast_pretreatment: false,
first_frame_image:
'https://replicate.delivery/xezq/MQpUhqkESIIQDlWUxtNcsznZLfUTmhEbCV3vdAZGHGPwwaMLA/tmpgl4gvv5n.jpeg',
prompt_optimizer: true,
resolution: '768P',
},
)
console.log(response)
curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run \
--header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
--header "Content-Type: application/json" \
--data '{
"model": "minimax/hailuo-2.3",
"input": {
"prompt": "Slowly zoom in with subtle parallax movement, gentle atmospheric motion",
"duration": 6,
"fast_pretreatment": false,
"first_frame_image": "https://replicate.delivery/xezq/MQpUhqkESIIQDlWUxtNcsznZLfUTmhEbCV3vdAZGHGPwwaMLA/tmpgl4gvv5n.jpeg",
"prompt_optimizer": true,
"resolution": "768P"
}
}'
{
"gatewayMetadata": {
"keySource": "Unified"
},
"result": {
"status": "Success",
"task_id": "388509844320343",
"video": "https://video-product.cdn.minimax.io/inference_output/video/2026-04-17/a19c7850-6f3b-47dd-b6f1-decb592a11ff/output.mp4"
},
"state": "Completed"
}
</details>
<details>
<summary>Fast Processing — Enable fast pretreatment for quicker results</summary>
const response = await env.AI.run(
'minimax/hailuo-2.3',
{
prompt: 'Fireworks exploding over a city skyline at night, colorful reflections on water',
duration: 6,
fast_pretreatment: true,
prompt_optimizer: true,
resolution: '768P',
},
)
console.log(response)
curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run \
--header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
--header "Content-Type: application/json" \
--data '{
"model": "minimax/hailuo-2.3",
"input": {
"prompt": "Fireworks exploding over a city skyline at night, colorful reflections on water",
"duration": 6,
"fast_pretreatment": true,
"prompt_optimizer": true,
"resolution": "768P"
}
}'
{
"gatewayMetadata": {
"keySource": "Unified"
},
"result": {
"status": "Success",
"task_id": "388509805367378",
"video": "https://video-product.cdn.minimax.io/inference_output/video/2026-04-17/438b5433-5d32-4760-9564-c86da3d22aee/output.mp4"
},
"state": "Completed"
}
</details>
Parameters
prompt
stringmaxLength: 2000
first_frame_image
string
prompt_optimizer
booleanrequireddefault: true
fast_pretreatment
booleanrequireddefault: false
▶duration
one ofrequired
resolution
stringrequireddefault: 768Penum: 768P, 1080P
video
stringformat: uri
task_id
string
status
stringenum: Preparing, Queueing, Processing, Success, Fail
API Schemas (Raw)
Was this helpful?
YesNo
On this page
{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/ai/models/minimax/hailuo-2.3/#page","headline":"MiniMax Hailuo 2.3","description":"A high-fidelity video generation model optimized for realistic human motion, cinematic VFX, expressive characters, and strong prompt and style adherence across text-to-video and image-to-video workflows.","url":"https://developers.cloudflare.com/ai/models/minimax/hailuo-2.3/","inLanguage":"en","image":"https://developers.cloudflare.com/og-docs.png","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}
description: A lower-latency version of Hailuo 2.3 that preserves core motion quality, visual consistency, and stylization while enabling faster iteration. title: MiniMax Hailuo 2.3 Fast image: https://developers.cloudflare.com/og-docs.png
Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/llms.txt
Use this file to discover all available pages before exploring further.

