Text-to-Speech

Generate TTS audio and receive a permanent hosted audio URL.

Media tool. No plan needed. Pay as you go: each call is paid from your balance. See prices

llms.txt Full docs for LLMs

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).

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.

Headers
NameTypeRequiredDescription
AuthorizationstringRequiredBearer token: Bearer YOUR_API_KEY
Query Parameters
NameTypeRequiredDefaultDescription
searchstringOptional—Search by voice name or labels
genderstringOptional—Filter by gender: male, female, or neutral
agestringOptional—Filter by age: young, middle_aged, or old
languagestringOptional—Language code (e.g. en, es, fr)
accentstringOptional—Filter by accent (e.g. american, british)
sortstringOptionaltrendingSort by: trending, created_date, usage_character_count_1y
page_sizeintegerOptional30Results per page (max 100)
pageintegerOptional0Page number (0-indexed)
Example Request
# Browse trending voices curl "https://api.algrow.online/api/voices?sort=trending&page_size=10" \ -H "Authorization: Bearer YOUR_API_KEY" # Search for female English voices curl "https://api.algrow.online/api/voices?search=narrator&gender=female&language=en" \ -H "Authorization: Bearer YOUR_API_KEY"
Response 200 200
{ "success": true, "voices": [ { "voice_id": "EkK5I93UQWFDigLMpZcX", "name": "James - Husky, Engaging and Bold", "gender": "male", "age": "middle_aged", "accent": "american", "language": "en", "description": "A slightly husky and bassy voice...", "preview_url": "https://...", "category": "high_quality", "use_case": "narrative_story" } ], "has_more": true }

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.

Headers
NameTypeRequiredDescription
AuthorizationstringRequiredBearer token: Bearer YOUR_API_KEY
Content-TypestringAutoSet automatically by curl -F. If manual: multipart/form-data
Request Parameters (form-data)
NameTypeRequiredDefaultDescription
scriptstringRequired—Text to convert to speech. At least 200 characters for ElevenLabs and MiniMax. The most per generation depends on the provider (see below).
voice_idstringRequired—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).
providerstringOptionalelevenlabsTTS engine. Values: elevenlabs, stealth, minimax
model_idstringOptionaleleven_multilingual_v2ElevenLabs 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_codestringOptionalnoneElevenLabs 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.
stabilityfloatOptional0.5How 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_boostfloatOptional0.5How 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.
stylefloatOptional0.0Exaggerates 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.
speedfloatOptional1.0Speaking 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.
pitchintOptional0Pitch shift in semitones. Range: -12 – +12. (MiniMax only)
volumefloatOptional1.0Output volume multiplier. Range: 0.0 – 10.0. (MiniMax only)
voice_namestringOptionalvoice_idHuman-readable label for this voice (for your reference only)
custom_titlestringOptional—Custom filename for the output MP3 (without extension)
generate_srtstringOptionalfalseElevenLabs 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.
faststringOptionalfalseElevenLabs 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.
temperaturefloatOptional1.1Voice expressiveness (Stealth only). Higher = more expressive.
speaking_ratefloatOptional1.0Speaking speed multiplier (Stealth only).
stealth_modelstringOptional1.5Stealth 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).
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 models
model_idWhat it is
eleven_multilingual_v2The default. Lifelike, steady speech in 29 languages.
eleven_v3Very expressive, 70+ languages.
eleven_v4The newest and most expressive model.
eleven_v4_turboThe turbo version of eleven_v4. ElevenLabs Standard only.
eleven_turbo_v2_5Quick, good quality, 32 languages.
eleven_flash_v2_5The fastest model, 32 languages.
eleven_turbo_v2Quick, English only.
eleven_flash_v2The fastest English-only model.
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
Example Request (ElevenLabs Standard)
# script.txt holds the script (at least 200 characters for ElevenLabs) curl -X POST "https://api.algrow.online/api/generate-simple" \ -H "Authorization: Bearer YOUR_API_KEY" \ -F "script=<script.txt" \ -F "voice_id=6OzrBCQf8cjERkYgzSg8" \ -F "provider=elevenlabs" \ -F "model_id=eleven_v4" \ -F "language_code=en" \ -F "stability=0.7" \ -F "similarity_boost=0.8" \ -F "generate_srt=true"
Example Request (ElevenLabs Fast)
curl -X POST "https://api.algrow.online/api/generate-simple" \ -H "Authorization: Bearer YOUR_API_KEY" \ -F "script=<script.txt" \ -F "voice_id=6OzrBCQf8cjERkYgzSg8" \ -F "provider=elevenlabs" \ -F "fast=true"
Example Request (Stealth)
curl -X POST "https://api.algrow.online/api/generate-simple" \ -H "Authorization: Bearer YOUR_API_KEY" \ -F "script=Hello, welcome to our channel." \ -F "voice_id=Evan" \ -F "provider=stealth" \ -F "temperature=1.1" \ -F "speaking_rate=1.0"
Example Request (Stealth 2.0 — bills 2x)
curl -X POST "https://api.algrow.online/api/generate-simple" \ -H "Authorization: Bearer YOUR_API_KEY" \ -F "script=Hello, welcome to our channel." \ -F "voice_id=Evan" \ -F "provider=stealth" \ -F "stealth_model=2.0" \ -F "temperature=1.1" \ -F "speaking_rate=1.0"
Response 200 200
{ "success": true, "job_id": "d477b67a-bb9d-403e-a6cf-bc8a82c93a61", "status": "pending", "status_detail": "pending", "status_detail_message": "Processing", "message": "Generation queued. Worker will process it.", "fast": false, "payload": { "text": "Hello, welcome to our channel.", "voice_id": "6OzrBCQf8cjERkYgzSg8", "voice_name": "6OzrBCQf8cjERkYgzSg8", "settings": { ... } } }
Response Fields
FieldTypeDescription
successbooleanWhether the request was accepted
job_idstringUnique job identifier. Use this to poll for status.
statusstringCurrent job status: pending
status_detail_messagestringHuman-readable status message
messagestringInformational message
fastbooleanElevenLabs only: true when the job runs on ElevenLabs Fast, false on Standard
payloadobjectEcho of the submitted parameters (text, voice_id, settings, etc.)
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.
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
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.

