同步语音合成 V2
接口: POST https://4zapi.com/minimax/v1/t2a_v2
https://platform.minimaxi.com/docs/api-reference/speech-t2a-http
参数
Content-Type(header, string, 必填): 请求体的媒介类型,必须设置为 application/json 以确保请求数据的格式为 JSON ["application/json"]
请求示例
{
"model": "speech-02-hd",
"text": "你好,欢迎使用语音合成服务!",
"voice_setting": {
"voice_id": "moss_audio_ce44fc67-7ce3-11f0-8de5-96e35d26fb85"
}
}