OpenNex

Synchronous speech synthesis V2

Endpoint: POST https://api.opennex.top/minimax/v1/t2a_v2

Parameters

  • Content-Type (header, string, required): The media type of the request body must be set to application/json to ensure that the request data is in JSON format ["application/json"]

Request example

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