Documentation Index
Fetch the complete documentation index at: https://docs.supertoneapi.com/llms.txt
Use this file to discover all available pages before exploring further.
Getting started
Where do I get an API key?
Where do I get an API key?
How do I authenticate requests?
How do I authenticate requests?
x-sup-api-key: [YOUR_API_KEY] on every request. Both SDKs accept the key via the constructor — see Authentication.Do I need a separate Play account?
Do I need a separate Play account?
Which SDKs are officially supported?
Which SDKs are officially supported?
supertone on PyPI) and TypeScript (@supertone/supertone on npm). For other languages, call the REST API directly.Voices and TTS calls
How do I find a voice ID?
How do I find a voice ID?
GET /v1/voices, or (3) filter with GET /v1/voices/search. See Voices.Can I use cloned voices from Play in the API?
Can I use cloned voices from Play in the API?
POST /v1/custom-voices/cloned-voice show up in Play. There’s no sync step.Why am I getting 403 on a voice that exists?
Why am I getting 403 on a voice that exists?
403 Forbidden.What combinations of language/style/model does a voice support?
What combinations of language/style/model does a voice support?
samples field on the voice object lists every supported (language, style, model) tuple — including a preview URL for each. Check it before sending a TTS request.Is style required?
Is style required?
style, the first value in the voice’s styles array is used as the default.Can I tune pitch and speed?
Can I tune pitch and speed?
How long can the text be?
How long can the text be?
text at 300 characters. The Python and TypeScript SDKs auto-chunk longer text and merge the audio. See Long text.What does `predict_duration` do?
What does `predict_duration` do?
Credits and pricing
How is the API billed?
How is the API billed?
How do I check my credit balance?
How do I check my credit balance?
GET /v1/credits (or the SDK’s get_credit_balance), or (2) view the dashboard in the console or Play.Are credits shared between Play and the API?
Are credits shared between Play and the API?
Errors and troubleshooting
What are the most common errors?
What are the most common errors?
- 401 — missing or invalid API key
- 402 — out of credits
- 403 — voice not owned by this account
- 400 — request body issue (missing field, invalid enum, text over 300 chars on raw API)
- 429 — rate limit hit
My calls keep failing — where do I look?
My calls keep failing — where do I look?
x-sup-api-keyheader is set with no leading/trailing whitespace.Content-Type: application/jsonon POST requests.voice_idis a real ID for your account (callGET /v1/voicesorGET /v1/custom-voices).text,language, andstylealign with what the voice supports.
What are the rate limits?
What are the rate limits?
Operational
Can anyone use the API?
Can anyone use the API?
Is there an enterprise plan?
Is there an enterprise plan?
Where do I report bugs or get help?
Where do I report bugs or get help?