{ "model_id": "minimax/hailuo-2.3", "provider_id": "minimax", "name": "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.", "task": "Text-to-Video", "tags": [ "Video Generation", "Cinematic", "Image-to-Video" ], "context_length": null, "max_output_tokens": null, "schema_version": "1.0.0", "pricing": { "Default (per second)": 0.047, "6s @768p": 0.28, "10s @768p": 0.56, "6s @1080p": 0.49 }, "examples": [ { "name": "Simple Video", "description": "Basic text-to-video with default settings", "input": { "prompt": "A golden retriever playing fetch on a sandy beach at sunset", "duration": 6, "fast_pretreatment": false, "prompt_optimizer": true, "resolution": "768P" }, "output": { "video": "https://examples.aig.cloudflare.com/minimax/hailuo-2.3/simple-video.mp4" }, "raw_response": { "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" }, "code_snippets": [ { "label": "typescript", "language": "typescript", "code": "const response = await env.AI.run(\n 'minimax/hailuo-2.3',\n {\n prompt: 'A golden retriever playing fetch on a sandy beach at sunset',\n duration: 6,\n fast_pretreatment: false,\n prompt_optimizer: true,\n resolution: '768P',\n },\n)\nconsole.log(response)" }, { "label": "curl", "language": "bash", "code": "curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run \\\n --header \"Authorization: Bearer $CLOUDFLARE_API_TOKEN\" \\\n --header \"Content-Type: application/json\" \\\n --data '{\n \"model\": \"minimax/hailuo-2.3\",\n \"input\": {\n \"prompt\": \"A golden retriever playing fetch on a sandy beach at sunset\",\n \"duration\": 6,\n \"fast_pretreatment\": false,\n \"prompt_optimizer\": true,\n \"resolution\": \"768P\"\n }\n}'" } ] }, { "name": "High Resolution", "description": "1080P video for higher quality output", "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" }, "output": { "video": "https://examples.aig.cloudflare.com/minimax/hailuo-2.3/high-resolution.mp4" }, "raw_response": { "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" }, "code_snippets": [ { "label": "typescript", "language": "typescript", "code": "const response = await env.AI.run(\n 'minimax/hailuo-2.3',\n {\n prompt:\n 'A professional chef preparing sushi in a traditional Japanese kitchen, detailed close-up shots',\n duration: 6,\n fast_pretreatment: false,\n prompt_optimizer: true,\n resolution: '1080P',\n },\n)\nconsole.log(response)" }, { "label": "curl", "language": "bash", "code": "curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run \\\n --header \"Authorization: Bearer $CLOUDFLARE_API_TOKEN\" \\\n --header \"Content-Type: application/json\" \\\n --data '{\n \"model\": \"minimax/hailuo-2.3\",\n \"input\": {\n \"prompt\": \"A professional chef preparing sushi in a traditional Japanese kitchen, detailed close-up shots\",\n \"duration\": 6,\n \"fast_pretreatment\": false,\n \"prompt_optimizer\": true,\n \"resolution\": \"1080P\"\n }\n}'" } ] }, { "name": "Image to Video", "description": "Animate a still image with I2V", "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" }, "output": { "video": "https://examples.aig.cloudflare.com/minimax/hailuo-2.3/image-to-video.mp4" }, "raw_response": { "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" }, "code_snippets": [ { "label": "typescript", "language": "typescript", "code": "const response = await env.AI.run(\n 'minimax/hailuo-2.3',\n {\n prompt: 'Slowly zoom in with subtle parallax movement, gentle atmospheric motion',\n duration: 6,\n fast_pretreatment: false,\n first_frame_image:\n 'https://replicate.delivery/xezq/MQpUhqkESIIQDlWUxtNcsznZLfUTmhEbCV3vdAZGHGPwwaMLA/tmpgl4gvv5n.jpeg',\n prompt_optimizer: true,\n resolution: '768P',\n },\n)\nconsole.log(response)" }, { "label": "curl", "language": "bash", "code": "curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run \\\n --header \"Authorization: Bearer $CLOUDFLARE_API_TOKEN\" \\\n --header \"Content-Type: application/json\" \\\n --data '{\n \"model\": \"minimax/hailuo-2.3\",\n \"input\": {\n \"prompt\": \"Slowly zoom in with subtle parallax movement, gentle atmospheric motion\",\n \"duration\": 6,\n \"fast_pretreatment\": false,\n \"first_frame_image\": \"https://replicate.delivery/xezq/MQpUhqkESIIQDlWUxtNcsznZLfUTmhEbCV3vdAZGHGPwwaMLA/tmpgl4gvv5n.jpeg\",\n \"prompt_optimizer\": true,\n \"resolution\": \"768P\"\n }\n}'" } ] }, { "name": "Fast Processing", "description": "Enable fast pretreatment for quicker results", "input": { "prompt": "Fireworks exploding over a city skyline at night, colorful reflections on water", "duration": 6, "fast_pretreatment": true, "prompt_optimizer": true, "resolution": "768P" }, "output": { "video": "https://examples.aig.cloudflare.com/minimax/hailuo-2.3/fast-processing.mp4" }, "raw_response": { "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" }, "code_snippets": [ { "label": "typescript", "language": "typescript", "code": "const response = await env.AI.run(\n 'minimax/hailuo-2.3',\n {\n prompt: 'Fireworks exploding over a city skyline at night, colorful reflections on water',\n duration: 6,\n fast_pretreatment: true,\n prompt_optimizer: true,\n resolution: '768P',\n },\n)\nconsole.log(response)" }, { "label": "curl", "language": "bash", "code": "curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run \\\n --header \"Authorization: Bearer $CLOUDFLARE_API_TOKEN\" \\\n --header \"Content-Type: application/json\" \\\n --data '{\n \"model\": \"minimax/hailuo-2.3\",\n \"input\": {\n \"prompt\": \"Fireworks exploding over a city skyline at night, colorful reflections on water\",\n \"duration\": 6,\n \"fast_pretreatment\": true,\n \"prompt_optimizer\": true,\n \"resolution\": \"768P\"\n }\n}'" } ] } ], "default_example": null, "code_snippets": [], "supports_async": false, "zdr": true, "zdr_comment": null, "external_info": "https://hailuoai.com/", "terms": "https://hailuoai.com/terms", "cover_image_url": "https://pub-26f1392c1b674324be6786695bd72257.r2.dev/minimax/hailuo-2.3.png", "metadata": { "Resolutions": "540p, 720p, 1080p" }, "request_formats": null, "providers": null, "provider_details": [ { "id": "minimax", "pricing": { "default": 0.047, "768p_6s": 0.28, "768p_10s": 0.56, "1080p_6s": 0.49 } } ], "banner": null, "created_at": "2026-05-22 17:53:17", "schema": { "input": { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "prompt": { "type": "string", "maxLength": 2000 }, "first_frame_image": { "type": "string" }, "prompt_optimizer": { "default": true, "type": "boolean" }, "fast_pretreatment": { "default": false, "type": "boolean" }, "duration": { "default": 6, "anyOf": [ { "type": "number", "const": 6 }, { "type": "number", "const": 10 } ] }, "resolution": { "default": "768P", "type": "string", "enum": [ "768P", "1080P" ] } }, "required": [ "prompt_optimizer", "fast_pretreatment", "duration", "resolution" ], "additionalProperties": false }, "output": { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "video": { "type": "string", "format": "uri" }, "task_id": { "type": "string" }, "status": { "type": "string", "enum": [ "Preparing", "Queueing", "Processing", "Success", "Fail" ] } }, "required": [ "task_id" ], "additionalProperties": false } } }