Path Parameters
NameTypeRequiredDescription
job_idstringRequiredThe job_id returned from POST /api/generate-simple
Example Request
curl "https://api.algrow.online/api/job-status/300040" \ -H "Authorization: Bearer YOUR_API_KEY"
Response — In Progress
{ "success": true, "job_id": "d477b67a-bb9d-403e-a6cf-bc8a82c93a61", "status": "processing", "status_detail": "processing", "status_detail_message": "Processing", "created_at": 1772482202.525 }
Response — Completed
{ "success": true, "job_id": "d477b67a-bb9d-403e-a6cf-bc8a82c93a61", "status": "completed", "status_detail": "completed", "status_detail_message": "Completed", "created_at": 1772482202.525, "completed_at": 1772482210.831, "audio_url": "https://audio.algrow.online/elevenlabs/tts/user123/300040.mp3", "transcript_url": "https://audio.algrow.online/elevenlabs/tts/user123/transcript_300040.srt" }
Response — Failed
{ "success": true, "job_id": "d477b67a-bb9d-403e-a6cf-bc8a82c93a61", "status": "failed", "status_detail": "failed", "status_detail_message": "Failed", "created_at": 1772482202.525, "completed_at": 1772482215.100, "error": "Async job failed: [TERMS_OF_SERVICE_VIOLATION] The text you are trying to use may violate our Terms of Service and has been blocked.", "error_code": "TERMS_OF_SERVICE_VIOLATION", "error_message": "The text you are trying to use may violate our Terms of Service and has been blocked." }
Response Fields
FieldTypeDescription
successbooleanAlways true if the job was found
job_idstringThe job identifier
statusstringOne of: pending, processing, completed, failed
status_detail_messagestringHuman-readable status: "Processing", "Completed", or "Failed"
created_atfloatUnix timestamp when the job was created
completed_atfloatUnix timestamp when the job finished (only present when done)
audio_urlstringPermanent 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_urlstringPermanent 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.
errorstringError description (only when status=failed)
error_codestringMachine-readable error code, e.g. TERMS_OF_SERVICE_VIOLATION (only when status=failed, if available)
error_messagestringHuman-readable error message from the provider (only when status=failed, if available)
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.
200 Success 401 Auth failed 404 Job not found
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.

Example Request
curl "https://api.algrow.online/api/jobs" \ -H "Authorization: Bearer YOUR_API_KEY"
Response
{ "success": true, "jobs": [ { "id": "300040", "provider": "elevenlabs", "status": "completed", "script_length": 340, "created_at": 1772482202.525, "completed_at": 1772482210.831 } ] }
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.

Example Request
curl "https://api.algrow.online/api/health" \ -H "Authorization: Bearer YOUR_API_KEY"
Response
{ "status": "healthy", "active_jobs": 2, "total_jobs": 15 }
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.

Request Body (JSON)
NameTypeRequiredDefaultDescription
slugstringRequired—URL slug for the report: 3–80 chars of a-z 0-9 -, starting alphanumeric. Same slug → overwrite your own previous version.
htmlstringRequired—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.
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.
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
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.

Example Request
curl "https://api.algrow.online/api/credits" \ -H "Authorization: Bearer YOUR_API_KEY"
Response (from 1 December 2026)
{ "success": true, "balance": { "usd": 24.98, "top_up_url": "https://algrow.online/settings?tab=credits" }, "credits": { "remaining": 832.61 } }
Response (until 1 December 2026)
{ "success": true, "plan": "professional", "credits": { "remaining": 413.33, "limit": 500, "used": 86.67, "period_start": "2026-11-14T09:14:22+00:00", "period_end": "2026-12-14T09:14:22+00:00" }, "tts_characters": { "remaining": 100000, "plan_remaining": 100000, "plan_limit": 100000, "purchased_remaining": 0 }, "stealth_characters": { "remaining": 1850000, "plan_remaining": 1850000, "plan_limit": 2000000, "purchased_remaining": 0 } }
Response Fields
FieldTypeDescription
balance.usdnumberDollars 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_urlstringWhere to add funds ($25 minimum).
credits.remainingnumberThe 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
FieldTypeDescription
planstringYour current plan tier (starter, professional or ultimate).
credits.limit / credits.usednumberThe credits of the current period: remaining is limit minus used.
credits.period_endstringISO timestamp when the current period ends.
tts_characters.remainingnumberCharacters left for /api/generate-simple with provider=elevenlabs or provider=minimax: the ones from your plan plus the ones you bought.
tts_characters.purchased_remainingnumberCharacters you bought. On 1 December 2026 what is left of them is moved into your balance.
stealth_characters.remainingnumberCharacters 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_remainingnumberStealth characters you bought. Moved into your balance on 1 December 2026 in the same way.
200 Success 401 Auth failed
esc
×

Buy More Credits

Boost
150
credits
$4.99
Good for:
  • ~12 min caption removal
Studio
1,000
credits
$31.49
Good for:
  • ~80 min caption removal
Custom amount 600 credits · $19.96
1506,000