{
"model": "MiniMax/speech-2.8-hd",
"input": {
"text": "欢迎使用语音合成服务,这是一个测试文本。",
"voice_setting": {
"voice_id": "468",
"voice_model_type": 2,
"speed": 1,
"vol": 1,
"pitch": 0,
"emotion": "calm"
},
"audio_setting": {
"sample_rate": 32000,
"bitrate": 128000,
"channel": 1
},
"pronunciation_dict": {
"tone": [
"欢迎/(huan1)(ying4)"
]
},
"timbre_weights": [
{
"voice_id": "467",
"voice_model_type": 2,
"weight": 70
},
{
"voice_id": "466",
"voice_model_type": 2,
"weight": 30
}
],
"language_boost": "auto",
"voice_modify": {
"pitch": 0,
"intensity": 0,
"timbre": 0,
"sound_effect": "spacious_echo"
},
"subtitle_enable": false,
"aigc_watermark": false
}
}curl --location '/openapi/figure/NWMaxMerge' \
--header 'appId: 1198988742' \
--header 'timestamp: 1772277539' \
--header 'sign: 4b250d3e859caa00bc3b48287cbad8fafce3274af370c985b5015eda434370c2' \
--header 'Content-Type: application/json' \
--data '{
"model": "MiniMax/speech-2.8-hd",
"input": {
"text": "欢迎使用语音合成服务,这是一个测试文本。",
"voice_setting": {
"voice_id": "468",
"voice_model_type": 2,
"speed": 1,
"vol": 1,
"pitch": 0,
"emotion": "calm"
},
"audio_setting": {
"sample_rate": 32000,
"bitrate": 128000,
"channel": 1
},
"pronunciation_dict": {
"tone": [
"欢迎/(huan1)(ying4)"
]
},
"timbre_weights": [
{
"voice_id": "467",
"voice_model_type": 2,
"weight": 70
},
{
"voice_id": "466",
"voice_model_type": 2,
"weight": 30
}
],
"language_boost": "auto",
"voice_modify": {
"pitch": 0,
"intensity": 0,
"timbre": 0,
"sound_effect": "spacious_echo"
},
"subtitle_enable": false,
"aigc_watermark": false
}
}'{
"code": 1,
"msg": "操作成功",
"data": {
"audio_id": 709,
"merge_status": 2,
"audio_url": "https://xxxxxx.oss-cn-shenzhen.aliyuncs.com/upload/attachment/audio/202605/14/1778755348972_.mp3",
"audio_duration": 4,
"err_msg": null
}
}