{ "model_id": "minimax/h3-lite", "provider_id": "minimax", "name": "MiniMax H3 Lite", "description": "A lightweight multimodal video generation model supporting text-to-video, first and last frame image-to-video, and reference-to-video generation at 480P and 768P.", "task": "Text-to-Video", "tags": [ "Video Generation", "Text-to-Video", "Image-to-Video", "Reference-to-Video", "Multimodal" ], "context_length": null, "max_output_tokens": null, "schema_version": "1.0.0", "pricing": { "@480p (per second)": 0.025, "@768p (per second)": 0.04, "Default (per second)": 0.025 }, "examples": [ { "name": "Vertical Latte Art", "description": "A cheap 480P vertical clip for social feeds.", "input": { "content": [ { "type": "text", "text": "Top-down shot of latte art being poured into a ceramic cup on a wooden caf\u00e9 table, the milk forms a rosetta pattern in slow motion. Cozy morning light, vertical framing for social." } ], "duration": 4, "ratio": "9:16", "resolution": "480P" }, "output": { "video": "https://examples.aig.cloudflare.com/minimax/h3-lite/vertical-latte-art.mp4" }, "raw_response": { "task": { "id": "457313854865911", "model": "MiniMax-H3-Lite", "status": "succeeded", "created_at": 1793202510, "updated_at": 1793202525, "content": { "url": "https://examples.aig.cloudflare.com/minimax/h3-lite/vertical-latte-art.mp4" }, "resolution": "480P", "duration": 4, "usage": { "total_seconds": 4, "input_seconds": 0, "output_seconds": 4, "input_image_count": 0, "total_tokens": 41664, "prompt_tokens": 0, "completion_tokens": 41664 }, "ratio": "9:16", "task_type": "generation" } }, "code_snippets": [ { "label": "typescript", "language": "typescript", "code": "const response = await env.AI.run(\n 'minimax/h3-lite',\n {\n content: [\n {\n type: 'text',\n text: 'Top-down shot of latte art being poured into a ceramic cup on a wooden caf\u00e9 table, the milk forms a rosetta pattern in slow motion. Cozy morning light, vertical framing for social.',\n },\n ],\n duration: 4,\n ratio: '9:16',\n resolution: '480P',\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-lite\",\n \"input\": {\n \"content\": [\n {\n \"type\": \"text\",\n \"text\": \"Top-down shot of latte art being poured into a ceramic cup on a wooden caf\u00e9 table, the milk forms a rosetta pattern in slow motion. Cozy morning light, vertical framing for social.\"\n }\n ],\n \"duration\": 4,\n \"ratio\": \"9:16\",\n \"resolution\": \"480P\"\n }\n}'" } ] }, { "name": "Rice Terrace Flyover", "description": "A 768P scenic establishing shot from text.", "input": { "content": [ { "type": "text", "text": "Drone flyover of green terraced rice fields at sunrise, low mist drifting between the terraces [push in], then the camera rises to reveal the valley [tilt up]. Cinematic, calm." } ], "duration": 5, "ratio": "16:9", "resolution": "768P" }, "output": { "video": "https://examples.aig.cloudflare.com/minimax/h3-lite/rice-terrace-flyover.mp4" }, "raw_response": { "task": { "id": "457314815484259", "model": "MiniMax-H3-Lite", "status": "succeeded", "created_at": 1793202531, "updated_at": 1793202549, "content": { "url": "https://examples.aig.cloudflare.com/minimax/h3-lite/rice-terrace-flyover.mp4" }, "resolution": "768P", "duration": 5, "usage": { "total_seconds": 5, "input_seconds": 0, "output_seconds": 5, "input_image_count": 0, "total_tokens": 84625, "prompt_tokens": 0, "completion_tokens": 84625 }, "ratio": "16:9", "task_type": "generation" } }, "code_snippets": [ { "label": "typescript", "language": "typescript", "code": "const response = await env.AI.run(\n 'minimax/h3-lite',\n {\n content: [\n {\n type: 'text',\n text: 'Drone flyover of green terraced rice fields at sunrise, low mist drifting between the terraces [push in], then the camera rises to reveal the valley [tilt up]. Cinematic, calm.',\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-lite\",\n \"input\": {\n \"content\": [\n {\n \"type\": \"text\",\n \"text\": \"Drone flyover of green terraced rice fields at sunrise, low mist drifting between the terraces [push in], then the camera rises to reveal the valley [tilt up]. Cinematic, calm.\"\n }\n ],\n \"duration\": 5,\n \"ratio\": \"16:9\",\n \"resolution\": \"768P\"\n }\n}'" } ] }, { "name": "Fresh Scones", "description": "Bring a still food photo to life from a first frame at 480P.", "input": { "content": [ { "type": "text", "text": "Steam rises gently from the freshly baked scones, a little butter melts, and the camera slowly pushes in. Warm kitchen light." }, { "type": "image_url", "image_url": { "url": "https://storage.googleapis.com/cloud-samples-data/generative-ai/image/scones.jpg" }, "role": "first_frame" } ], "duration": 5, "ratio": "adaptive", "resolution": "480P" }, "output": { "video": "https://examples.aig.cloudflare.com/minimax/h3-lite/fresh-scones.mp4" }, "raw_response": { "task": { "id": "457317239742916", "model": "MiniMax-H3-Lite", "status": "succeeded", "created_at": 1793202551, "updated_at": 1793202572, "content": { "url": "https://examples.aig.cloudflare.com/minimax/h3-lite/fresh-scones.mp4" }, "resolution": "480P", "duration": 5, "usage": { "total_seconds": 5, "input_seconds": 0, "output_seconds": 5, "input_image_count": 1, "total_tokens": 60543, "prompt_tokens": 8463, "completion_tokens": 52080 }, "ratio": "adaptive", "task_type": "generation" } }, "code_snippets": [ { "label": "typescript", "language": "typescript", "code": "const response = await env.AI.run(\n 'minimax/h3-lite',\n {\n content: [\n {\n type: 'text',\n text: 'Steam rises gently from the freshly baked scones, a little butter melts, and the camera slowly pushes in. Warm kitchen light.',\n },\n {\n type: 'image_url',\n image_url: {\n url: 'https://storage.googleapis.com/cloud-samples-data/generative-ai/image/scones.jpg',\n },\n role: 'first_frame',\n },\n ],\n duration: 5,\n ratio: 'adaptive',\n resolution: '480P',\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-lite\",\n \"input\": {\n \"content\": [\n {\n \"type\": \"text\",\n \"text\": \"Steam rises gently from the freshly baked scones, a little butter melts, and the camera slowly pushes in. Warm kitchen light.\"\n },\n {\n \"type\": \"image_url\",\n \"image_url\": {\n \"url\": \"https://storage.googleapis.com/cloud-samples-data/generative-ai/image/scones.jpg\"\n },\n \"role\": \"first_frame\"\n }\n ],\n \"duration\": 5,\n \"ratio\": \"adaptive\",\n \"resolution\": \"480P\"\n }\n}'" } ] }, { "name": "Sketch Draws Itself", "description": "End on a supplied last frame at 768P.", "input": { "content": [ { "type": "text", "text": "A blank sheet of white paper on a design desk. Pencil lines appear on their own and sketch a sneaker concept, ending on the finished drawing. Static top-down camera, soft daylight." }, { "type": "image_url", "image_url": { "url": "https://examples.aig.cloudflare.com/klingai/kling-v4/inputs/sneaker-sketch.jpg" }, "role": "last_frame" } ], "duration": 5, "ratio": "adaptive", "resolution": "768P" }, "output": { "video": "https://examples.aig.cloudflare.com/minimax/h3-lite/sketch-draws-itself.mp4" }, "raw_response": { "task": { "id": "457318745805131", "model": "MiniMax-H3-Lite", "status": "succeeded", "created_at": 1793203035, "updated_at": 1793203058, "content": { "url": "https://examples.aig.cloudflare.com/minimax/h3-lite/sketch-draws-itself.mp4" }, "resolution": "768P", "duration": 5, "usage": { "total_seconds": 5, "input_seconds": 0, "output_seconds": 5, "input_image_count": 1, "total_tokens": 93088, "prompt_tokens": 8463, "completion_tokens": 84625 }, "ratio": "adaptive", "task_type": "generation" } }, "code_snippets": [ { "label": "typescript", "language": "typescript", "code": "const response = await env.AI.run(\n 'minimax/h3-lite',\n {\n content: [\n {\n type: 'text',\n text: 'A blank sheet of white paper on a design desk. Pencil lines appear on their own and sketch a sneaker concept, ending on the finished drawing. Static top-down camera, soft daylight.',\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: '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-lite\",\n \"input\": {\n \"content\": [\n {\n \"type\": \"text\",\n \"text\": \"A blank sheet of white paper on a design desk. Pencil lines appear on their own and sketch a sneaker concept, ending on the finished drawing. Static top-down camera, soft daylight.\"\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\": \"last_frame\"\n }\n ],\n \"duration\": 5,\n \"ratio\": \"adaptive\",\n \"resolution\": \"768P\"\n }\n}'" } ] }, { "name": "Mascot Comes to Life 480P", "description": "The same first and last frames as the H3 Highspeed example, at Lite's cheaper 480P.", "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": "480P" }, "output": { "video": "https://examples.aig.cloudflare.com/minimax/h3-lite/mascot-comes-to-life-480p.mp4" }, "raw_response": { "task": { "id": "457316858245645", "model": "MiniMax-H3-Lite", "status": "succeeded", "created_at": 1793202593, "updated_at": 1793202616, "content": { "url": "https://examples.aig.cloudflare.com/minimax/h3-lite/mascot-comes-to-life-480p.mp4" }, "resolution": "480P", "duration": 5, "usage": { "total_seconds": 5, "input_seconds": 0, "output_seconds": 5, "input_image_count": 2, "total_tokens": 69006, "prompt_tokens": 16926, "completion_tokens": 52080 }, "ratio": "adaptive", "task_type": "generation" } }, "code_snippets": [ { "label": "typescript", "language": "typescript", "code": "const response = await env.AI.run(\n 'minimax/h3-lite',\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: '480P',\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-lite\",\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\": \"480P\"\n }\n}'" } ] }, { "name": "Mascot Storyboard Shot", "description": "Keep a character consistent from reference images; H3 Lite needs a concrete ratio for reference-to-video.", "input": { "content": [ { "type": "text", "text": "Storyboard shot: the robot mascot from the reference images walks along a bookshelf, stops at the edge and waves. Keep the mascot's shape, colors and antenna consistent with the references. Playful stop-motion feel." }, { "type": "image_url", "image_url": { "url": "https://examples.aig.cloudflare.com/klingai/kling-v4/inputs/mascot-hop.jpg" }, "role": "reference_image" }, { "type": "image_url", "image_url": { "url": "https://examples.aig.cloudflare.com/klingai/kling-v4/inputs/mascot-desk.jpg" }, "role": "reference_image" } ], "duration": 5, "ratio": "16:9", "resolution": "768P" }, "output": { "video": "https://examples.aig.cloudflare.com/minimax/h3-lite/mascot-storyboard-shot.mp4" }, "raw_response": { "task": { "id": "457314329653813", "model": "MiniMax-H3-Lite", "status": "succeeded", "created_at": 1793202624, "updated_at": 1793202655, "content": { "url": "https://examples.aig.cloudflare.com/minimax/h3-lite/mascot-storyboard-shot.mp4" }, "resolution": "768P", "duration": 5, "usage": { "total_seconds": 5, "input_seconds": 0, "output_seconds": 5, "input_image_count": 2, "total_tokens": 101551, "prompt_tokens": 16926, "completion_tokens": 84625 }, "ratio": "16:9", "task_type": "generation" } }, "code_snippets": [ { "label": "typescript", "language": "typescript", "code": "const response = await env.AI.run(\n 'minimax/h3-lite',\n {\n content: [\n {\n type: 'text',\n text: \"Storyboard shot: the robot mascot from the reference images walks along a bookshelf, stops at the edge and waves. Keep the mascot's shape, colors and antenna consistent with the references. Playful stop-motion feel.\",\n },\n {\n type: 'image_url',\n image_url: {\n url: 'https://examples.aig.cloudflare.com/klingai/kling-v4/inputs/mascot-hop.jpg',\n },\n role: 'reference_image',\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: '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-lite\",\n \"input\": {\n \"content\": [\n {\n \"type\": \"text\",\n \"text\": \"Storyboard shot: the robot mascot from the reference images walks along a bookshelf, stops at the edge and waves. Keep the mascot'\\''s shape, colors and antenna consistent with the references. Playful stop-motion feel.\"\n },\n {\n \"type\": \"image_url\",\n \"image_url\": {\n \"url\": \"https://examples.aig.cloudflare.com/klingai/kling-v4/inputs/mascot-hop.jpg\"\n },\n \"role\": \"reference_image\"\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\": \"16:9\",\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": "480P, 768P" }, "request_formats": null, "providers": null, "provider_details": [ { "id": "minimax", "pricing": { "480p": 0.025, "768p": 0.04, "default": 0.025 } } ], "banner": null, "created_at": "2026-10-30 14:13:10", "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": [ "480P", "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 } } }