CosyVoice
查询设计音色详情(CosyVoice)
查询指定 CosyVoice 设计音色的详情,包括状态、创建时间等。
cURL
复制
curl -X POST https://dashscope.aliyuncs.com/api/v1/services/audio/tts/customization \
-H "Authorization: Bearer $DASHSCOPE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "voice-enrollment",
"input": {
"action": "query_voice",
"voice_id": "cosyvoice-v3-plus-myvoice-xxxxxx"
}
}'复制
{
"output": {
"voice_id": "cosyvoice-v3.5-plus-vd-announcer-xxxxxx",
"gmt_create": "2025-12-10 14:54:09",
"gmt_modified": "2025-12-10 17:47:48",
"target_model": "cosyvoice-v3.5-plus",
"status": "OK",
"voice_prompt": "沉稳的中年男性播音员,音色低沉浑厚",
"preview_text": "各位听众朋友们,大家好"
},
"usage": {},
"request_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}