curl --location 'https://api.myvocal.ai/sound_clone/api/v1/tts/query' \
--header 'accessKey: xxx' \
--header 'Content-Type: application/json' \
--data '{
"ids":["22","13"]
}'
{
"code": 1,
"message": "Success",
"data": [
{
"id": "2195",
"url": "xxxx"
},
{
"id": "2196",
"url": "xxxx"
}
]
}
{
"code": -1,
"message": "error msg",
}
TTS History
Get TTS audio URLs
Get playable audio URLs for up to 1,000 Text to Speech history records.
POST
/
sound_clone
/
api
/
v1
/
tts
/
query
curl --location 'https://api.myvocal.ai/sound_clone/api/v1/tts/query' \
--header 'accessKey: xxx' \
--header 'Content-Type: application/json' \
--data '{
"ids":["22","13"]
}'
{
"code": 1,
"message": "Success",
"data": [
{
"id": "2195",
"url": "xxxx"
},
{
"id": "2196",
"url": "xxxx"
}
]
}
{
"code": -1,
"message": "error msg",
}
Text to Speech · History · Workflow: TTS quickstart
Header
Your API key. See Authentication.
Body
Response
curl --location 'https://api.myvocal.ai/sound_clone/api/v1/tts/query' \
--header 'accessKey: xxx' \
--header 'Content-Type: application/json' \
--data '{
"ids":["22","13"]
}'
{
"code": 1,
"message": "Success",
"data": [
{
"id": "2195",
"url": "xxxx"
},
{
"id": "2196",
"url": "xxxx"
}
]
}
{
"code": -1,
"message": "error msg",
}
