Request
Body Params application/json
{"audio": {
"voice_type": "zh_male_M392_conversation_wvae_bigtts",
"encoding": "mp3",
"speed_ratio": 1.0
},
"request": {
"reqid": "xxxx",
"text": "你好啊",
"operation": "query"
}
}
Request Code Samples
curl --location --request POST 'https://api.302.ai/doubao/tts_hd' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{"audio": {
"voice_type": "zh_male_M392_conversation_wvae_bigtts",
"encoding": "mp3",
"speed_ratio": 1.0
},
"request": {
"reqid": "xxxx",
"text": "你好啊",
"operation": "query"
}
}'
Responses
application/json {
"reqid": "xxxx",
"code": 3000,
"operation": "query",
"message": "Success",
"sequence": -1,
"data": "//PkxAAAA......",
"addition": {
"duration": "881",
"first_pkg": "334"
}
}
Modified at 2026-01-19 07:32:01