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": {
"gmt_create": "2024-12-11 13:38:02",
"gmt_modified": "2024-12-11 13:38:02",
"resource_link": "https://yourAudioFileUrl",
"target_model": "cosyvoice-v3-plus",
"status": "OK"
},
"usage": {
"count": 1
},
"request_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}