Text to speech
Generates speech with nabrah_tts_v1 and returns the audio bytes. Send JSON with the same fields as POST /api/ext/tts/generations, or multipart/form-data to clone a voice on the fly: upload a short audio_file of the voice with its transcript in ref_text, and voice becomes optional.
curl --request POST \
--url 'https://api.nabrah.ai/api/ext/tts/quick_generate' \
--header 'X-API-Key: <your-api-key>'// No example body for this response.FieldsSend the fields as separate form fields, or as one request_json field holding the JSON object, next to audio_file.
CreditsUses text-to-speech credits like POST /api/ext/tts/generations; 402 when the workspace has no credits left.
X-API-KeystringheaderrequiredYour workspace API key. Create one in the dashboard under API keys.
Successful Response