cURL
curl --request POST \ --url https://api.smartlyq.com/v1/audio/text-to-speech \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "text": "<string>", "voice": "alloy", "speed": 123 } '
{ "success": true, "data": { "job_id": "<string>" }, "usage": { "units": 123, "cost": "0.0150", "balance_remaining": "99.9850" }, "meta": { "request_id": "<string>", "timestamp": "2023-11-07T05:31:56Z" } }
Documentation IndexFetch the complete documentation index at: https://docs.smartlyq.com/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.smartlyq.com/llms.txt
Use this file to discover all available pages before exploring further.
API key from Developer dashboard (Bearer token).
Text to convert to speech
Voice to use for synthesis. Defaults to alloy if omitted or invalid.
alloy
echo
fable
onyx
nova
shimmer
Playback speed multiplier (e.g. 0.5, 1.0, 2.0)
TTS generation accepted
true
Show child attributes