Text-to-speech synthesis for multilingual voiceovers and narration
- Tool calling
不支持工具调用 · 不支持
- Reasoning
不支持推理 · 不支持
- Vision
不支持视觉 · 不支持
- Streaming
不支持流式输出 · 不支持
- JSON mode
不支持JSON 模式 · 不支持
USD per 10,000 billable characters
- Billable characters
- $1.00
- Precision
- 官方精度
- Price checked
Model availability and prices
Overview
MiniMax Speech 02 HD provides studio-grade voice clarity and consistent cadence across major global languages, supporting speed, volume, pitch, base emotions, pronunciation dictionaries, and audio effects.
- Version
- speech-02-hd
- Input / output
- text / audio
- Endpoint
- /v1/audio/speech
API protocols and integration
Authorization: Bearer ITERACOMPUTE_API_KEY
POST /v1/audio/speech
同步语音合成,返回二进制音频并在响应头 X-Itera-Billable-Characters 返回实际计费字符数(汉字按 2 字符计)。按上游原生 usage_characters 结算。
LLMs.txt
# minimax/speech-02-hd
Revision: c799408123acd041d195e7d8db76aff0f0c8270bffb3dfc0d9b8c73ce28b98a7
Authorization: Bearer ITERACOMPUTE_API_KEY
POST https://api.iteracompute.com/v1/audio/speech
- input · string · 要合成的文本(最长 10,000 字符)。1 个汉字按 2 个计费字符计算。
- voice · string · 系统音色 ID,例如 male-qn-qingse 或 English_Graceful_Lady。
- response_format · enum · 输出音频格式。 · ["mp3","wav","flac","pcm","opus"] · default="mp3"
- sample_rate · enum · 采样率(Hz)。 · [8000,16000,22050,24000,32000,44100] · default=32000
- bitrate · enum · 比特率(bps,仅 mp3 生效)。 · [32000,64000,128000,256000] · default=128000
- channel · enum · 声道数:1 单声道,2 双声道。 · [1,2] · default=1
- speed · number · 语速倍率,范围 [0.5, 2.0]。 · [0.5, 2] · default=1
- volume · number · 音量大小,范围 (0, 10]。 · [0.01, 10] · default=1
- pitch · integer · 语调偏移,范围 [-12, 12]。 · [-12, 12] · default=0
- emotion · enum · 可选情绪。fluent 仅支持 speech-2.6/2.8;whisper 仅支持 speech-2.6。 · ["happy","sad","angry","fearful","disgusted","surprised","calm","fluent","whisper"]
- language_boost · string · 小语种或方言识别增强(或填 auto)。
- text_normalization_mode · enum · 文本归一化模式(quality 仅支持 speech-2.6/2.8)。 · ["basic","quality"]
- latex_read · boolean · 是否朗读 LaTeX 公式(仅中文)。
- pronunciation_dict · object · 自定义发音规则:{"tone": ["原文/替换内容"]}。
- voice_modify · object · 声音效果器设置(仅支持 mp3、wav、flac)。
- aigc_watermark · boolean · 设为 true 时在音频末尾添加 AIGC 节奏标识。
安装 requests,设置 ITERACOMPUTE_API_KEY。示例将 16 kHz 单声道 WAV 写入 speech.wav。
import os
from pathlib import Path
import requests
base = "https://api.iteracompute.com/v1"
headers = {"Authorization": "Bearer " + os.environ["ITERACOMPUTE_API_KEY"]}
r = requests.post(base + "/audio/speech", headers=headers, json={
"input": "Hello from IteraCompute.",
"voice": "English_Graceful_Lady",
"response_format": "wav",
"sample_rate": 16000,
"model": "minimax/speech-02-hd"
}, timeout=120)
r.raise_for_status()
Path("speech.wav").write_bytes(r.content)API parameters
- Submit JSON to POST /v1/audio/speech and save the binary audio response body.
- Actual upstream billable characters are returned in the X-Itera-Billable-Characters response header.
- The bitrate parameter applies to mp3 output only; voice_modify applies to mp3, wav, and flac.
以下为当前线路接受的参数与取值范围,账户额度和上下文限制同时适用。参数可接收不代表相关模型能力已经完成验证。
- 工具调用
- 不支持
- 推理
- 不支持
- 视觉
- 不支持
- 流式输出
- 不支持
- JSON 模式
- 不支持
参数与取值
点击参数名即可复制;表格可横向滚动查看全部列。用途栏标明协议差异,不能将同名字段视为跨接口通用。
| 参数 | 类型 | 接收状态 | 取值范围 | 用途 / 协议 |
|---|---|---|---|---|
| 字符串 | 可接收 | — | 要合成的文本(最长 10,000 字符)。1 个汉字按 2 个计费字符计算。 必填。 | |
| 整数 | 可接收 | [-12, 12] | 语调偏移,范围 [-12, 12]。 默认值 0. | |
| 数值 | 可接收 | [0.5, 2] | 语速倍率,范围 [0.5, 2.0]。 默认值 1. | |
| 字符串 | 可接收 | — | 系统音色 ID,例如 male-qn-qingse 或 English_Graceful_Lady。 必填。 | |
| 数值 | 可接收 | [0.01, 10] | 音量大小,范围 (0, 10]。 默认值 1. | |
| 枚举值 | 可接收 | [32000,64000,128000,256000] | 比特率(bps,仅 mp3 生效)。 默认值 128000. | |
| 枚举值 | 可接收 | [1,2] | 声道数:1 单声道,2 双声道。 默认值 1. | |
| 枚举值 | 可接收 | ["happy","sad","angry","fearful","disgusted","surprised","calm","fluent","whisper"] | 可选情绪。fluent 仅支持 speech-2.6/2.8;whisper 仅支持 speech-2.6。 | |
| 布尔值 | 可接收 | — | 是否朗读 LaTeX 公式(仅中文)。 | |
| 枚举值 | 可接收 | [8000,16000,22050,24000,32000,44100] | 采样率(Hz)。 默认值 32000. | |
| 对象 | 可接收 | — | 声音效果器设置(仅支持 mp3、wav、flac)。 | |
| 布尔值 | 可接收 | — | 设为 true 时在音频末尾添加 AIGC 节奏标识。 | |
| 字符串 | 可接收 | — | 小语种或方言识别增强(或填 auto)。 | |
| 枚举值 | 可接收 | ["mp3","wav","flac","pcm","opus"] | 输出音频格式。 默认值 "mp3". | |
| 对象 | 可接收 | — | 自定义发音规则:{"tone": ["原文/替换内容"]}。 | |
| 枚举值 | 可接收 | ["basic","quality"] | 文本归一化模式(quality 仅支持 speech-2.6/2.8)。 |
当前配置调用示例
POST /v1/audio/speech
{
"input": "Hello from IteraCompute.",
"voice": "English_Graceful_Lady",
"response_format": "wav",
"sample_rate": 16000,
"model": "minimax/speech-02-hd"
}参数版本:c799408123ac
API
安装 requests,设置 ITERACOMPUTE_API_KEY。示例将 16 kHz 单声道 WAV 写入 speech.wav。
import os
from pathlib import Path
import requests
base = "https://api.iteracompute.com/v1"
headers = {"Authorization": "Bearer " + os.environ["ITERACOMPUTE_API_KEY"]}
r = requests.post(base + "/audio/speech", headers=headers, json={
"input": "Hello from IteraCompute.",
"voice": "English_Graceful_Lady",
"response_format": "wav",
"sample_rate": 16000,
"model": "minimax/speech-02-hd"
}, timeout=120)
r.raise_for_status()
Path("speech.wav").write_bytes(r.content)Pricing
USD per 10,000 billable characters
Official list price reference
- Retail price: $1.00 per 10,000 billable characters (benchmarked against MiniMax International USD list price; CN domestic reference: CNY 3.50 / 10,000 chars).
- Tier: HD. Settled strictly on upstream usage_characters.
- Model ID
minimax/speech-02-hd- Verification scope and sources
View verification scope and sources
2026-12-04 · Official MiniMax API credential verified live; T2A v2 wire contract, parameter validation, and usage_characters billing verified in release 2026.12.04-minimax-multimodal-4.
Usage limits
- Synchronous non-streaming synthesis up to 10,000 characters per request.
- One CJK character counts as 2 billable characters per MiniMax native usage_characters metering.
- Supports the 7 base emotions and basic text normalization; excludes Persian, Filipino, and Tamil in language_boost.
Use cases
Interactive audio generation with emotion, speed, pitch, and pronunciation control
Downloadable MP3, WAV, FLAC, PCM, or Opus audio export
Integration tools and guides
FAQ
How do I get started?
How is usage billed?
New arrivals
Explore the models selected for New Arrivals, with API pricing, supported capabilities and integration guides.
MiniMax H3 Lite
New
minimax/MiniMax-H3-Lite
MiniMax H3 Lite is the cost-optimized 480P and 768P multimodal video generation model (4–15 s) with synchronized audio.
Launched on IteraCompute
- 480P · per output second
- $0.025
USD unit prices · rounded up to 3 decimal places for display
MiniMax H3 Highspeed
New
minimax/MiniMax-H3-Highspeed
MiniMax H3 Highspeed delivers accelerated asynchronous 480P and 768P multimodal video generation (4–15 s) with synchronized audio.
Launched on IteraCompute
- 480P · per output second
- $0.04
USD unit prices · rounded up to 3 decimal places for display
MiniMax H3 Image Highspeed
New
minimax/MiniMax-H3-Image-Highspeed
MiniMax H3 Image Highspeed is the accelerated H3 image generation and editing tier for low-latency 1K–4K visual workflows.
Launched on IteraCompute
- Text input
- $2.30
- Image output
- $7.60
USD per million tokens