History
Get TTS Url
Get tts history audio url .
POST
/
sound_clone
/
api
/
v1
/
tts
/
query
Header
Body
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"
}
]
}
Header
accessKey
string
requiredYou can copy your api-key on https://www.myvocal.ai/profile after you have subscribed to Pro or Business Plan.
Body
ids
array
requiredYou can provide up to 1,000 Ids at a time.
Response
code
number
Indicates whether the call was successful. 1 if successful.
message
string
When an exception occurs, specific exception information will be provided in the message.
data
array
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"
}
]
}