开放平台
历史记录0

暂无历史记录

生成成功的音频将自动保存

同步语音生成

调试 MiniMax 语音生成 API,实时预览效果并生成 Curl 命令

支持停顿控制:使用 <#x#> 标记停顿时长(秒),如:你好<#0.5#>世界

音色设置

生动、低语仅对 Speech 2.6 系列模型生效

音频设置

🇨🇳 国内
API Key 未配置
Curl 命令国内
curl --request POST \
  --url https://api.minimaxi.com/v1/t2a_v2 \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "model": "speech-2.6-hd",
  "text": "今天是不是很开心呀,当然了!",
  "stream": false,
  "voice_setting": {
    "voice_id": "male-qn-qingse",
    "speed": 1,
    "vol": 1,
    "pitch": 0
  },
  "audio_setting": {
    "sample_rate": 32000,
    "bitrate": 128000,
    "format": "mp3",
    "channel": 1
  },
  "pronunciation_dict": {
    "tone": []
  },
  "subtitle_enable": false,
  "output_format": "hex"
}'
请求体 (JSON)
{
  "model": "speech-2.6-hd",
  "text": "今天是不是很开心呀,当然了!",
  "stream": false,
  "voice_setting": {
    "voice_id": "male-qn-qingse",
    "speed": 1,
    "vol": 1,
    "pitch": 0
  },
  "audio_setting": {
    "sample_rate": 32000,
    "bitrate": 128000,
    "format": "mp3",
    "channel": 1
  },
  "pronunciation_dict": {
    "tone": []
  },
  "subtitle_enable": false,
  "output_format": "hex"
}