Text-to-Speech
Generate high-quality TTS audio programmatically. Submit a script, choose a voice, and receive a permanent hosted audio URL. Voice is priced per character (see Balance and prices).
7 endpoints on this page
| GET /api/voices | Browse and search available ElevenLabs voices |
| POST /api/generate-simple | Create a text-to-speech generation job |
| GET /api/job-status/:job_id | Retrieve the current status and result of a generation job |
| GET /api/jobs | List your generation jobs |
| GET /api/health | Check API health and view your current job counts |
| POST /api/reports | Publish a self-contained HTML report to Algrow's public report host and get back a stable URL on audio.algrow.online |
| GET /api/credits | Check what your key has left to spend |
GET/api/voices
Browse and search available ElevenLabs voices. Returns voice IDs you can use with provider=elevenlabs. For Stealth voices, use /api/voices/stealth instead.
No daily limit.
Headers
| Authorizationstring · required | Bearer token: Bearer YOUR_API_KEY |
Query Parameters
| searchstring · optional | Search by voice name or labels |
| genderstring · optional | Filter by gender: male, female, or neutral |
| agestring · optional | Filter by age: young, middle_aged, or old |
| languagestring · optional | Language code (e.g. en, es, fr) |
| accentstring · optional | Filter by accent (e.g. american, british) |
| sortstring · optional · default trending | Sort by: trending, created_date, usage_character_count_1y |
| page_sizeinteger · optional · default 30 | Results per page (max 100) |
| pageinteger · optional · default 0 | Page number (0-indexed) |
POST/api/generate-simple
Create a text-to-speech generation job. Returns a job_id immediately. The audio is generated asynchronously — poll /api/job-status/:job_id to check progress and retrieve the audio URL when complete.
Paid per use, no daily limit.
Headers
| Authorizationstring · required | Bearer token: Bearer YOUR_API_KEY |
| Content-Typestring · Auto | Set automatically by curl -F. If manual: multipart/form-data |
Request Parameters (form-data)
| scriptstring · required | Text to convert to speech. At least 200 characters for ElevenLabs and MiniMax. The most per generation depends on the provider (see below). |
| voice_idstring · required | Voice ID. For ElevenLabs: any voice_id from /api/voices, e.g. 6OzrBCQf8cjERkYgzSg8. For Stealth: use the voice_id from /api/voices/stealth. For MiniMax: use the voice_id from /api/voices/minimax (clone first). |
| providerstring · optional · default elevenlabs | TTS engine. Values: elevenlabs, stealth, minimax |
| model_idstring · optional · default eleven_multilingual_v2 | ElevenLabs model. One of eleven_multilingual_v2, eleven_v3, eleven_v4, eleven_v4_turbo, eleven_turbo_v2_5, eleven_flash_v2_5, eleven_turbo_v2, eleven_flash_v2. Any other value returns 400. Every model runs on Standard at the same price; eleven_v4_turbo is Standard only. See the model list below. |
| language_codestring · optional | ElevenLabs only. The language of the script as an ISO 639-1 code, e.g. en, es, vi. Leave it out and the model works the language out from the text. Used on Standard, ignored on Fast. |
| stabilityfloat · optional · default 0.5 | How steady the voice stays. Lower gives more emotion and variety between takes; higher sounds more even and can turn flat. Range 0.0 to 1.0. |
| similarity_boostfloat · optional · default 0.5 | How closely the audio sticks to the original voice. Very high values can also copy noise or artifacts from the voice's recording. Range 0.0 to 1.0. |
| stylefloat · optional · default 0.0 | Exaggerates the voice's own speaking style. 0 leaves it off; higher values add character but can make the voice less steady. Range 0.0 to 1.0. |
| speedfloat · optional · default 1.0 | Speaking speed. 1.0 is the voice's normal pace, lower is slower, higher is faster. Range 0.7 to 1.2 (ElevenLabs) or 0.5 to 2.0 (MiniMax); a value outside the range is set to the nearest end. |
| pitchint · optional · default 0 | Pitch shift in semitones. Range: -12 – +12. (MiniMax only) |
| volumefloat · optional · default 1.0 | Output volume multiplier. Range: 0.0 – 10.0. (MiniMax only) |
| voice_namestring · optional · default voice_id | Human-readable label for this voice (for your reference only) |
| custom_titlestring · optional | Custom filename for the output MP3 (without extension) |
| generate_srtstring · optional · default false | ElevenLabs only: set to true to also get an SRT subtitle file with word timings, as transcript_url. Works on Standard and Fast and adds $0.0422 per job, refunded if no subtitle file is produced. Ignored for Stealth, which always returns a free word-level SRT. |
| faststring · optional · default false | ElevenLabs only: true runs the job on ElevenLabs Fast ($9.50 per 1M characters, billed in blocks of 1,111 characters; eleven_v4 $14.26 per 1M) instead of ElevenLabs Standard ($4.27 per 1M). eleven_v4_turbo is Standard only: fast=true with it returns 400. |
| temperaturefloat · optional · default 1.1 | Voice expressiveness (Stealth only). Higher = more expressive. |
| speaking_ratefloat · optional · default 1.0 | Speaking speed multiplier (Stealth only). |
| stealth_modelstring · optional · default 1.5 | Stealth model tier (Stealth only). 1.5 = standard model ($5.29 per 1M characters, default); 2.0 = Stealth 2.0, our newest, most capable model ($10.57 per 1M). |
ElevenLabs models
eleven_multilingual_v2 | The default. Lifelike, steady speech in 29 languages. |
eleven_v3 | Very expressive, 70+ languages. |
eleven_v4 | The newest and most expressive model. |
eleven_v4_turbo | The turbo version of eleven_v4. ElevenLabs Standard only. |
eleven_turbo_v2_5 | Quick, good quality, 32 languages. |
eleven_flash_v2_5 | The fastest model, 32 languages. |
eleven_turbo_v2 | Quick, English only. |
eleven_flash_v2 | The fastest English-only model. |
Response Fields
| successboolean | Whether the request was accepted |
| job_idstring | Unique job identifier. Use this to poll for status. |
| statusstring | Current job status: pending |
| status_detail_messagestring | Human-readable status message |
| messagestring | Informational message |
| fastboolean | ElevenLabs only: true when the job runs on ElevenLabs Fast, false on Standard |
| payloadobject | Echo of the submitted parameters (text, voice_id, settings, etc.) |
| 200 | Queued |
| 400 | Validation error |
| 401 | Auth failed |
| 402 | Not enough balance |
| 403 | Plan required (until 1 Dec 2026) |
| 429 | Too busy |
| 500 | Server error |
Provider-specific parameters: When provider=stealth: only temperature, speaking_rate and stealth_model are used. Parameters stability, similarity_boost, style, speed, and model_id are ignored. When provider=elevenlabs (default): only model_id, language_code, stability, similarity_boost, style, speed, generate_srt and fast are used. Parameters temperature and speaking_rate are ignored. Speaker boost, which sharpens how much the audio sounds like the chosen voice, is always on. When provider=minimax: only speed, pitch, and volume are used. The voice must be cloned via /api/voices/minimax/clone first. Minimum 200 characters.
Stealth models: Two tiers, selected with stealth_model. 1.5 (default) is the standard model, at $5.29 per 1M characters. 2.0 is Stealth 2.0, our newest, most capable model with richer expression and stronger multilingual quality, at $10.57 per 1M. Both auto-chunk at ~1,900 char boundaries. Output: MP3, uploaded to CDN.
ElevenLabs Standard and Fast: Standard is the default. It runs every model above, eleven_v4 and eleven_v4_turbo included, at $4.27 per 1M characters whatever the model, returns a 44.1 kHz, 128 kbps MP3 and can make subtitles. Send fast=true for Fast: $9.50 per 1M characters, billed in blocks of 1,111 characters, or $14.26 per 1M for eleven_v4, billed in blocks of 740 characters. eleven_v4_turbo is Standard only, and language_code is ignored on Fast. The fast field of the response says which one the job runs on. If a voice fails on Standard, try fast=true. If a voice fails on eleven_v3, eleven_v4 or eleven_v4_turbo, try eleven_multilingual_v2: a few library voices only support that model.
SRT subtitles: Setting generate_srt=true (ElevenLabs only) produces a word-timed subtitle file alongside the audio, returned as transcript_url. It works on Standard and Fast and adds $0.0422 per job on top of the script characters, whatever the script length. The fee is refunded automatically if no subtitle file is produced. Only send it when you need the file. Stealth jobs always include a word-level SRT as transcript_url at no extra cost, so generate_srt is ignored there and you pay for the script characters only.
Price: ElevenLabs Standard $4.27 per 1M characters for every model, eleven_v4 included. ElevenLabs Fast $9.50 per 1M (billed in blocks of 1,111 characters, so a short job pays for a whole block), eleven_v4 on Fast $14.26 per 1M (blocks of 740 characters). Subtitles add $0.0422 a job. MiniMax $4.38 per 1M, Stealth $5.29 per 1M and Stealth 2.0 $10.57 per 1M, from your balance from 1 December 2026. From that date no voice characters come from a plan, and unused ones from before it do not carry over. Until 1 December voice uses your plan's characters and the characters you bought.
Per-generation character limits: From 1 December 2026 the limit is the same for everyone, with or without a plan. ElevenLabs and MiniMax take 200,000 characters a generation, Stealth 100,000. Until 1 December voice generation over the API needs the Professional plan or higher, and the limit depends on the plan: ProviderProfessionalUltimate ElevenLabs100,000200,000 Stealth45,000100,000 MiniMax100,000200,000
Errors: every error answers {"success": false, "error": "..."}, and error is a sentence you can show your user. 400: the request needs fixing (script under 200 characters or over the limit, no voice, an unknown model_id, eleven_v4_turbo with fast=true, or a Stealth voice sent with provider=elevenlabs). 402: your balance is too low for this job; nothing is charged. 429: you already have as many jobs running as your account allows; wait for one to finish and send it again. 5xx: try again shortly.
GET/api/job-status/:job_id
Retrieve the current status and result of a generation job. Poll this endpoint every 2–3 seconds until status is completed or failed. Typical generation time is 3–15 seconds depending on script length.
No daily limit.
Path Parameters
| job_idstring · required | The job_id returned from POST /api/generate-simple |
Response Fields
| successboolean | Always true if the job was found |
| job_idstring | The job identifier |
| statusstring | One of: pending, processing, completed, failed |
| status_detail_messagestring | Human-readable status: "Processing", "Completed", or "Failed" |
| created_atfloat | Unix timestamp when the job was created |
| completed_atfloat | Unix timestamp when the job finished (only present when done) |
| audio_urlstring | Permanent URL to the MP3 file. After generation, audio is stored and served via our CDN at audio.algrow.online — this URL will not expire. (Only when status=completed) |
| transcript_urlstring | Permanent URL to the SRT subtitle file, built from word-level timestamps. Always present for completed Stealth jobs (free). For ElevenLabs, only present when generate_srt=true was passed. |
| errorstring | Error description (only when status=failed) |
| error_codestring | Machine-readable error code, e.g. TERMS_OF_SERVICE_VIOLATION (only when status=failed, if available) |
| error_messagestring | Human-readable error message from the provider (only when status=failed, if available) |
| 200 | Success |
| 401 | Auth failed |
| 404 | Job not found |
Status lifecycle: pending → processing → completed or failed. Typical completion time is 3–15 seconds; long scripts take longer. Only completed and failed are final: treat any other value as still running and keep polling. A 5xx answer to a poll does not mean the job failed, so keep polling at the same pace. A job of another account answers 404, the same as one that does not exist.
Failed jobs and refunds: the job's price is taken from your balance when it is queued. If the job fails, all of it is refunded, the subtitle fee included. If a job that asked for subtitles finishes without a transcript_url, the $0.0422 subtitle fee is refunded. A failed job still answers HTTP 200, so read status, not the HTTP code. error is a plain sentence you can show your user; when error_code is present, branch on it rather than on the wording of error.
GET/api/jobs
List your generation jobs, sorted by creation time (newest first). Returns only jobs belonging to the authenticated user. Useful for debugging and monitoring your recent generations.
No daily limit.
GET/api/health
Check API health and view your current job counts. No authentication required. Use this to verify the API is online and check how many concurrent slots you have available.
No daily limit.
POST/api/reports
Publish a self-contained HTML report to Algrow's public report host and get back a stable URL on audio.algrow.online — no storage credentials needed. Built for agent skills that render analysis reports (channel decodes, audits, idea backlogs) and want to hand the user a hosted link. Reports are namespaced per user: re-posting the same slug overwrites your own report (re-render = same URL); you can never touch another user's. Pages are served with noindex so they stay out of search engines.
No daily limit.
Request Body (JSON)
| slugstring · required | URL slug for the report: 3–80 chars of a-z 0-9 -, starting alphanumeric. Same slug → overwrite your own previous version. |
| htmlstring · required | The complete, self-contained HTML document (must start with <!DOCTYPE html> or <html>). Max 2 MB — inline your CSS; link external images/fonts by URL. |
| 200 | Report published |
| 400 | Bad slug / not a complete HTML document |
| 401 | Auth failed |
| 413 | HTML too large (2 MB cap) |
| 429 | Daily upload cap reached |
Limits. 50 uploads per key per 24h, on top of the standard per-key rate limit. A <meta name="robots" content="noindex"> tag is injected automatically if missing.
GET/api/credits
Check what your key has left to spend. From 1 December 2026 the response has two things: balance.usd, the money that images, video, voice, thumbnails, video analysis, the caption remover and API pay-per-call are paid from, and credits.remaining, the same money counted at $0.03 a credit (kept for integrations written before that date). No plan gives credits or voice characters from 1 December, so plan, the other credits fields, tts_characters and stealth_characters are no longer in the response. Until 1 December the response is the older one, shown second below. From 1 December a key with no plan can call this too.
No daily limit.
Response Fields
| balance.usdnumber | Dollars you can spend now. Every media tool is paid from this money. The balance object is in the response from 1 December 2026. |
| balance.top_up_urlstring | Where to add funds ($25 minimum). |
| credits.remainingnumber | The same money counted in credits (1 credit = $0.03), kept for integrations written before 1 December 2026. Until then it is what image, video, thumbnail, video analysis and caption-remover calls are taken from. |
Response Fields until 1 December 2026 only
| planstring | Your current plan tier (starter, professional or ultimate). |
| credits.limit / credits.usednumber | The credits of the current period: remaining is limit minus used. |
| credits.period_endstring | ISO timestamp when the current period ends. |
| tts_characters.remainingnumber | Characters left for /api/generate-simple with provider=elevenlabs or provider=minimax: the ones from your plan plus the ones you bought. |
| tts_characters.purchased_remainingnumber | Characters you bought. On 1 December 2026 what is left of them is moved into your balance. |
| stealth_characters.remainingnumber | Characters left for /api/generate-simple with provider=stealth. Separate from tts_characters; a Stealth generation on the 2.0 model bills double the script length. |
| stealth_characters.purchased_remainingnumber | Stealth characters you bought. Moved into your balance on 1 December 2026 in the same way. |
| 200 | Success |
| 401 | Auth failed |
