curl --location --request POST 'https://api.302.ai/bigmodel/api/paas/v4/audio/speech?output_format=url' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "glm-tts",
"input": "你好呀,欢迎来到智谱开放平台",
"voice": "tongtong",
"response_format": "wav",
"speed": 1.0,
"volume": 1.0
}'{
"created": 1741748613,
"data": [
{
"url": "https://file.302ai.cn/gpt/imgs/c1ae01f52d5b2611dcc419bdc7dff829.jpg"
}
]
}