{ "model_id": "minimax/speech-2.8-turbo", "provider_id": "minimax", "name": "MiniMax Speech 2.8 Turbo", "description": "MiniMax Speech 2.8 Turbo turns text into natural, expressive speech with voice cloning, emotion control, and 40+ language support at faster speeds.", "task": "Text-to-Speech", "tags": [ "TTS", "Speech Synthesis", "Voice Cloning", "Multilingual", "Fast" ], "context_length": null, "max_output_tokens": null, "schema_version": "1.0.0", "pricing": { "Per character": 0.00006 }, "examples": [ { "name": "Simple Speech", "description": "Generate speech with default settings", "input": { "format": "mp3", "pitch": 0, "speed": 1, "text": "Hello! Welcome to Cloudflare AI Gateway. Let me show you what we can do.", "voice_id": "English_expressive_narrator", "volume": 1 }, "output": { "audio": "https://pub-04a6d208d361438ea01b797e6973bd19.r2.dev/catalog/minimax__speech-2.8-turbo/simple-speech.mp3" }, "raw_response": { "gatewayMetadata": { "keySource": "Unified" }, "result": { "audio": "https://pub-04a6d208d361438ea01b797e6973bd19.r2.dev/catalog/minimax__speech-2.8-turbo/simple-speech.mp3" }, "state": "Completed" }, "code_snippets": [ { "label": "typescript", "language": "typescript", "code": "const response = await env.AI.run(\n 'minimax/speech-2.8-turbo',\n {\n format: 'mp3',\n pitch: 0,\n speed: 1,\n text: 'Hello! Welcome to Cloudflare AI Gateway. Let me show you what we can do.',\n voice_id: 'English_expressive_narrator',\n volume: 1,\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/speech-2.8-turbo\",\n \"input\": {\n \"format\": \"mp3\",\n \"pitch\": 0,\n \"speed\": 1,\n \"text\": \"Hello! Welcome to Cloudflare AI Gateway. Let me show you what we can do.\",\n \"voice_id\": \"English_expressive_narrator\",\n \"volume\": 1\n }\n}'" } ] }, { "name": "Fast Narration", "description": "Speed up narration for quick playback", "input": { "format": "mp3", "pitch": 0, "speed": 1.5, "text": "This is a fast-paced summary of the key findings from the quarterly report. Revenue is up fifteen percent and user growth exceeded expectations.", "voice_id": "English_expressive_narrator", "volume": 1 }, "output": { "audio": "https://pub-04a6d208d361438ea01b797e6973bd19.r2.dev/catalog/minimax__speech-2.8-turbo/fast-narration.mp3" }, "raw_response": { "gatewayMetadata": { "keySource": "Unified" }, "result": { "audio": "https://pub-04a6d208d361438ea01b797e6973bd19.r2.dev/catalog/minimax__speech-2.8-turbo/fast-narration.mp3" }, "state": "Completed" }, "code_snippets": [ { "label": "typescript", "language": "typescript", "code": "const response = await env.AI.run(\n 'minimax/speech-2.8-turbo',\n {\n format: 'mp3',\n pitch: 0,\n speed: 1.5,\n text: 'This is a fast-paced summary of the key findings from the quarterly report. Revenue is up fifteen percent and user growth exceeded expectations.',\n voice_id: 'English_expressive_narrator',\n volume: 1,\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/speech-2.8-turbo\",\n \"input\": {\n \"format\": \"mp3\",\n \"pitch\": 0,\n \"speed\": 1.5,\n \"text\": \"This is a fast-paced summary of the key findings from the quarterly report. Revenue is up fifteen percent and user growth exceeded expectations.\",\n \"voice_id\": \"English_expressive_narrator\",\n \"volume\": 1\n }\n}'" } ] }, { "name": "Calm Tone", "description": "Calm and steady speech for meditation or relaxation", "input": { "emotion": "calm", "format": "mp3", "pitch": 0, "speed": 0.8, "text": "Take a deep breath in. Hold it for a moment. Now slowly exhale. Let your shoulders relax and release any tension.", "voice_id": "English_expressive_narrator", "volume": 1 }, "output": { "audio": "https://pub-04a6d208d361438ea01b797e6973bd19.r2.dev/catalog/minimax__speech-2.8-turbo/calm-tone.mp3" }, "raw_response": { "gatewayMetadata": { "keySource": "Unified" }, "result": { "audio": "https://pub-04a6d208d361438ea01b797e6973bd19.r2.dev/catalog/minimax__speech-2.8-turbo/calm-tone.mp3" }, "state": "Completed" }, "code_snippets": [ { "label": "typescript", "language": "typescript", "code": "const response = await env.AI.run(\n 'minimax/speech-2.8-turbo',\n {\n emotion: 'calm',\n format: 'mp3',\n pitch: 0,\n speed: 0.8,\n text: 'Take a deep breath in. Hold it for a moment. Now slowly exhale. Let your shoulders relax and release any tension.',\n voice_id: 'English_expressive_narrator',\n volume: 1,\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/speech-2.8-turbo\",\n \"input\": {\n \"emotion\": \"calm\",\n \"format\": \"mp3\",\n \"pitch\": 0,\n \"speed\": 0.8,\n \"text\": \"Take a deep breath in. Hold it for a moment. Now slowly exhale. Let your shoulders relax and release any tension.\",\n \"voice_id\": \"English_expressive_narrator\",\n \"volume\": 1\n }\n}'" } ] }, { "name": "Adjusted Pitch", "description": "Lower the pitch for a deeper voice", "input": { "format": "mp3", "pitch": -6, "speed": 1, "text": "Good evening. Tonight we explore the mysteries of the deep ocean and the creatures that live in total darkness.", "voice_id": "English_expressive_narrator", "volume": 1 }, "output": { "audio": "https://pub-04a6d208d361438ea01b797e6973bd19.r2.dev/catalog/minimax__speech-2.8-turbo/adjusted-pitch.mp3" }, "raw_response": { "gatewayMetadata": { "keySource": "Unified" }, "result": { "audio": "https://pub-04a6d208d361438ea01b797e6973bd19.r2.dev/catalog/minimax__speech-2.8-turbo/adjusted-pitch.mp3" }, "state": "Completed" }, "code_snippets": [ { "label": "typescript", "language": "typescript", "code": "const response = await env.AI.run(\n 'minimax/speech-2.8-turbo',\n {\n format: 'mp3',\n pitch: -6,\n speed: 1,\n text: 'Good evening. Tonight we explore the mysteries of the deep ocean and the creatures that live in total darkness.',\n voice_id: 'English_expressive_narrator',\n volume: 1,\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/speech-2.8-turbo\",\n \"input\": {\n \"format\": \"mp3\",\n \"pitch\": -6,\n \"speed\": 1,\n \"text\": \"Good evening. Tonight we explore the mysteries of the deep ocean and the creatures that live in total darkness.\",\n \"voice_id\": \"English_expressive_narrator\",\n \"volume\": 1\n }\n}'" } ] } ], "default_example": null, "code_snippets": [], "supports_async": false, "zdr": true, "zdr_comment": null, "external_info": "https://www.minimaxi.com/", "terms": "https://www.minimaxi.com/terms", "cover_image_url": "https://pub-26f1392c1b674324be6786695bd72257.r2.dev/minimax/speech-2.8-turbo.png", "metadata": { "Emotion Control": "Yes", "Languages": "40+", "Voice Cloning": "Yes" }, "request_formats": null, "providers": null, "provider_details": [ { "id": "minimax", "pricing": { "input_characters": 0.00006 } } ], "banner": null, "created_at": "2026-05-22 17:53:21", "schema": { "input": { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "text": { "type": "string", "maxLength": 10000, "description": "The text to convert to speech. Maximum 10,000 characters." }, "voice_id": { "default": "English_expressive_narrator", "description": "The voice ID to use for synthesis", "type": "string" }, "speed": { "default": 1, "description": "Speech speed (0.5 to 2)", "type": "number", "minimum": 0.5, "maximum": 2 }, "volume": { "default": 1, "description": "Speech volume (0 to 10)", "type": "number", "minimum": 0, "maximum": 10 }, "pitch": { "default": 0, "description": "Pitch adjustment (-12 to 12)", "type": "integer", "minimum": -12, "maximum": 12 }, "emotion": { "description": "Emotion control for synthesized speech", "type": "string", "enum": [ "happy", "sad", "angry", "fearful", "disgusted", "surprised", "calm", "fluent" ] }, "format": { "default": "mp3", "description": "Output audio format", "type": "string", "enum": [ "mp3", "flac", "wav" ] }, "sample_rate": { "description": "Audio sample rate", "anyOf": [ { "type": "number", "const": 8000 }, { "type": "number", "const": 16000 }, { "type": "number", "const": 22050 }, { "type": "number", "const": 24000 }, { "type": "number", "const": 32000 }, { "type": "number", "const": 44100 } ] } }, "required": [ "text", "voice_id", "speed", "volume", "pitch", "format" ], "additionalProperties": false }, "output": { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "audio": { "type": "string", "description": "URL to the generated audio file" } }, "required": [ "audio" ], "additionalProperties": false } } }