OpenNex

同步语音合成 V2

接口: POST https://api.opennex.top/minimax/v1/t2a_v2

https://platform.minimaxi.com/docs/api-reference/speech-t2a-http

model 可选:speech-2.8-hd、speech-2.8-turbo、speech-2.6-hd、speech-2.6-turbo、speech-02-hd、speech-02-turbo。

参数

  • Content-Type (header, string, 必填): 请求体的媒介类型,必须设置为 application/json 以确保请求数据的格式为 JSON ["application/json"]

请求示例

{
  "model": "speech-2.6-hd",
  "text": "这是带声音效果器的语音合成。",
  "voice_modify": {
    "intensity": -30,
    "pitch": 20,
    "sound_effects": "robotic",
    "timbre": 10
  },
  "voice_setting": {
    "voice_id": "English_Persuasive_Man"
  }
}