跳转到内容
搜索文档
MiniMax logo

MiniMax Hailuo 2.3 Fast

Text-to-Video • MiniMax

查看 MarkdownAgent 设置
  • Third-party
  • Zero data retention

A lower-latency version of Hailuo 2.3 that preserves core motion quality, visual consistency, and stylization while enabling faster iteration.

Model Info
Terms and Licenselink ↗
More informationlink ↗
Zero data retentionYes
PricingView pricing in the Cloudflare dashboard ↗

Usage

const response = await env.AI.run(
  'minimax/hailuo-2.3-fast',
  {
    prompt: 'Gentle movement and subtle animation, natural-looking 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-fast",
  "input": {
    "prompt": "Gentle movement and subtle animation, natural-looking 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": "388514752192863",
    "video": "https://video-product.cdn.minimax.io/inference_output/video/2026-04-17/eff40703-0339-4d1d-b66a-db050e878038/output.mp4"
  },
  "state": "Completed"
}

Examples

High Resolution I2V — Animate a photo in 1080P
const response = await env.AI.run(
  'minimax/hailuo-2.3-fast',
  {
    prompt: 'Camera slowly pans across the scene with cinematic depth of field',
    duration: 6,
    fast_pretreatment: false,
    first_frame_image:
      'https://replicate.delivery/xezq/IeNNble3XUqhpUZTd3CkYTUf8EgkFU1fl1Jnyive3B26MsGzC/tmp51dpln4i.jpeg',
    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-fast",
  "input": {
    "prompt": "Camera slowly pans across the scene with cinematic depth of field",
    "duration": 6,
    "fast_pretreatment": false,
    "first_frame_image": "https://replicate.delivery/xezq/IeNNble3XUqhpUZTd3CkYTUf8EgkFU1fl1Jnyive3B26MsGzC/tmp51dpln4i.jpeg",
    "prompt_optimizer": true,
    "resolution": "1080P"
  }
}'
{
  "gatewayMetadata": {
    "keySource": "Unified"
  },
  "result": {
    "status": "Success",
    "task_id": "388515984507205",
    "video": "https://video-product.cdn.minimax.io/inference_output/video/2026-04-17/2b6251d2-d4ae-4d58-b12f-2609c50fadc2/output.mp4"
  },
  "state": "Completed"
}
Fast Processing — Quick I2V with fast pretreatment enabled
const response = await env.AI.run(
  'minimax/hailuo-2.3-fast',
  {
    prompt: 'Hair blowing in the wind, eyes blinking naturally',
    duration: 6,
    fast_pretreatment: true,
    first_frame_image:
      'https://replicate.delivery/xezq/jfh37lJpnDQhaKcAfCrxSCEh7HA7lv5cCWmJW284tYXwh1YWA/tmpw2i437qe.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-fast",
  "input": {
    "prompt": "Hair blowing in the wind, eyes blinking naturally",
    "duration": 6,
    "fast_pretreatment": true,
    "first_frame_image": "https://replicate.delivery/xezq/jfh37lJpnDQhaKcAfCrxSCEh7HA7lv5cCWmJW284tYXwh1YWA/tmpw2i437qe.jpeg",
    "prompt_optimizer": true,
    "resolution": "768P"
  }
}'
{
  "gatewayMetadata": {
    "keySource": "Unified"
  },
  "result": {
    "status": "Success",
    "task_id": "388515980755024",
    "video": "https://video-product.cdn.minimax.io/inference_output/video/2026-04-17/b64303a0-0227-4d42-983a-dcaec397b6b1/output.mp4"
  },
  "state": "Completed"
}

Parameters

first_frame_image
stringrequiredURL or base64 data URI of the first frame image
prompt
stringmaxLength: 2000
prompt_optimizer
booleanrequireddefault: true
fast_pretreatment
booleanrequireddefault: false
resolution
stringrequireddefault: 768Penum: 768P, 1080P
video
stringformat: uri
task_id
string
status
stringenum: Preparing, Queueing, Processing, Success, Fail

API Schemas (Raw)

Input
Output

这篇文档对您有帮助吗?