{ "model_id": "minimax/h3-highspeed", "provider_id": "minimax", "name": "MiniMax H3 Highspeed", "description": "A multimodal video generation model that balances quality and speed, supporting text-to-video, first and last frame image-to-video, and reference-to-video generation at 768P.", "task": "Text-to-Video", "tags": [ "Video Generation", "Text-to-Video", "Image-to-Video", "Reference-to-Video", "Multimodal", "Fast Generation" ], "context_length": null, "max_output_tokens": null, "schema_version": "1.0.0", "pricing": { "@768p (per second)": 0.06, "Default (per second)": 0.06 }, "examples": [ { "name": "Product Commercial", "description": "Studio-quality product ad from text at 768P, the kind of creative Highspeed turns around quickly.", "input": { "content": [ { "type": "text", "text": "Premium product commercial: a matte black wireless earbud case sits on a wet reflective surface, the lid opens on its own and soft rim light traces the edges [orbit]. Water droplets catch the light, then the camera settles on a clean centered hero shot [static]." } ], "duration": 5, "ratio": "16:9", "resolution": "768P" }, "output": { "video": "https://examples.aig.cloudflare.com/minimax/h3-highspeed/product-commercial.mp4" }, "raw_response": { "task": { "id": "457313369043439", "model": "MiniMax-H3-Highspeed", "status": "succeeded", "created_at": 1793202285, "updated_at": 1793202389, "content": { "url": "https://examples.aig.cloudflare.com/minimax/h3-highspeed/product-commercial.mp4" }, "resolution": "768P", "duration": 5, "usage": { "total_seconds": 5, "input_seconds": 0, "output_seconds": 5, "input_image_count": 0, "total_tokens": 130195, "prompt_tokens": 0, "completion_tokens": 130195 }, "ratio": "16:9", "task_type": "generation" } }, "code_snippets": [ { "label": "typescript", "language": "typescript", "code": "const response = await env.AI.run(\n 'minimax/h3-highspeed',\n {\n content: [\n {\n type: 'text',\n text: 'Premium product commercial: a matte black wireless earbud case sits on a wet reflective surface, the lid opens on its own and soft rim light traces the edges [orbit]. Water droplets catch the light, then the camera settles on a clean centered hero shot [static].',\n },\n ],\n duration: 5,\n ratio: '16:9',\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/h3-highspeed\",\n \"input\": {\n \"content\": [\n {\n \"type\": \"text\",\n \"text\": \"Premium product commercial: a matte black wireless earbud case sits on a wet reflective surface, the lid opens on its own and soft rim light traces the edges [orbit]. Water droplets catch the light, then the camera settles on a clean centered hero shot [static].\"\n }\n ],\n \"duration\": 5,\n \"ratio\": \"16:9\",\n \"resolution\": \"768P\"\n }\n}'" } ] }, { "name": "Sketch to Product Reveal", "description": "Turn a design sketch into a photoreal product shot from a first frame.", "input": { "content": [ { "type": "text", "text": "The pencil sneaker sketch comes to life: graphite lines fill in with white leather, an orange suede heel panel and a translucent sole, and the sneaker lifts off the page onto a slowly rotating white studio turntable. Softbox lighting, crisp reflections, smooth camera orbit." }, { "type": "image_url", "image_url": { "url": "https://examples.aig.cloudflare.com/klingai/kling-v4/inputs/sneaker-sketch.jpg" }, "role": "first_frame" } ], "duration": 5, "ratio": "adaptive", "resolution": "768P" }, "output": { "video": "https://examples.aig.cloudflare.com/minimax/h3-highspeed/sketch-to-product-reveal.mp4" }, "raw_response": { "task": { "id": "457315643584847", "model": "MiniMax-H3-Highspeed", "status": "succeeded", "created_at": 1793202399, "updated_at": 1793202411, "content": { "url": "https://examples.aig.cloudflare.com/minimax/h3-highspeed/sketch-to-product-reveal.mp4" }, "resolution": "768P", "duration": 5, "usage": { "total_seconds": 5, "input_seconds": 0, "output_seconds": 5, "input_image_count": 1, "total_tokens": 143215, "prompt_tokens": 13020, "completion_tokens": 130195 }, "ratio": "adaptive", "task_type": "generation" } }, "code_snippets": [ { "label": "typescript", "language": "typescript", "code": "const response = await env.AI.run(\n 'minimax/h3-highspeed',\n {\n content: [\n {\n type: 'text',\n text: 'The pencil sneaker sketch comes to life: graphite lines fill in with white leather, an orange suede heel panel and a translucent sole, and the sneaker lifts off the page onto a slowly rotating white studio turntable. Softbox lighting, crisp reflections, smooth camera orbit.',\n },\n {\n type: 'image_url',\n image_url: {\n url: 'https://examples.aig.cloudflare.com/klingai/kling-v4/inputs/sneaker-sketch.jpg',\n },\n role: 'first_frame',\n },\n ],\n duration: 5,\n ratio: 'adaptive',\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/h3-highspeed\",\n \"input\": {\n \"content\": [\n {\n \"type\": \"text\",\n \"text\": \"The pencil sneaker sketch comes to life: graphite lines fill in with white leather, an orange suede heel panel and a translucent sole, and the sneaker lifts off the page onto a slowly rotating white studio turntable. Softbox lighting, crisp reflections, smooth camera orbit.\"\n },\n {\n \"type\": \"image_url\",\n \"image_url\": {\n \"url\": \"https://examples.aig.cloudflare.com/klingai/kling-v4/inputs/sneaker-sketch.jpg\"\n },\n \"role\": \"first_frame\"\n }\n ],\n \"duration\": 5,\n \"ratio\": \"adaptive\",\n \"resolution\": \"768P\"\n }\n}'" } ] }, { "name": "Dusk to Milky Way", "description": "End on a supplied last frame: a night-sky time-lapse.", "input": { "content": [ { "type": "text", "text": "Time-lapse over a quiet mountain landscape: the blue dusk sky darkens, the first stars appear and the Milky Way slowly rises into the final frame. Locked-off camera, gentle cloud movement." }, { "type": "image_url", "image_url": { "url": "https://docs.x.ai/assets/api-examples/video/milkyway-still.png" }, "role": "last_frame" } ], "duration": 5, "ratio": "adaptive", "resolution": "768P" }, "output": { "video": "https://examples.aig.cloudflare.com/minimax/h3-highspeed/dusk-to-milky-way.mp4" }, "raw_response": { "task": { "id": "457315350925788", "model": "MiniMax-H3-Highspeed", "status": "succeeded", "created_at": 1793202420, "updated_at": 1793202435, "content": { "url": "https://examples.aig.cloudflare.com/minimax/h3-highspeed/dusk-to-milky-way.mp4" }, "resolution": "768P", "duration": 5, "usage": { "total_seconds": 5, "input_seconds": 0, "output_seconds": 5, "input_image_count": 1, "total_tokens": 143215, "prompt_tokens": 13020, "completion_tokens": 130195 }, "ratio": "adaptive", "task_type": "generation" } }, "code_snippets": [ { "label": "typescript", "language": "typescript", "code": "const response = await env.AI.run(\n 'minimax/h3-highspeed',\n {\n content: [\n {\n type: 'text',\n text: 'Time-lapse over a quiet mountain landscape: the blue dusk sky darkens, the first stars appear and the Milky Way slowly rises into the final frame. Locked-off camera, gentle cloud movement.',\n },\n {\n type: 'image_url',\n image_url: { url: 'https://docs.x.ai/assets/api-examples/video/milkyway-still.png' },\n role: 'last_frame',\n },\n ],\n duration: 5,\n ratio: 'adaptive',\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/h3-highspeed\",\n \"input\": {\n \"content\": [\n {\n \"type\": \"text\",\n \"text\": \"Time-lapse over a quiet mountain landscape: the blue dusk sky darkens, the first stars appear and the Milky Way slowly rises into the final frame. Locked-off camera, gentle cloud movement.\"\n },\n {\n \"type\": \"image_url\",\n \"image_url\": {\n \"url\": \"https://docs.x.ai/assets/api-examples/video/milkyway-still.png\"\n },\n \"role\": \"last_frame\"\n }\n ],\n \"duration\": 5,\n \"ratio\": \"adaptive\",\n \"resolution\": \"768P\"\n }\n}'" } ] }, { "name": "Mascot Comes to Life", "description": "Controlled transition between a supplied first and last frame.", "input": { "content": [ { "type": "text", "text": "A flat illustrated robot mascot printed on a notebook page wakes up, blinks, peels itself off the paper into a glossy 3D toy, hops onto the wooden desk next to the coffee mug and waves at the camera. Warm morning light, playful stop-motion feel, one continuous shot." }, { "type": "image_url", "image_url": { "url": "https://examples.aig.cloudflare.com/klingai/kling-v4/inputs/mascot-page.jpg" }, "role": "first_frame" }, { "type": "image_url", "image_url": { "url": "https://examples.aig.cloudflare.com/klingai/kling-v4/inputs/mascot-desk.jpg" }, "role": "last_frame" } ], "duration": 5, "ratio": "adaptive", "resolution": "768P" }, "output": { "video": "https://examples.aig.cloudflare.com/minimax/h3-highspeed/mascot-comes-to-life.mp4" }, "raw_response": { "task": { "id": "457316282126857", "model": "MiniMax-H3-Highspeed", "status": "succeeded", "created_at": 1793202441, "updated_at": 1793202454, "content": { "url": "https://examples.aig.cloudflare.com/minimax/h3-highspeed/mascot-comes-to-life.mp4" }, "resolution": "768P", "duration": 5, "usage": { "total_seconds": 5, "input_seconds": 0, "output_seconds": 5, "input_image_count": 2, "total_tokens": 156235, "prompt_tokens": 26040, "completion_tokens": 130195 }, "ratio": "adaptive", "task_type": "generation" } }, "code_snippets": [ { "label": "typescript", "language": "typescript", "code": "const response = await env.AI.run(\n 'minimax/h3-highspeed',\n {\n content: [\n {\n type: 'text',\n text: 'A flat illustrated robot mascot printed on a notebook page wakes up, blinks, peels itself off the paper into a glossy 3D toy, hops onto the wooden desk next to the coffee mug and waves at the camera. Warm morning light, playful stop-motion feel, one continuous shot.',\n },\n {\n type: 'image_url',\n image_url: {\n url: 'https://examples.aig.cloudflare.com/klingai/kling-v4/inputs/mascot-page.jpg',\n },\n role: 'first_frame',\n },\n {\n type: 'image_url',\n image_url: {\n url: 'https://examples.aig.cloudflare.com/klingai/kling-v4/inputs/mascot-desk.jpg',\n },\n role: 'last_frame',\n },\n ],\n duration: 5,\n ratio: 'adaptive',\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/h3-highspeed\",\n \"input\": {\n \"content\": [\n {\n \"type\": \"text\",\n \"text\": \"A flat illustrated robot mascot printed on a notebook page wakes up, blinks, peels itself off the paper into a glossy 3D toy, hops onto the wooden desk next to the coffee mug and waves at the camera. Warm morning light, playful stop-motion feel, one continuous shot.\"\n },\n {\n \"type\": \"image_url\",\n \"image_url\": {\n \"url\": \"https://examples.aig.cloudflare.com/klingai/kling-v4/inputs/mascot-page.jpg\"\n },\n \"role\": \"first_frame\"\n },\n {\n \"type\": \"image_url\",\n \"image_url\": {\n \"url\": \"https://examples.aig.cloudflare.com/klingai/kling-v4/inputs/mascot-desk.jpg\"\n },\n \"role\": \"last_frame\"\n }\n ],\n \"duration\": 5,\n \"ratio\": \"adaptive\",\n \"resolution\": \"768P\"\n }\n}'" } ] }, { "name": "Mascot Reference Shot", "description": "Keep a character consistent from a reference image in a new scene.", "input": { "content": [ { "type": "text", "text": "The robot mascot from the reference image rolls a pencil across the wooden desk, looks up at the camera and gives a thumbs-up. Keep the mascot's shape, colors and antenna exactly as in the reference. Warm morning light, shallow depth of field." }, { "type": "image_url", "image_url": { "url": "https://examples.aig.cloudflare.com/klingai/kling-v4/inputs/mascot-desk.jpg" }, "role": "reference_image" } ], "duration": 5, "ratio": "adaptive", "resolution": "768P" }, "output": { "video": "https://examples.aig.cloudflare.com/minimax/h3-highspeed/mascot-reference-shot.mp4" }, "raw_response": { "task": { "id": "457315037172263", "model": "MiniMax-H3-Highspeed", "status": "succeeded", "created_at": 1793202462, "updated_at": 1793202477, "content": { "url": "https://examples.aig.cloudflare.com/minimax/h3-highspeed/mascot-reference-shot.mp4" }, "resolution": "768P", "duration": 5, "usage": { "total_seconds": 5, "input_seconds": 0, "output_seconds": 5, "input_image_count": 1, "total_tokens": 143215, "prompt_tokens": 13020, "completion_tokens": 130195 }, "ratio": "adaptive", "task_type": "generation" } }, "code_snippets": [ { "label": "typescript", "language": "typescript", "code": "const response = await env.AI.run(\n 'minimax/h3-highspeed',\n {\n content: [\n {\n type: 'text',\n text: \"The robot mascot from the reference image rolls a pencil across the wooden desk, looks up at the camera and gives a thumbs-up. Keep the mascot's shape, colors and antenna exactly as in the reference. Warm morning light, shallow depth of field.\",\n },\n {\n type: 'image_url',\n image_url: {\n url: 'https://examples.aig.cloudflare.com/klingai/kling-v4/inputs/mascot-desk.jpg',\n },\n role: 'reference_image',\n },\n ],\n duration: 5,\n ratio: 'adaptive',\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/h3-highspeed\",\n \"input\": {\n \"content\": [\n {\n \"type\": \"text\",\n \"text\": \"The robot mascot from the reference image rolls a pencil across the wooden desk, looks up at the camera and gives a thumbs-up. Keep the mascot'\\''s shape, colors and antenna exactly as in the reference. Warm morning light, shallow depth of field.\"\n },\n {\n \"type\": \"image_url\",\n \"image_url\": {\n \"url\": \"https://examples.aig.cloudflare.com/klingai/kling-v4/inputs/mascot-desk.jpg\"\n },\n \"role\": \"reference_image\"\n }\n ],\n \"duration\": 5,\n \"ratio\": \"adaptive\",\n \"resolution\": \"768P\"\n }\n}'" } ] } ], "default_example": null, "code_snippets": [], "supports_async": false, "zdr": false, "zdr_comment": null, "external_info": "https://platform.minimax.io/docs/guides/video-generation.md", "terms": "https://platform.minimax.io/docs/guides/terms-of-service.md", "cover_image_url": null, "metadata": { "Billing": "Pay-as-you-go, per output second", "Duration": "4-15 seconds", "Input Types": "Text, image, video, audio", "Resolutions": "768P" }, "request_formats": null, "providers": null, "provider_details": [ { "id": "minimax", "pricing": { "768p": 0.06, "default": 0.06 } } ], "banner": null, "created_at": "2026-10-30 14:12:54", "schema": { "input": { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "content": { "minItems": 1, "type": "array", "items": { "oneOf": [ { "type": "object", "properties": { "type": { "type": "string", "const": "text" }, "text": { "type": "string", "minLength": 1, "maxLength": 7000 } }, "required": [ "type", "text" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "image_url" }, "image_url": { "type": "object", "properties": { "url": { "type": "string", "minLength": 1 } }, "required": [ "url" ], "additionalProperties": false }, "role": { "type": "string", "enum": [ "first_frame", "last_frame", "reference_image" ] } }, "required": [ "type", "image_url" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "video_url" }, "video_url": { "type": "object", "properties": { "url": { "type": "string", "minLength": 1 } }, "required": [ "url" ], "additionalProperties": false }, "role": { "type": "string", "const": "reference_video" } }, "required": [ "type", "video_url", "role" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "audio_url" }, "audio_url": { "type": "object", "properties": { "url": { "type": "string", "minLength": 1 } }, "required": [ "url" ], "additionalProperties": false }, "role": { "type": "string", "const": "reference_audio" } }, "required": [ "type", "audio_url", "role" ], "additionalProperties": false } ] } }, "duration": { "type": "integer", "minimum": 4, "maximum": 15 }, "ratio": { "type": "string", "enum": [ "adaptive", "21:9", "16:9", "4:3", "1:1", "3:4", "9:16" ] }, "callback_url": { "type": "string", "format": "uri" }, "resolution": { "type": "string", "enum": [ "768P" ] } }, "required": [ "content", "duration", "resolution" ], "additionalProperties": false }, "output": { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "task": { "type": "object", "properties": { "id": { "type": "string" }, "model": { "type": "string" }, "status": { "type": "string", "enum": [ "queued", "running", "succeeded", "failed", "cancelled" ] }, "error": { "type": "object", "properties": { "code": { "type": "string" }, "message": { "type": "string" } }, "required": [ "code", "message" ], "additionalProperties": false }, "created_at": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "updated_at": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "content": { "type": "object", "properties": { "url": { "type": "string", "format": "uri" }, "prompt": { "type": "string" } }, "additionalProperties": false }, "resolution": { "type": "string" }, "duration": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "usage": { "type": "object", "properties": { "total_seconds": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "input_seconds": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "output_seconds": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "input_image_count": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "input_audio_seconds": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "total_tokens": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "prompt_tokens": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "completion_tokens": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 } }, "additionalProperties": false }, "ratio": { "type": "string" }, "task_type": { "type": "string", "enum": [ "generation", "regeneration", "h3_context_ir" ] }, "modality": { "type": "string", "enum": [ "video", "text" ] } }, "required": [ "id", "model", "status", "created_at", "updated_at" ], "additionalProperties": {} } }, "required": [ "task" ], "additionalProperties": false } } }