T2A Stream(流式语音生成)
开发环境
开发环境
GET
https://api.minimax.chat/v1/tts/stream
1.
2.
3.
4.
5.
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.minimax.chat/v1/tts/stream?GroupId' \
--header 'Authorization;' \
--header 'header;' \
--header 'Content-Type: application/json' \
--data-raw ''
响应示例响应示例
200 - 示例 1
{
"data": {
"audio": "string",
"status": 0,
"ced": "string"
},
"extra_info": {
"audio_length": 0,
"audio_sample_rate": 0,
"audio_size": 0,
"bitrate": 0,
"word_count": 0,
"invisible_character_ratio": 0
},
"trace_id": "string",
"base_resp": {
"status_code": 0,
"status_msg": "string"
}
}
请求参数
Query 参数
GroupId
string
必需
Header 参数
Authorization
string
必需
header
string
必需
Body 参数application/json
返回响应
修改于 2024-01-04 06:46:37