Documentation

Text to Speech API

Generate speech from text with Voyager 1, Voicefinder's multilingual model, using the real voices from the catalog.

A single call: pick a voice from the catalog, send the text and receive the audio as binary (wav or mp3) in the same response — no queues, no polling. Every generation is kept in your /history and can be re-downloaded in either format.

Multilingual55+ languages: Spanish, English, Catalan, Basque, Galician, Portuguese, French, German, Hindi, Japanese, Chinese…
Real voices with stylesCatalog of licensed professional voices, each with its own read styles.
Content markingEvery audio ships with an inaudible watermark and embedded C2PA Content Credentials.
Create an account for your keyLog in

Content marking (AI Act)

All generated audio is delivered marked as AI content, in compliance with Art. 50 of the European AI Act. The marks live inside the file:

  • Inaudible watermark — robust: it survives trimming and recompression. Identifies the audio as AI-generated.
  • C2PA Content Credentials — a signed provenance manifest (model, timestamp, signer), bound to the exact bytes of the file.

The x-watermarked and x-c2pa-signed headers of every response confirm the state of each layer.

Do not transcode the audio. The C2PA credential is bound to the exact bytes of the file: re-encoding it (e.g. converting the WAV to MP3 yourself) invalidates it. If you need another format, request it with output_format — it arrives already marked.

API reference

Base URL for all endpoints:

Base URL
https://api.voicefinder.io/v1

Quickstart

Full flow: pick a voice, generate the audio in a single call and re-download it whenever you want from the history.

Quickstart
1# 1) Optional: pick another voice from the catalog
2curl "https://api.voicefinder.io/v1/voices" \
3 -H "x-api-key: vf_your_key"
4# -> { "voices": [ { "voice_id": "9d3f8a2e-…", "name": "Carmen", ... } ] }
5​
6# 2) Generate speech (the response body IS the audio)
7curl -X POST -o hello.mp3 "https://api.voicefinder.io/v1/text-to-speech/f6abdab0-2524-43d1-92e2-b39486f39fbe" \
8 -H "x-api-key: vf_your_key" \
9 -H "Content-Type: application/json" \
10 -d '{
11 "text": "Hello, welcome to Voicefinder.",
12 "output_format": "mp3"
13 }'
14​
15# 3) The x-request-id response header is the generation id.
16# Re-download it any time, in either format:
17curl -o hello.wav "https://api.voicefinder.io/v1/history/YOUR_GENERATION_ID/audio?output_format=wav" \
18 -H "x-api-key: vf_your_key"

Authentication

All requests (except /health) are authenticated with a Voicefinder API key (prefix vf_), which you can create on the Developers page of the app. Three headers are accepted (xi-api-key exists for compatibility, see Migrating from another provider):

Headers
x-api-key: vf_your_key
# or
Authorization: Bearer vf_your_key
# or (compatibility header)
xi-api-key: vf_your_key

Besides a valid key, the account must have the voice API enabled (otherwise 403 "AI mode is not enabled for this account.") and a credit balance (otherwise 402 "No credit balance found for this account."). Both checks run on every authenticated endpoint, read-only ones included.

Credits & cost

Usage is measured in characters. Each generation deducts the characters of the text —bracketed tags excluded, and consecutive spaces and line breaks counted as one— multiplied by the voice's cost_multiplier (1 for most voices) and rounded up. Tags are not charged as text, but each one counts as at least 5 characters when that exceeds what the text costs (a text that is almost only tags). The cost is reserved from the balance before generating and returned in full if the audio is not delivered: a failed generation is not charged. It is the same balance the web app uses (in a company, the team's shared balance); check it with GET /user or GET /usage. The x-character-count header of each generation reports the amount deducted. Sound effects are free, but they accompany the voice: if they last longer than the spoken text (with a few seconds of margin) or there are more than 20 in one request, the response is 422 with code too_many_sound_effects and nothing is generated.

Pricing. The API uses your plan's credits, the same ones as the studio (1 credit = 1 character; about 972 characters make a minute of audio). Free includes 10,000 a month for personal use, and paid plans from 100,000 to 12 million a month, from $12 (€11) a month. All plans are on the Pricing page. The studio's free regeneration (1 per block you've already paid for, within the next 6 hours, on every plan) also applies to the /studio endpoints and over MCP; POST /text-to-speech/{voice_id} charges every call.

If you only use the API, you can buy API balance upfront, without a plan: $0.06 (€0.054) per 1,000 characters, plus VAT (launch price until December 18; then $0.08 (€0.072)). It never expires and the API spends it before your plan's credits. Buy it in Developers.

Without enough balance, the generation responds 402 without deducting anything:

402 Payment Required
1{
2 "error": {
3 "status": 402,
4 "message": "Insufficient character credits.",
5 "characters_required": 1250,
6 "characters_remaining": 400
7 },
8 "detail": {
9 "type": "billing_error",
10 "code": "insufficient_credits",
11 "message": "Insufficient character credits.",
12 "status": "insufficient_credits",
13 "request_id": "6f1c2e0a-…"
14 }
15}

Rate limits

Concurrent generations depend on your plan (see below). The other limits depend on the account's tier —Free (no paid plan), Pro (Basic, Plus and Pro) and Enterprise (Growth, Business and Enterprise)— and are counted per key and per account (in a company, the team's). Generating (POST /text-to-speech/{voice_id} and /stream) and reading (every other authenticated endpoint) have separate per-minute counters; /health does not count. These are the default values:

LimitFreeProEnterprise
Generations per minute, per key
10
30
60
Generations per minute, per account
15
45
120
Reads per minute, per key
60
120
300
Reads per minute, per account
120
240
600
Characters per hour, per account
20,000
200,000
1,000,000

Trial (active trial accounts) has its own limits: 60 generations per minute per key and 120 per account, 120 reads per minute per key and 240 per account, and Pro's concurrent generations (10 per account), with no hourly character cap.

Concurrent generations per plan

The API and the MCP server are on every plan, Free included, and use your plan's credits. What the plan changes is how many generations your account can have in progress at the same time (in a company, the whole team and all its keys together). Go over it and you get a 429 with detail.code concurrency_limited and Retry-After; wait for one to finish and retry. Enterprise may have a different agreed figure: the maximum-concurrent-requests header wins.

PlanConcurrent
Free
2
Basic
3
Plus
5
Pro
10
Growth
15
Business
25
Enterprise
25

A request with a seed takes two concurrent-generation slots; when no generation is in progress, it is always admitted. When you exceed a limit you get a 429 with detail.code rate_limited, concurrency_limited or hourly_quota_exceeded, retry_after in the body and a Retry-After header with the seconds to wait.

The X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset (Unix seconds) headers come with every 429 and, on successful responses, only with generation, GET /voices and GET /history. Generation responses add current-concurrent-requests and maximum-concurrent-requests (for compatibility). If your account has custom limits, the values in those headers win.

Lockouts

Insisting after a rejection adds strikes: exceeding the limits again and again, repeated texts rejected by moderation or invalid tags, or invalid keys from the same IP. A strike blocks access for 15 minutes, the next one for 1 hour and from then on for 24 hours: 429 temporarily_blocked with Retry-After. If moderation rejections pile up, the key is suspended until we review it: 403 key_suspended (write to support@voicefinder.io). A disabled account, or one scheduled for deletion, gets 403 account_disabled. If the system that admits requests does not respond, 503 service_unavailable with Retry-After: 5: retry in a few seconds.

429 Too Many Requests
1{
2 "error": {
3 "status": 429,
4 "message": "Rate limit exceeded. Try again later.",
5 "retry_after": 37
6 }
7}

Error format

All API errors share the same JSON format. error carries status and message, plus fields specific to some errors (retry_after, reasons, characters_required…). Next to it comes detail, in the compatible format: type (family), code (a stable machine code: compare against this, not against the message text), message, status (repeats code, for older integrations) and request_id. Every error also carries the request-id header with that same identifier: include it if you contact support.

Error
1{
2 "error": {
3 "status": 422,
4 "message": "cfg_scale must be a number between 1.0 and 4.0."
5 },
6 "detail": {
7 "type": "validation_error",
8 "code": "invalid_parameters",
9 "message": "cfg_scale must be a number between 1.0 and 4.0.",
10 "status": "invalid_parameters",
11 "request_id": "6f1c2e0a-…"
12 }
13}
detail.codeHTTPWhen
unauthorized
401
Missing or invalid API key.
api_access_disabled
403
The account does not have the voice API enabled.
insufficient_credits
402
Insufficient or no balance.
account_disabled
403
The account is disabled or scheduled for deletion.
key_suspended
403
The key is suspended pending review (accumulated moderation rejections).
test_account_expired
403
The trial account has ended.
rate_limited
429
More requests per minute than your plan allows (per key or per account).
concurrency_limited
429
Too many concurrent generations on the account.
hourly_quota_exceeded
429
The account's hourly character cap was reached.
temporarily_blocked
429
Access blocked after repeated strikes (15 min, 1 h, 24 h). Honor Retry-After.
invalid_json
422
The body is not JSON.
invalid_text · text_too_long
422
text empty or over 10,000 characters.
invalid_output_format
422
Unknown format or one that cannot be marked (pcm_*, ulaw_8000, opus_*…).
unsupported_language
422
language / language_code is not an accepted language (error.supported_languages lists them; so does GET /v1/models).
invalid_tag
422
Something in square brackets that is not a supported tag, or a stray bracket (error.invalid_tags lists them).
invalid_seed
422
seed is not an integer between 0 and 2147483647.
invalid_parameters
422
Another parameter with an invalid type or range (also a non-integer page_size or days, or an invalid date), or an unsupported filter.
invalid_page_token
422
A /v2/voices next_page_token that does not come from the previous page.
voice_not_found · style_not_found · generation_not_found
404
Does not exist or is not available to your account.
content_policy_violation
403
Moderation rejected the text (error.reasons explains why).
generation_failed · content_marking_failed
502
Generation or marking failed. Nothing is charged; retry.
service_at_capacity · service_unavailable · moderation_unavailable
503
Service at capacity or down, or the admission system is not responding. Honor Retry-After when present.
content_marking_unavailable
503
The audio was generated but cannot be delivered as a marked MP3 right now: fetch it from /v1/history/{history_item_id}/audio or request WAV.
sound_effects_unavailable
503
The text's sound effects could not be prepared right now. Nothing is charged; retry in a few seconds.
too_many_sound_effects
422
More sound effects than voice: the effects last longer than the spoken text (with a few seconds of margin) or there are more than 20. Effects accompany the voice; nothing is generated or charged.
internal_error
500
Internal error.

Migrating from another provider

If you are coming from another voice provider (ElevenLabs, Murf, Respeecher, WellSaid Labs, Resemble AI or Cartesia, for example), the concepts are the same: a voice (voice_id), a text, a language and a format, and the call is POST /v1/text-to-speech/{voice_id}. On top of that, the API accepts the field, header and format names of the ElevenLabs API, and the English tag keys other providers use ([laughs], [whispers]…) as well as the names in the tag list. If you already use the official ElevenLabs SDK (Python elevenlabs or JS @elevenlabs/elevenlabs-js), change two things: the base URL, https://api.voicefinder.io (without /v1: the SDK adds it), and the key, for a Voicefinder vf_ one. Voice ids are those of our catalog: find them with voices.search(). Voicefinder is not affiliated with any of these providers: their names are trademarks of their respective owners and are cited only to explain the migration.

  1. Base URLhttps://api.voicefinder.io
  2. KeyYour vf_ key in xi-api-key
  3. VoicesThe voice_id values from voices.search()
ElevenLabs SDK against Voicefinder
1curl -X POST -o hello.mp3 \
2 "https://api.voicefinder.io/v1/text-to-speech/f6abdab0-2524-43d1-92e2-b39486f39fbe?output_format=mp3_44100_128" \
3 -H "xi-api-key: vf_your_key" \
4 -H "Content-Type: application/json" \
5 -d '{"text": "Hello, welcome to Voicefinder.", "model_id": "eleven_multilingual_v2", "language_code": "en"}'

Equivalences

ElevenLabsVoicefinderNotes
xi-api-key
xi-api-key · x-api-key · Bearer
Your vf_ key in any of the three headers.
text_to_speech.convert
POST /v1/text-to-speech/{voice_id}
Same. With xi-api-key and no format, mp3 like theirs.
text_to_speech.stream
POST /v1/text-to-speech/{voice_id}/stream
Same marked audio, delivered in chunks once complete.
voices.get_all · voices.search
GET /v1/voices · GET /v2/voices
v2 with their pagination: opaque token, has_more and real total_count.
voices.get · voices.settings.get(_default)
GET /v1/voices/{id} · …/settings · /v1/voices/settings/default
With labels, category, verified_languages and settings.
models.list
GET /v1/models
With xi-api-key, the bare array; otherwise { models: [...] }.
user.subscription.get
GET /v1/user/subscription
tier, character_count, character_limit and reset, from your balance.
model_id
voyager-1
eleven_* is treated as voyager-1; it never errors (x-model-id-warning).
language_code
language
Alias. 55+ languages (de, pt-BR, German…), with any voice.
output_format=mp3_*/wav_*
mp3 · wav
Our sample rate and bitrate; x-output-format reports the real one.
voice_settings.speed
[speed:N]
0.85–1.25 (clamped outside). Not charged.
text_to_sound_effects
[doorbell] in text
Effects go in the same text and arrive mixed into the audio. List: GET /v1/sound-effects.
detail.status / detail.code
detail.code
Our own codes (see Errors); detail.status repeats code.
request-id · character-cost · history-item-id
the same headers
On top of x-request-id and x-character-count.

Accepted with no effect

These parameters do not error but change nothing; the ones received are listed in the x-ignored-parameters header: voice_settings.stability, similarity_boost, style, use_speaker_boost, previous_text, next_text, previous_request_ids, next_request_ids, apply_text_normalization, apply_language_text_normalization, pronunciation_dictionary_locators, use_pvc_as_ivc and, in the query, enable_logging and optimize_streaming_latency. enable_logging=false does not turn logging off: the European AI Act and our Terms require us to keep traceability of every generation, so each one is still recorded in your history and our log. Numbers and symbols are always normalized (the pronunciation dictionary applies when you send the language). Your own dictionary, the one you save in the studio without a project, always applies and wins over the global one for the same word.

Differences

  • All audio is marked (watermark + C2PA). That is why pcm_*, ulaw_8000, alaw_8000 and opus_* return 422: those formats cannot carry the credential and we never deliver unmarked audio. WAV is delivered at 48 kHz, like the studio; wav_44100 is delivered at 44.1 kHz; wav_24000 at 24 kHz; and for telephony, wav_16000 and wav_8000 at 16 and 8 kHz (16-bit PCM, marked at that rate, like the studio's telephony download). MP3 is always 48 kHz at our bitrate, whatever you request; x-output-format reports what was delivered.
  • /stream does not reduce latency: the audio is generated and marked in full before the first byte is sent (the C2PA credential is signed over the complete file).
  • A single model, voyager-1, with 55 generation languages (listed under the language parameter and in GET /v1/models). As in ElevenLabs, any voice can speak any of them: it sounds native in the ones it has been recorded in and, in the rest, may carry over the accent of its main language (x-language-warning says so). Up to 10,000 characters per request.
  • voices.get_all() returns the whole catalog in one page, as on ElevenLabs. voices.search() goes through /v2/voices, with token pagination.
  • category is premade (a catalog voice), professional (the clone of an artist who controls it) or cloned (your own voice, from POST /v1/voices/add). labels come from our casting cards.
  • user.get() answers with our GET /v1/user shape (account, plan and credits), not the ElevenLabs one: for the balance, use user.subscription.get(). In the subscription only tier, character_count, character_limit and next_character_count_reset_unix are ours; voice_limit, voice_slots_used and can_use_instant_voice_cloning tell you the own voices your plan allows; the rest are neutral values (no open invoices).
  • Limits per plan: requests per minute (per key and per account), concurrent generations and characters per hour (see Rate limits). current-concurrent-requests and maximum-concurrent-requests come with the ElevenLabs names.
  • Not available: /with-timestamps, WebSocket streaming (stream-input), speech-to-speech or dubbing. Your own voices are: create (POST /v1/voices/add), edit and delete. History lives at GET /v1/history, in our shape.
  • Every text goes through moderation: a rejection is a 403 with detail.code content_policy_violation and the reasons in error.reasons.
  • Sound effects are not a separate endpoint: you write them in the same text ([doorbell], [applause:under]) and they play mixed with the voice in the audio you receive, free of charge. The list is at GET /v1/sound-effects.
  • Bracketed tags are a closed list: anything else in square brackets returns 422 invalid_tag (it is neither read aloud nor silently removed).

MCP connector

Connect Claude, Cursor or any MCP-compatible assistant to your account and create voice-overs from the conversation: find voices, write the script into a project in your studio, get a quote and generate. You sign in with your account (or use your API key) and it spends the same credits, voices, tags and watermark as the studio, and what it generates lands in the project, ready to tweak and download.

Where to connect

  • https://api.voicefinder.io/mcp, with no key: your AI opens the Voicefinder screen, you sign in and click “Authorize” (OAuth 2.1 with PKCE and dynamic client registration). The connection shows up in Keys as “Claude · MCP” and is revoked there. Install buttons for each client at /en/mcp.
  • https://api.voicefinder.io/mcp, with the key in the Authorization: Bearer YOUR_API_KEY header (or x-api-key): Claude Code, Cursor and clients that allow headers.
  • https://api.voicefinder.io/mcp/YOUR_API_KEY, for clients that only ask for a URL, such as custom connectors in claude.ai. That URL carries your key: treat it like a password and, if it leaks, revoke the key in Keys.
Setup
1claude mcp add --transport http voicefinder https://api.voicefinder.io/mcp \
2 --header "Authorization: Bearer YOUR_API_KEY"

Tools

  • studio_projects and studio_create_project: your studio projects, or a new one.
  • studio_voices: the catalogue with each voice's card (how it sounds, accents, tones, conditions), filterable by language, accent, gender or name, in pages of 25. With a language, recommended voices first. Includes your own voices. Each voice lists its variants (variants): the same voice in another register, with its own voice_id (Energetic, High energy, Conversational, Corporate, Audiobook, Epic…). A fitting variant almost always sounds better than the neutral voice: for something fast and energetic, Energetic or High energy. The variant is the character's base and the tags go on top: High energy + [excited] in an ad, Mysterious + [mysterious] in a horror story, Tough + [sarcastic] for the villain. A character keeps its variant across the script.
  • studio_apply_script: writes the script into the project, block by block with its voice, at no cost. Each line takes an optional pause: seconds of silence before it or, if negative, how much it overlaps the previous one. Rewriting the same script with new pauses needs no regeneration.
  • Emotion intensity: each line takes an optional emotion_intensity, how strongly its emotion tags come through: 1 natural (default), 3 marked, 4.5 very marked and 6 maximum (or natural, marked, very_marked, max). For example, {"text": "[excited] We did it!", "emotion_intensity": 4.5}. It is part of the quote (changing it needs a new quote_id), does not change the cost and, if a take drops text with it, that take is regenerated at natural and the response says so with emotion_intensity_fallback. To fine-tune emotion by emotion, put the level in the tag itself: [mad:4.5], [excited:6] (1 to 6); it overrides emotion_intensity in its stretch and without a number the line's applies. It does nothing on sounds ([laughs]) or [whispers].
  • Sound design per block: each line takes fx, its block's post-production: the room (room: car, lobby, corridor, room_large, parking…), the medium the voice comes through (medium: phone, walkie, pa…), a studio voice (voice: film_dub, trailer, documentary…), the distance (distance: far, next_room…) and up to two background ambiences with their level (backgrounds: [{"id": "hotel_lobby", "level_db": -3}], −18 to +6 dB). For example, {"text": "[whispers] I'm in the lobby.", "fx": {"room": "lobby", "backgrounds": [{"id": "hotel_lobby", "level_db": -3}]}}. The studio's chain also works ("car+hotel_lobby+bg:-3") and "none" removes it; without fx, the block keeps whatever it had. Anything that does not exist comes back as an error (invalid_fx) listing what does. mix (volume_db, fade_in, fade_out) sets the block's volume and fades. Both are post-production: rewriting the script with new values needs no regeneration and costs nothing. studio_sound_catalog gives the names and a one-line description of how each one sounds, and studio_apply_script returns line_blocks, the block each line ends up in. With sound_design: false (or AI sound design switched off in your account) only those the project already had are accepted, except on lines with user_requested: true: use it only for sound the user explicitly asked for, never for sound your agent proposes.
  • studio_estimate: the exact cost, the wait and the balance left, with a quote_id.
  • studio_generate: generates the takes (up to 4) and returns a 48 kHz MP3 link for each one, plus the link to the project in the studio, where you can tweak it and download the 48 kHz WAV master.
  • studio_takes and studio_credits: what has been generated in a project, and your balance.
  • Long pieces (a podcast several minutes long): generate them in chunks, each with its own quote, passing append: true from the second one so they add up in the same project.
  • studio_music and studio_set_music: the studio's background music (192 royalty-free tracks: lofi, corporate, tension…) under the whole piece. By default it dips when the voice speaks and comes back up in the gaps; with ducking: false it stays at one steady level under the whole piece.
  • Music changes and lead-in: studio_set_music takes sections to change music mid-piece: each section comes in at a block (from_block, as in line_blocks; 1 is from the start) and plays until the next one, with a crossfade. For example, {"sections": [{"from_block": 1, "music_id": "tension_final_hour"}, {"from_block": 15, "music_id": "tension_chase", "level": "high"}]}. lead_in is the seconds before the first voice (0-10), so the music or an effect can come in before anyone speaks. If the project's music was hand-edited on the timeline, the call warns (music_edited) and leaves it alone unless replace_edited: true is passed.
  • studio_mix: the whole piece (voices, pauses, overlaps, effects and music), watermarked and C2PA-signed, with a download link: as a 48 kHz MP3 or, with format, as the WAV master (wav, 48 kHz stereo 24-bit, up to 10 min; wav_mono) or for telephony (wav_16000, wav_8000). Spends no credits.
  • Mastering: studio_mix takes master to finish the whole mix for where it will air, with bus compression, the medium's loudness (ITU-R BS.1770-4) and a true-peak limiter: cinema (film and video platforms: −24 LUFS, −2 dBTP, wide dynamics), tv (European broadcast, EBU R128: −23 LUFS, −1 dBTP), youtube (YouTube, social and streaming: −14 LUFS, −1 dBTP), podcast (−16 LUFS, −1 dBTP; −19 on a mono meter), audiobook (ACX/Audible: −20 dB RMS and peaks under −3.5 dBTP) or radio (dense, loud spots: −13 LUFS, −1 dBTP). none leaves it unmastered (the default). The project keeps the setting, just as if you picked it in the studio's Settings, and the response reports what was measured (mastering: loudness, true peak and range).
  • Your own audio: studio_upload_audio uploads your own audio (a Suno song, a jingle, a recorded effect) to «My audio» and the project, by audio_url (public https, up to 40 MB; MP3, WAV, M4A, AAC, OGG or FLAC) or audio_base64 (small files only), with kind (music, sfx or ambience) and name. rights_confirmed: true is required, the same declaration as in the studio (“I have the rights to use this audio”, Terms of use, 14.3): without it nothing is uploaded. studio_user_audio lists your audio. Music goes into studio_set_music by its music_id (user:<project>/<id>), in sections too and with its level, ducking and tail; an effect or ambience, with its script_tag in the text.
  • Equalizer and ambiences: each line's mix takes eq, the same five-band equalizer as the studio timeline, for its block's voice: a preset ({"preset": "voice_clarity"}; also voice_warm, presence, de_mud, de_ess, rumble_cut, bass_boost, treble_boost, telephone, radio, lofi, voice_space, distant, and flat to remove it) or hand-set bands (low_cut_hz, high_cut_hz and bands: [{"hz", "db", "q"}]). mix.backgrounds adjusts the backgrounds of its fx by id: separate: true makes the same background on consecutive blocks start again on this one (independent ambiences), plus fade_in, fade_out and its own eq. Each sections entry of studio_set_music takes its own eq too (voice_space makes room for the voice without lowering the music). It is post-production: no regeneration, no charge, and it works even with AI sound design turned off.

The same over REST: /v1/studio

Every tool has its REST endpoint at https://api.voicefinder.io/v1/studio, with your key in the header and the same arguments (in the query for GET, in the JSON body for POST and PUT; project_id goes in the path). Same rules, same mandatory quote and same billing as the connector: projects, multi-voice dialogue, pauses and overlaps, block effects and mix, equalizer, independent ambiences, music sections, mastering and the whole piece as one MP3.

  • GET /v1/studio/projects · POST /v1/studio/projects — your projects, or a new one (studio_projects, studio_create_project).
  • GET /v1/studio/voices · GET /v1/studio/sound-catalog · GET /v1/studio/music · GET /v1/studio/credits — voice catalogue, rooms and backgrounds, music and balance.
  • PUT /v1/studio/projects/{project_id}/script — writes the script (studio_apply_script): voice_id and script, a list of lines with their text and, when needed, their own voice_id, pause, emotion_intensity, fx and mix. It writes with confirm: true; without it, it answers 200 with status: "confirmation_required" and changes nothing. Sentences that do not change keep their take and whatever was set on them in the studio.
  • POST /v1/studio/projects/{project_id}/estimate and …/generate — with the same voice_id and script you wrote (the quote is signed for that exact script): the quote returns a quote_id and generation asks for it with confirm: true. Like the studio's Generate button, only the blocks without a take in use are generated and charged (blocks_kept lists the ones that stay); with regenerate: true, all of them.
  • GET /v1/studio/projects/{project_id}/takes · PUT …/music — what has been generated, and the music (sections with their eq, lead_in, ducking).
  • POST /v1/studio/projects/{project_id}/mix — the whole piece, with watermark and C2PA, as a 48 kHz MP3 or, with format, as the WAV master (wav: 48 kHz, stereo, 24-bit; wav_mono) or for telephony (wav_16000, wav_8000) (master: cinema, tv, youtube, podcast, audiobook or radio). If it takes long, 202 with status: "mixing" and retry_after: call again.
  • GET · POST /v1/studio/projects/{project_id}/audio — your own audio, and uploading one (studio_user_audio, studio_upload_audio, with rights_confirmed: true).
  • GET /v1/studio/presets · POST …/cut-voice · POST …/enhance — your presets (preset_id and seed per line), cutting a generated block's voice without regenerating (studio_cut_voice) and «Enhance» (studio_enhance). On each line, mix.volume_points draws the block's volume envelope, mix.eq equalizes it and mix.backgrounds separates, fades or equalizes its backgrounds.
  • GET · PUT · DELETE /v1/studio/pronunciation — your pronunciation dictionary: list the rules (with language, Voicefinder's global dictionary too, read-only), add or change the rule for a word (word, replacement, notation: respell by default, cmu or pinyin; no square brackets; optional language, such as es or en, so it only applies in that language: without it, it applies in every language) and delete it (rule_id or word). Account rules apply in all your projects and in /v1/text-to-speech; /v1/studio/projects/{project_id}/pronunciation handles a project's rules (studio_pronunciation_list, studio_pronunciation_set, studio_pronunciation_delete). Adding or changing rules needs the Plus plan or above.
  • Errors with their HTTP status: 404 unknown project, 402 no balance, 409 voice not available, 429 limits, 400 arguments.

Spending, always with your approval

  • Signed quote. Generating requires confirm: true and the quote_id from studio_estimate for that exact script, voice, takes and speed (valid for 15 minutes). The assistant cannot spend without having asked for the quote, and if a comma changes the quote no longer applies.
  • No double charges. Retrying with the same quote_id returns what was already generated instead of generating it again.
  • The same limits as the API. Each generation takes a slot of your account (generations per minute and concurrent, by plan), and every call shows up in your usage.

Create speech

POST/text-to-speech/{voice_id}

Generates audio with a catalog voice. It is a synchronous call: the response body is the audio (audio/wav or audio/mpeg). Only text is required — the remaining parameters have sane defaults and only need to be sent to fine-tune the read. Texts of up to 10,000 characters are resolved in the same call; long ones take longer because they are generated in parts, so set a generous timeout (the request can last up to 5 minutes) or use async mode, which answers right away with a job_id. To direct the performance, use the expressive tags inside the text, or describe it in your own words with natural-language direction. Sound effects are written the same way, in square brackets, and arrive mixed into the same audio.

Query parameters

output_formatstringOptional

Format with sample rate and bitrate (mp3_44100_128, wav_22050…). mp3_* → MP3 and wav_* → WAV, at the sample rate and bitrate we generate (not the requested ones): the x-output-format header reports what was delivered. pcm_*, ulaw_8000, alaw_8000 and opus_* return 422, because they cannot carry the C2PA credential and we never deliver unmarked audio. Also accepts wav and mp3. When present, it wins over output_format in the body.

Body parameters

textstring (1–10.000)Required

Text to synthesize; it cannot be empty. Maximum 10,000 characters per request, counting everything (tags and spaces included); above that, 422. Long texts are generated in parts, split at paragraph boundaries (or at sentence boundaries when a paragraph is very long), and returned as a single audio file, no stitching needed on your side. A line break is read as a space and a blank line as a full stop. Cost: see "Credits & cost"; bracketed tags ([upbeat], [pause:0.5]…) are not charged as text, but each one counts as at least 5 characters when that exceeds what the text costs. Sound effects ([doorbell], [applause:under]…) play mixed into the audio and are free: see "Sound effects".

language"es" | "en" | "ca" | "eu" | "gl" | "af" | "ar" | "as" | "az" | "bn" | "bg" | "my" | "yue" | "zh" | "hr" | "cs" | "da" | "nl" | "et" | "fil" | "fi" | "fr" | "ka" | "de" | "el" | "gu" | "ha" | "he" | "hi" | "hu" | "ig" | "id" | "it" | "ja" | "jv" | "kn" | "kk" | "km" | "ko" | "lv" | "lt" | "ms" | "ml" | "mt" | "mr" | "ne" | "no" | "or" | "fa" | "pl" | "pt" | "pa" | "ro" | "ru" | "sk" | "sl" | "sw" | "sv" | "ta" | "te" | "th" | "tr" | "tw" | "uk" | "ur" | "uz" | "vi" | "yo"OptionalDefaults to auto

Language of the text: the ISO 639-1 code ("de"), a tag with a region ("pt-BR", "es-419"; the language counts, the accent comes from the voice), the ISO 639-3 code ("deu") or the English name ("German"). Also accepted as language_code (alias); if both arrive, language wins. Available: es (Spanish), en (English), ca (Catalan), eu (Basque), gl (Galician), af (Afrikaans), ar (Arabic), as (Assamese), az (Azerbaijani), bn (Bengali), bg (Bulgarian), my (Burmese), yue (Cantonese), zh (Chinese), hr (Croatian), cs (Czech), da (Danish), nl (Dutch), et (Estonian), fil (Filipino), fi (Finnish), fr (French), ka (Georgian), de (German), el (Greek), gu (Gujarati), ha (Hausa), he (Hebrew), hi (Hindi), hu (Hungarian), ig (Igbo), id (Indonesian), it (Italian), ja (Japanese), jv (Javanese), kn (Kannada), kk (Kazakh), km (Khmer), ko (Korean), lv (Latvian), lt (Lithuanian), ms (Malay), ml (Malayalam), mt (Maltese), mr (Marathi), ne (Nepali), no (Norwegian), or (Odia), fa (Persian), pl (Polish), pt (Portuguese), pa (Punjabi), ro (Romanian), ru (Russian), sk (Slovak), sl (Slovenian), sw (Swahili), sv (Swedish), ta (Tamil), te (Telugu), th (Thai), tr (Turkish), tw (Twi), uk (Ukrainian), ur (Urdu), uz (Uzbek), vi (Vietnamese), yo (Yoruba); any other value returns 422 unsupported_language. It works with any voice: if the voice has a recording in that language it sounds native; if not, it speaks with the recording of its main language (its accent may carry over) and the x-language-warning header says so. If omitted and the text is in a non-Latin script (Devanagari, Hangul, Cyrillic, Arabic…), the language of that script is used; if it is Latin, the language is detected from the text (very short or ambiguous texts fall back to Spanish) and neither the voice's recording in that language nor the pronunciation dictionary is applied: send it whenever you know it.

output_format"wav" | "mp3"OptionalDefaults to "wav"

Format of the returned audio. Both carry the embedded AI-content marking. Formats with sample rate and bitrate are also accepted (mp3_44100_128, wav_22050…; see output_format in the query, which wins if both arrive). Default wav; if the request authenticates with xi-api-key, mp3. Any other value returns 422. If the MP3 conversion fails, the WAV is delivered instead: check the Content-Type header.

model_idstringOptionalDefaults to voyager-1

Model. There is only one, voyager-1 (the previous id, omni-v1, still works). For compatibility, any value is accepted and never errors (see [Migrating from another provider](#migrate)): it is treated as voyager-1 or ignored, and the x-model-id-warning header says so.

voice_settingsobjectOptional

Voice settings. Only speed has an effect: a speed between 0.85 and 1.25 (outside that range it is clamped and x-speed-warning says so; for the cleanest diction, stay at or below 1.15). stability, similarity_boost, style and use_speaker_boost are accepted with no effect and listed in x-ignored-parameters.

cfg_scalefloat (1.0–4.0)OptionalDefaults to 2.5

Fidelity to the voice's timbre versus freedom of read. Higher values stick closer to the timbre; lower values allow freer reads. Must be a JSON number (not a string); out of range returns 422.

inference_stepsinteger (24 or 32)OptionalDefaults to 24

Generation quality: 24 (default) or 32 (maximum quality, a little slower). If omitted, 24 is used. Must be a JSON integer; any other value returns 422.

seedinteger (0–2147483647)OptionalDefaults to auto

Generation seed: an integer between 0 and 2147483647; any other value (decimals, negatives, strings) returns 422 with code invalid_seed. Send it only to repeat a take: with the same text, voice, style and parameters, the same seed gives the same take as long as the model version does not change (best effort for long texts). A request with a seed may take a little longer at peak demand and takes two concurrent-generation slots (see "Rate limits"). If you omit it, one is chosen for you and stored in params.seed of GET /history/{generation_id}: send it back to repeat that take.

style_idstringOptional

Voice style (a style_id from the styles list of GET /voices/{voice_id}). If it does not belong to this voice, 404 "Style not found for this voice.". If omitted, the voice's base recording is used.

instructstring (≤100)Optional

Global read-style hint (e.g. "corporativo", "confiable"). Applied to the whole read. To direct the performance in detail (attitude, changes mid-text, characters), use direction. At most 100 characters (otherwise 422); surrounding spaces are trimmed and an empty string is ignored.

directionstring (≤500)Optional

Natural-language direction for the whole text (e.g. "customer service, warm and unhurried; softer on the refund sentence"). It is turned into expressive tags placed where they belong; it is neither read aloud nor charged. It also enables bracketed notes inside text (see [Natural-language direction](#natural-direction)). At most 500 characters and no square brackets (otherwise 422 invalid_direction).

natural_directionbooleanOptionalDefaults to false

With true, anything in square brackets in text that is not a supported tag is treated as a direction note ("[then, quietly, breaking]") instead of returning 422 invalid_tag. The same happens if you send direction. An identifier in brackets (`[name_with_underscores]`, digits) still returns 422. A non-boolean value returns 422 invalid_direction.

emotion_intensityfloat (1–6)OptionalDefaults to 1

Emotion intensity: how strongly the emotion tags in the text ([excited], [sad], [angry]…) come through. 1 is the usual (natural); 3, marked; 4.5, very marked; 6, maximum. It only changes the stretches with an emotion tag, takes a little longer on them and barely changes [whispers]. It works in every language. With it, the audio is checked before delivery: if any text was dropped, it is regenerated once at intensity 1 at no extra cost, and the x-emotion-intensity (the one applied) and x-emotion-intensity-fallback headers say so. Must be a JSON number between 1 and 6; otherwise 422. To fine-tune emotion by emotion, write the level in the tag itself: [mad:4.5], [excited:6] (1 to 6, comma or dot; out of range is clamped). It overrides emotion_intensity in its stretch; without a number emotion_intensity (or 1) applies. On sounds ([laughs]) and [whispers] the number is dropped. With any tag above 1 the audio is also checked before delivery and, if text was dropped, regenerated once without the levels.

tail_pad_sfloat (0–3)OptionalDefaults to 0.4

Extra trailing silence, in seconds. Out of range returns 422.

auto_durationbooleanOptionalDefaults to true

Prevents clipped endings. A non-boolean value is ignored.

collapse_paragraphbooleanOptionalDefaults to true

Normalizes line breaks and repeated spaces before generating. Note: line breaks and repeated spaces are always normalized before generating (see text), so in practice false changes very little. A non-boolean value is ignored.

Example request

POST/text-to-speech/{voice_id}
1curl -X POST -L -o speech.mp3 "https://api.voicefinder.io/v1/text-to-speech/f6abdab0-2524-43d1-92e2-b39486f39fbe" \
2 -H "x-api-key: vf_your_key" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "text": "Hello, welcome to Voicefinder.",
6 "language": "en",
7 "output_format": "mp3"
8 }'

Response headers

The audio arrives with headers carrying the generation metadata:

HeaderMeaning
Content-Type
audio/wav or audio/mpeg. If you asked for mp3 and the conversion failed, audio/wav arrives: trust this header, not the output_format.
Content-Length
Audio size in bytes.
x-request-id
Generation identifier (a UUID). Use it with /history to inspect or re-download the audio.
x-character-count
Credits (characters) deducted by this generation.
x-audio-duration-s
Duration of the generated audio, in seconds. Not sent for long texts, which are generated in parts.
x-watermarked
true if the audio carries the inaudible AI-content watermark.
x-c2pa-signed
true if the file carries signed C2PA Content Credentials.
request-id · history-item-id
Aliases of x-request-id, for compatibility: the same generation identifier. request-id also comes with errors.
character-cost
Alias of x-character-count (same value), for compatibility.
x-output-format
Actual delivered format, read from the bytes: wav_48000 or mp3_48000_192. It may differ from the one requested (mp3_44100_128, wav_22050…).
x-model-id · x-model-id-warning
The model used (voyager-1) and, if you asked for another model_id, the notice that it was substituted or ignored.
x-speed · x-speed-warning
The speed applied (voice_settings.speed) and, if it was outside 0.85–1.25, the clamping notice.
x-direction-status · x-direction-applied
Only with natural-language direction (direction or natural_direction): whether it was applied and which tags were placed for each note. See "Natural-language direction".
x-language · x-language-warning
The language the audio was generated in (the one in language or, if you did not send it and the text is not in Latin script, the one of its script) and, if the voice has no recording in that language, the notice that it speaks with its main language's recording.
x-sfx-applied
Only when the text has sound effects: the ones that play, in order and with the version picked (doorbell:2, applause:1:under). See "Sound effects".
x-emotion-intensity · x-emotion-intensity-fallback
Only with emotion_intensity: the emotion intensity applied and, if the requested one dropped text, the reason (missing_words, unverified or truncated) why the take regenerated at 1 is delivered instead, at no extra cost.
x-ignored-parameters
Compatibility parameters received that are accepted with no effect (previous_text, enable_logging, voice_settings.stability…). Only present when any exist.

Endpoint-specific errors

Every text goes through moderation before generation, against the platform content rules and the voice's usage restrictions (e.g. no political content). If the text violates them, the generation responds 403 with the reasons. If the service is at capacity, it responds 503 with Retry-After — retry with backoff. These are all the errors specific to this endpoint (on top of the authentication and rate-limit ones):

CodemessageWhen
422
Invalid JSON body. · text is required and must be a non-empty string. · text exceeds maximum length of 10000 characters.
The body is not JSON, text is missing, or it exceeds 10,000 characters.
422
output_format must be … · Unsupported language code … · cfg_scale must be … · inference_steps must be … · tail_pad_s must be … · instruct must be …
A parameter with an invalid type or range. The message gives the range and, for language, the list of codes. inference_steps only accepts 24 (default) or 32 (maximum quality).
422
The text contains bracketed tags that are not supported. … · The text contains unbalanced square brackets. … · instruct cannot contain square brackets …
Code invalid_tag: the text has something in square brackets that is not a listed tag (error.invalid_tags lists up to 10, as you wrote them), or a stray bracket. Nothing is generated or charged. To write direction notes in brackets, turn it on with natural_direction (see "Natural-language direction").
422
direction must be a string of at most 500 characters. · direction cannot contain square brackets … · natural_direction must be a boolean.
Code invalid_direction: direction is not a string, exceeds 500 characters or contains brackets, or natural_direction is not a boolean.
422
output_format "pcm_16000" is not available: raw PCM, μ-law, A-law and Opus cannot carry the embedded AI-content marking …
A format that cannot be marked. We never deliver unmarked audio: request mp3, wav or an mp3_*/wav_* format.
404
Voice not found. · Style not found for this voice.
The voice does not exist or is not available to your account, or the style does not belong to that voice.
403
The text violates the platform content rules or this voice's usage restrictions.
Moderation rejected the text. reasons explains why, in English. Nothing is deducted.
402
Insufficient character credits.
Not enough balance for this generation's cost, checked before generating (error carries characters_required and characters_remaining). Nothing is deducted.
422
seed must be an integer between 0 and 2147483647.
Code invalid_seed: the seed is not an integer in that range. Nothing is generated or charged.
429
Rate limit exceeded. Try again later. · Too many concurrent generation requests for this account: … · Hourly character limit reached for this account. …
Plan limit exceeded: requests per minute (rate_limited), concurrent generations (concurrency_limited) or characters per hour (hourly_quota_exceeded). Retry-After is included.
429
Too many rejected requests. Access is temporarily blocked; see Retry-After.
Code temporarily_blocked: a 15 min, 1 h or 24 h block after repeated strikes.
403
This API key has been suspended for review. … · This account is disabled or scheduled for deletion. …
key_suspended (key suspended pending review) or account_disabled (account disabled or being deleted).
502
TTS generation failed. · TTS generated an invalid response. · TTS generated empty audio. · TTS returned a truncated generation. · Content marking failed: the audio was not delivered.
Generation failed or came back empty or truncated, or content marking could not complete (no marking, no audio). Nothing is deducted.
503
TTS service is at capacity. Retry after a few seconds.
Service at capacity. Includes retry_after in the body and the Retry-After header. For long texts generated in parts, saturation arrives as a 502.
503
Content moderation is temporarily unavailable. Retry in a few minutes.
The text could not be reviewed (it is not a rejection). Retry-After: 60.
503
TTS service is temporarily unavailable. · TTS service is not configured.
The voice service is not responding. No Retry-After: retry with backoff.
503
The service is temporarily unavailable. Retry in a few seconds.
Code service_unavailable: the system that admits requests is not responding. Nothing is charged. Retry-After: 5.
503
The audio was generated but could not be delivered as a signed MP3 right now. …
Code content_marking_unavailable: the audio was generated and stored, but it cannot be delivered as an MP3 with both marks (watermark and C2PA credential) right now, and we never deliver unmarked audio. Fetch it in a few seconds from /v1/history/{history_item_id}/audio?output_format=mp3 (the id is in the body and in the history-item-id header) or request wav. If you send Accept: audio/wav, you get the marked WAV instead of the error. Retry-After: 30.
503
Sound effects are temporarily unavailable. Retry in a few seconds.
Code sound_effects_unavailable: the text's sound effects could not be prepared right now. The audio always comes with all its effects, so nothing is delivered and nothing is charged. Retry-After: 5.
403 Forbidden
1{
2 "error": {
3 "status": 403,
4 "message": "The text violates the platform content rules or this voice's usage restrictions.",
5 "reasons": ["The script contains political content, which this voice's restrictions do not allow."]
6 }
7}
503 Service Unavailable
1{
2 "error": {
3 "status": 503,
4 "message": "TTS service is at capacity. Retry after a few seconds.",
5 "retry_after": 5
6 }
7}

Streaming: POST /text-to-speech/{voice_id}/stream returns the same audio in chunks; see Stream speech.

Stream speech

POST/text-to-speech/{voice_id}/stream

Accepts the same parameters, charges the same and returns the same audio as POST /text-to-speech/{voice_id}, with the same headers; the difference is that the body arrives in chunks (Transfer-Encoding: chunked, no Content-Length). It exists so the SDKs' stream method works. It does not reduce latency: the first byte goes out once the whole file is generated and marked, because the C2PA credential is signed over the complete file and we never send unmarked audio. Until October 2026 it returned 410.

Query parameters

output_formatstringOptional

Format with sample rate and bitrate (mp3_44100_128, wav_22050…). mp3_* → MP3 and wav_* → WAV, at the sample rate and bitrate we generate (not the requested ones): the x-output-format header reports what was delivered. pcm_*, ulaw_8000, alaw_8000 and opus_* return 422, because they cannot carry the C2PA credential and we never deliver unmarked audio. Also accepts wav and mp3. When present, it wins over output_format in the body.

Example request

POST/text-to-speech/{voice_id}/stream
1curl -X POST -L -o speech.mp3 "https://api.voicefinder.io/v1/text-to-speech/f6abdab0-2524-43d1-92e2-b39486f39fbe/stream?output_format=mp3_44100_128" \
2 -H "x-api-key: vf_your_key" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "text": "Hello, welcome to Voicefinder.",
6 "language_code": "en"
7 }'

Create speech (async)

POST/text-to-speech/{voice_id}/async

For long texts, batches or integrations that cannot hold a connection open. Accepts the same parameters as POST /text-to-speech/{voice_id}, with the same validation, the same moderation and the same cost, but does not wait for the audio: it answers right away with 202, job_id, status (queued) and poll_url. Characters are reserved when the job is created and only actually spent if it finishes; if it fails or you cancel it, they go back to your balance. Validation, balance, limit and moderation errors are the same and arrive in this same response, before anything is created. Then poll poll_url (Get a job) every few seconds until status is done. You can have up to 100 jobs queued or running at once; more returns 429 with detail.code too_many_jobs.

Query parameters

output_formatstringOptional

Format with sample rate and bitrate (mp3_44100_128, wav_22050…). mp3_* → MP3 and wav_* → WAV, at the sample rate and bitrate we generate (not the requested ones): the x-output-format header reports what was delivered. pcm_*, ulaw_8000, alaw_8000 and opus_* return 422, because they cannot carry the C2PA credential and we never deliver unmarked audio. Also accepts wav and mp3. When present, it wins over output_format in the body.

Example request

POST/text-to-speech/{voice_id}/async
1curl -X POST "https://api.voicefinder.io/v1/text-to-speech/f6abdab0-2524-43d1-92e2-b39486f39fbe/async" \
2 -H "x-api-key: vf_your_key" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "text": "Hello, welcome to Voicefinder.",
6 "language": "en",
7 "output_format": "mp3"
8 }'

Response

Response
1{
2 "job_id": "5b0e2c7a-9d41-4f3e-8a26-c1d7e94b3f08",
3 "status": "queued",
4 "poll_url": "https://api.voicefinder.io/v1/text-to-speech/jobs/5b0e2c7a-9d41-4f3e-8a26-c1d7e94b3f08",
5 "created_at": "2026-10-19T10:00:00Z",
6 "character_count": 31
7}

Get a job

GET/text-to-speech/jobs/{job_id}

Returns the status of a job: queued (waiting: with position and an estimate in seconds, est_wait_s), running, done, failed or canceled. With done, result carries audio_url (a signed URL to the file, valid for one hour: renewed on every request), download_url (the history download, with your API key and free of charge) and the same metadata headers as the synchronous response in result.headers. The audio carries the same content marking and shows up in your history as history_item_id. With failed, error carries code and message, and refunded_characters what was refunded. When the service is busy, the job waits its turn in queued: it does not fail because of that. You only see your own jobs: any other id returns 404 «Job not found.».

Example request

GET/text-to-speech/jobs/{job_id}
1curl "https://api.voicefinder.io/v1/text-to-speech/jobs/YOUR_JOB_ID" \
2 -H "x-api-key: vf_your_key"

Response

Response
1{
2 "job_id": "5b0e2c7a-9d41-4f3e-8a26-c1d7e94b3f08",
3 "status": "done",
4 "voice_id": "9d3f8a2e-…",
5 "character_count": 31,
6 "created_at": "2026-10-19T10:00:00Z",
7 "started_at": "2026-10-19T10:00:01Z",
8 "finished_at": "2026-10-19T10:00:06Z",
9 "result": {
10 "history_item_id": "5b0e2c7a-9d41-4f3e-8a26-c1d7e94b3f08",
11 "output_format": "mp3",
12 "content_type": "audio/mpeg",
13 "character_count": 31,
14 "audio_url": "https://…/5b0e2c7a….48k.mp3?token=…",
15 "audio_url_expires_at": "2026-10-19T11:00:09Z",
16 "download_url": "https://api.voicefinder.io/v1/history/5b0e2c7a-9d41-4f3e-8a26-c1d7e94b3f08/audio?output_format=mp3",
17 "headers": {
18 "x-output-format": "mp3_48000_192",
19 "x-watermarked": "true",
20 "x-c2pa-signed": "true",
21 "x-model-id": "voyager-1",
22 "x-language": "es"
23 }
24 }
25}

Cancel a job

DELETE/text-to-speech/jobs/{job_id}

Cancels a job that is still queued and refunds its characters immediately: the response is the job with status canceled and refunded_characters. If it has already started (running) or finished, it returns 409 (job_running or job_finished) and nothing changes.

Example request

DELETE/text-to-speech/jobs/{job_id}
1curl -X DELETE "https://api.voicefinder.io/v1/text-to-speech/jobs/YOUR_JOB_ID" \
2 -H "x-api-key: vf_your_key"

Response

Response
1{
2 "job_id": "5b0e2c7a-9d41-4f3e-8a26-c1d7e94b3f08",
3 "status": "canceled",
4 "voice_id": "9d3f8a2e-…",
5 "character_count": 31,
6 "created_at": "2026-10-19T10:00:00Z",
7 "started_at": null,
8 "finished_at": "2026-10-19T10:00:02Z",
9 "error": { "code": "canceled", "message": "Canceled by the client." },
10 "refunded_characters": 31
11}

List voices

GET/voices

Returns the catalog of voices available to your account, sorted by name. Without page_size or next_page_token it comes whole in a single page; with page_size (1-100) it is paginated by cursor: if has_more is true, repeat the request passing next_page_token. total_count is the number of voices on this page, not the size of the catalog. language is the voice's main language; languages lists the codes of the languages it has been recorded in (main one first). gender is female, male or neutral, and age_range is young, middle_aged, old or child; either can be null if the voice does not have it. Style names are in English. Until October 2026 these fields were returned in Spanish ("Femenino", "Adulto"); the filters still accept those values.

Query parameters

page_sizeinteger (1–100)OptionalDefaults to 20

Number of voices per page. It must be an integer (otherwise 422); out-of-range values are clamped to 1 or 100.

next_page_tokenstringOptional

Pagination cursor: the next_page_token of the previous page (it is the name of its last voice; the catalog is sorted by name).

searchstringOptional

Filters by voice name (partial, case-insensitive match).

languagestringOptional

Filters by the voice's main language. Accepts a two-letter code ("es" returns every variant: "Spanish (Spain)", "Spanish (Latin America)"…), any other form that language accepts in generation ("de-DE", "deu", "German"), or the exact value of the language field (e.g. "Spanish (Spain)", "English (British)"). A code that is not an accepted language returns 422 unsupported_language.

gender"female" | "male" | "neutral"Optional

Filters by gender: female, male or neutral (the same values as the gender field). For backward compatibility it also accepts the former Spanish values (Femenino, Masculino, Neutro). Any other value returns 422.

age"young" | "middle_aged" | "old" | "child"Optional

Filters by age: young, middle_aged, old or child (the same values as the age_range field). Also accepts adult (= middle_aged), senior (= old) and the former Spanish values (Joven, Joven/Adulto, Adulto, Senior, Niño). Any other value returns 422.

Example request

GET/voices
1curl "https://api.voicefinder.io/v1/voices?page_size=20" \
2 -H "x-api-key: vf_your_key"

Response

Response
1{
2 "voices": [
3 {
4 "voice_id": "9d3f8a2e-1c47-4b6a-9e5f-2d8c7b1a4f30",
5 "name": "Carmen",
6 "language": "Spanish (Spain)",
7 "gender": "female",
8 "age_range": "middle_aged",
9 "avatar_url": "https://…",
10 "cost_multiplier": 1,
11 "languages": ["es", "ca"],
12 "preview_url": "https://…",
13 "styles": [
14 {
15 "style_id": "d4c2b1a0-…",
16 "name": "Corporate",
17 "is_default": true
18 }
19 ],
20 "labels": {
21 "gender": "female",
22 "age": "middle_aged",
23 "accent": "standard peninsular",
24 "language": "es",
25 "use_case": "radio_ad",
26 "descriptive": "warm"
27 },
28 "category": "premade",
29 "verified_languages": [
30 { "language": "es", "model_id": "voyager-1", "accent": "standard peninsular", "preview_url": "https://…" },
31 { "language": "ca", "model_id": "voyager-1", "preview_url": null }
32 ],
33 "available_for_tiers": [],
34 "high_quality_base_model_ids": [],
35 "settings": { "stability": 0.5, "similarity_boost": 0.75, "style": 0, "use_speaker_boost": true, "speed": 1 }
36 }
37 ],
38 "has_more": true,
39 "total_count": 20,
40 "next_page_token": "Carmen"
41}

For compatibility, every voice also carries labels (gender, age, accent, language, use_case and descriptive; only those the voice has), category (premade; professional, an artist's clone; or cloned, one of your custom voices), verified_languages (the recorded languages generation accepts), settings (see Get voice settings) and available_for_tiers and high_quality_base_model_ids, empty.

GET /v2/voices

The same catalog with token pagination (see Migrating from another provider), at https://api.voicefinder.io/v2/voices: next_page_token is opaque (pass it as is; one that does not come from the previous page returns 422), has_more and total_count, here the real number of voices matching the filters. page_size goes from 1 to 100 (10 by default). It accepts the v1 filters (search, language, gender, age) plus category (premade, professional or cloned, your custom voices; voice_type=personal is the same as cloned; any other value gives an empty list), voice_ids and sort (name or created_at_unix) with sort_direction. Other filters are ignored.

Response
1{
2 "voices": [ { "voice_id": "9d3f8a2e-…", "name": "Carmen", "labels": { … }, … } ],
3 "has_more": true,
4 "total_count": 98,
5 "next_page_token": "bzoxMA"
6}

Get voice

GET/voices/{voice_id}

Returns one voice with all its audio samples and styles. Use the style_id values from styles in the generation call to switch the voice's read register. languages lists the languages the voice has been recorded in: generate in one of them with language and it sounds native; in any other, the recording of its main language is used and the response says so in x-language-warning. If the voice does not exist or is not available to your account, 404 "Voice not found.".

Example request

GET/voices/{voice_id}
1curl "https://api.voicefinder.io/v1/voices/f6abdab0-2524-43d1-92e2-b39486f39fbe" \
2 -H "x-api-key: vf_your_key"

Response

Response
1{
2 "voice_id": "9d3f8a2e-1c47-4b6a-9e5f-2d8c7b1a4f30",
3 "name": "Carmen",
4 "language": "Spanish (Spain)",
5 "gender": "female",
6 "age_range": "middle_aged",
7 "avatar_url": "https://…",
8 "cost_multiplier": 1,
9 "languages": ["es", "ca"],
10 "samples": [
11 { "url": "https://…", "title": "Corporate demo" }
12 ],
13 "styles": [
14 {
15 "style_id": "d4c2b1a0-…",
16 "name": "Corporate",
17 "is_default": true
18 }
19 ],
20 "preview_url": "https://…",
21 "labels": { "gender": "female", "age": "middle_aged", "accent": "standard peninsular", "language": "es", "use_case": "radio_ad", "descriptive": "warm" },
22 "category": "premade",
23 "verified_languages": [
24 { "language": "es", "model_id": "voyager-1", "accent": "standard peninsular", "preview_url": "https://…" }
25 ],
26 "available_for_tiers": [],
27 "high_quality_base_model_ids": [],
28 "settings": { "stability": 0.5, "similarity_boost": 0.75, "style": 0, "use_speaker_boost": true, "speed": 1 }
29}

Get voice settings

GET/voices/{voice_id}/settings

Voice settings in the compatible format (see Migrating from another provider). Voices have no settings of their own: it returns the defaults. When generating, only speed has an effect (voice_settings.speed, between 0.85 and 1.25); the rest is accepted with no effect. If the voice is not available to your account, 404.

Example request

GET/voices/{voice_id}/settings
1curl "https://api.voicefinder.io/v1/voices/f6abdab0-2524-43d1-92e2-b39486f39fbe/settings" \
2 -H "x-api-key: vf_your_key"

Response

Response
1{
2 "stability": 0.5,
3 "similarity_boost": 0.75,
4 "style": 0,
5 "use_speaker_boost": true,
6 "speed": 1
7}

Get default voice settings

GET/voices/settings/default

The same default settings, with no voice.

Example request

GET/voices/settings/default
1curl "https://api.voicefinder.io/v1/voices/settings/default" \
2 -H "x-api-key: vf_your_key"

Create a voice

POST/voices/add

Creates a custom voice cloned from your own recording, like "Create my voice" in the studio. The body is multipart/form-data. The voice is private: only your account sees and uses it. It shows up in GET /voices with category: "cloned" and generates like any other voice, with its voice_id. It takes a few seconds: we decode the recording, pick the clip, transcribe it if you do not send transcript, and register it. The response says which clip was used (clip), the language and the transcript, and in warnings anything worth improving (too_short, clipping, noisy, no_pauses, transcript_ignored). You can have up to 20 voices at a time and create 10 every 24 h.

Body parameters

namestringRequired

Voice name (2-40 characters).

filesfileRequired

The recording: a single WAV (PCM) or MP3 file up to 4 MB, one person speaking, no music. Up to 14 s it is used whole; longer, we pick a ~12 s clip that starts and ends on a pause.

rights_acceptedbooleanRequired

`true`: you accept the voice rights declaration (see below). It is accepted on every new voice; without it nothing is created.

rights_versionstringRequired

The version of the declaration you accept. Currently `cv-rights-2026-10-20`. If it changes, the call returns 422 with the new version and text.

languagestringOptionalDefaults to auto

Language of the recording (es, en…). If omitted, it is detected.

transcriptstringOptional

What is said in the recording. If omitted, it is transcribed. It is only used when the recording is up to 14 s long (then it is used whole); for a longer one the chosen clip is transcribed and this field is ignored.

gender"female" | "male" | "neutral"Optional

Voice gender.

age"child" | "young" | "middle_aged" | "old"Optional

Voice age.

labelsarray | objectOptional

As in ElevenLabs: a JSON object from which `gender` and `age` are read (the separate fields win).

rights_locale"en" | "es"OptionalDefaults to "en"

Language in which you accept the declaration; it is the text we keep as evidence.

Example request

POST/voices/add
1curl -X POST "https://api.voicefinder.io/v1/voices/add" \
2 -H "x-api-key: vf_your_key" \
3 -F "name=Mi voz" \
4 -F "files=@grabacion.mp3" \
5 -F "rights_accepted=true" \
6 -F "rights_version=cv-rights-2026-10-20" \
7 -F "language=es" \
8 -F "gender=female"

Response

Response
1{
2 "voice_id": "c4e2a7b1-8f3d-4b6e-9a21-5d7c0e9f4b38",
3 "requires_verification": false,
4 "name": "Mi voz",
5 "category": "cloned",
6 "language": "es",
7 "transcript": "Hola, soy Marta y esta es mi voz para los anuncios de la radio.",
8 "clip": { "start_s": 3.42, "end_s": 15.18, "whole_recording": false },
9 "warnings": []
10}

The voice rights declaration

Every new voice requires accepting this text explicitly: rights_accepted=true and its version in rights_version. We keep the version, the text, its hash, the recording, the date, your account and the IP as evidence. If the version you send is not the current one, the response is 422 rights_not_accepted with the new version and text in error.rights_version and error.rights_text.

I declare that the voice in this recording is my own, or that I have its owner's express permission and the rights to the recording, to clone it and use it on Voicefinder. I am solely responsible for this voice and for everything generated with it, including how it is used and shared, and I answer for any third-party claim, holding Voicefinder harmless. I will not use it to impersonate anyone, deceive, defame, commit fraud or create illegal content. Voicefinder may remove the voice and suspend my account if there are signs of misuse, and keeps this declaration, the recording, the date, my account and my IP as evidence.

rights_version = cv-rights-2026-10-20

Edit a voice

POST/voices/{voice_id}/edit

Changes the name, gender or age of one of your custom voices. Accepts JSON or multipart/form-data. The recording cannot be replaced (files returns 422): create a new voice with the new recording. Catalog voices cannot be edited: 403 voice_not_editable.

Body parameters

namestringOptional

New name (2-40 characters).

gender"female" | "male" | "neutral"Optional

Gender. Empty clears it.

age"child" | "young" | "middle_aged" | "old"Optional

Age. Empty clears it.

labelsarray | objectOptional

As in ElevenLabs: `gender` and `age` are read.

Example request

POST/voices/{voice_id}/edit
1curl -X POST "https://api.voicefinder.io/v1/voices/YOUR_VOICE_ID/edit" \
2 -H "x-api-key: vf_your_key" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "name": "Mi voz (radio)"
6 }'

Response

Response
1{
2 "status": "ok",
3 "voice_id": "c4e2a7b1-8f3d-4b6e-9a21-5d7c0e9f4b38",
4 "name": "Mi voz (radio)"
5}

Delete a voice

DELETE/voices/{voice_id}

Removes one of your custom voices: it stops being listed and generating right away. What you already generated with it stays in your history. Repeating the call is not an error. Catalog voices cannot be deleted: 403 voice_not_editable.

Example request

DELETE/voices/{voice_id}
1curl -X DELETE "https://api.voicefinder.io/v1/voices/YOUR_VOICE_ID" \
2 -H "x-api-key: vf_your_key"

Response

Response
1{
2 "status": "ok"
3}

List models

GET/models

Returns the available models and their capabilities. The current generation model is Voyager 1 (voyager-1). max_characters_per_request and maximum_text_length_per_request say 10,000, the per-request maximum. Each language carries code and, for compatibility, language_id. If the request comes with xi-api-key, the response is the bare array of models (compatible format); with x-api-key or Bearer, the usual { models: [...] } object.

Example request

GET/models
1curl "https://api.voicefinder.io/v1/models" \
2 -H "x-api-key: vf_your_key"

Response

Response
1{
2 "models": [
3 {
4 "model_id": "voyager-1",
5 "name": "Voyager 1",
6 "description": "Voicefinder's flagship text-to-speech model…",
7 "can_do_text_to_speech": true,
8 "can_do_voice_conversion": false,
9 "max_characters_per_request": 10000,
10 "maximum_text_length_per_request": 10000,
11 "supported_formats": ["wav", "mp3"],
12 "sample_rate": 24000,
13 "content_marking": { "watermark": true, "c2pa": true },
14 "languages": [
15 { "code": "es", "language_id": "es", "name": "Spanish" },
16 { "code": "en", "language_id": "en", "name": "English" },
17 { "code": "ca", "language_id": "ca", "name": "Catalan" },
18 { "code": "eu", "language_id": "eu", "name": "Basque" },
19 { "code": "gl", "language_id": "gl", "name": "Galician" }
20 ]
21 }
22 ]
23}

List sound effects

GET/sound-effects

The catalog of sound effects you can write in the text, complete and unpaginated. Each effect has sound_effect_id, name (in English) and localized_name (in the language requested; English by default), tag (how to write it in English) and localized_tag (how to write it in that language; null when it has no form of its own and tag applies), category, type (stinger hit, action, ringing repeating tone, crowd, ambience), ambience (true for crowds and ambiences: a bed that fills the scene), variant_count (the versions, picked with :N) and durations_s (each version's length, in seconds). Effects only play inside the generated audio: the list carries no files.

Query parameters

languagestringOptionalDefaults to en

Language of localized_name and localized_tag: any form that language accepts in generation ("es", "pt-BR", "German"). Defaults to English. A language that is not accepted returns 422 unsupported_language.

category"audience" | "office" | "commerce" | "home" | "people" | "nature" | "city" | "mystery" | "halloween" | "christmas" | "ui"Optional

Only the effects in that category. Any other value returns 422.

searchstringOptional

Searches by name in any language ("timbre", "doorbell", "Türklingel"), ignoring case and accents.

Example request

GET/sound-effects
1curl "https://api.voicefinder.io/v1/sound-effects?language=es&category=home" \
2 -H "x-api-key: vf_your_key"

Response

Response
1{
2 "sound_effects": [
3 {
4 "sound_effect_id": "window",
5 "name": "Window",
6 "localized_name": "Ventana",
7 "tag": "window",
8 "localized_tag": "ventana",
9 "category": "home",
10 "type": "action",
11 "ambience": false,
12 "variant_count": 4,
13 "durations_s": [1.67, 2.5, 3.46, 2.5]
14 },
15 {
16 "sound_effect_id": "vacuum",
17 "name": "Vacuum cleaner",
18 "localized_name": "Aspiradora",
19 "tag": "vacuum",
20 "localized_tag": "aspiradora",
21 "category": "home",
22 "type": "ambience",
23 "ambience": true,
24 "variant_count": 5,
25 "durations_s": [6, 5.2, 7.5, 6, 6]
26 }
27 ],
28 "total_count": 2,
29 "language": "es",
30 "categories": ["audience", "office", "commerce", "home", "people", "nature", "city", "mystery", "halloween", "christmas", "ui"]
31}

List history

GET/history

Lists your generations, most recent first. By default only the ones made via API; with source=all it also includes the web app ones. There is no cursor: if has_more is true, request the next page with date_before set to the created_at of the last generation received. params holds the parameters used (only the ones sent, plus the effective seed and the marking state) and may be null for old generations.

Query parameters

page_sizeinteger (1–100)OptionalDefaults to 20

Number of generations per page. It must be an integer (otherwise 422); out-of-range values are clamped to 1 or 100.

source"api" | "ad_studio" | "web" | "all"OptionalDefaults to "api"

Origin of the generations: api (made via API), ad_studio (from the web app studios), web (from the classic TTS studio) or all (every origin).

voice_idstringOptional

Filters by voice.

date_afterISO 8601Optional

Only generations strictly after this date: ISO 8601 or a Unix timestamp in seconds. A date that cannot be parsed returns 422.

date_beforeISO 8601Optional

Only generations strictly before this date (ISO 8601 or a Unix timestamp in seconds; if it cannot be parsed, 422). Use it to paginate: pass the created_at of the last generation of the previous page.

Example request

GET/history
1curl "https://api.voicefinder.io/v1/history?page_size=10" \
2 -H "x-api-key: vf_your_key"

Response

Response
1{
2 "history": [
3 {
4 "generation_id": "e7c1a9b2-5d4f-4a38-9c0e-6f2b8d7a1c53",
5 "text": "Hello, welcome to Voicefinder.",
6 "voice_id": "9d3f8a2e-…",
7 "voice_name": "Carmen",
8 "style_id": null,
9 "model": "Voyager 1",
10 "character_count": 31,
11 "source": "api",
12 "created_at": "2026-07-09T10:00:00Z",
13 "params": {
14 "language": "en",
15 "seed": 184530221,
16 "output_format": "mp3",
17 "content_marking": { "watermarked": true, "c2pa_signed": true }
18 }
19 }
20 ],
21 "has_more": false
22}

Get generation

GET/history/{generation_id}

Returns the full metadata of a generation, including the parameters used and the content-marking state. has_audio is false when no copy of the audio was kept and it cannot be re-downloaded. If the generation does not exist or is not yours, 404 "Generation not found.".

Example request

GET/history/{generation_id}
1curl "https://api.voicefinder.io/v1/history/YOUR_GENERATION_ID" \
2 -H "x-api-key: vf_your_key"

Response

Response
1{
2 "generation_id": "e7c1a9b2-5d4f-4a38-9c0e-6f2b8d7a1c53",
3 "text": "Hello, welcome to Voicefinder.",
4 "voice_id": "9d3f8a2e-…",
5 "voice_name": "Carmen",
6 "style_id": null,
7 "style_name": null,
8 "model": "Voyager 1",
9 "character_count": 31,
10 "source": "api",
11 "created_at": "2026-07-09T10:00:00Z",
12 "params": {
13 "language": "en",
14 "seed": 184530221,
15 "output_format": "mp3",
16 "content_marking": { "watermarked": true, "c2pa_signed": true }
17 },
18 "has_audio": true
19}

Download audio

GET/history/{generation_id}/audio?output_format=wav|mp3

Re-downloads the audio of a generation as binary, in the format you request — without spending credits. The audio keeps its content marking. It comes with Content-Disposition: attachment and the file name voicefinder-XXXXXXXX.wav|mp3 (the first 8 characters of the id). If the generation does not exist, is not yours or has no stored audio, 404 "Generation audio not found.".

Query parameters

output_format"wav" | "mp3"OptionalDefaults to "wav"

Format of the downloaded audio. Any other value returns 422.

Example request

GET/history/{generation_id}/audio
1curl -L -o speech.mp3 "https://api.voicefinder.io/v1/history/YOUR_GENERATION_ID/audio?output_format=mp3" \
2 -H "x-api-key: vf_your_key"

Get user

GET/user

Returns the authenticated account, its active plan and the remaining credits.

Example request

GET/user
1curl "https://api.voicefinder.io/v1/user" \
2 -H "x-api-key: vf_your_key"

Response

Response
1{
2 "user_id": "f2a8c4e6-…",
3 "email": "dev@example.com",
4 "first_name": "Dev",
5 "last_name": "Example",
6 "subscription": {
7 "plan": "standard",
8 "status": "active",
9 "current_period_end": "2026-08-01T00:00:00Z"
10 },
11 "credits": {
12 "characters_remaining": 48210,
13 "characters_reset_at": "2026-08-01T00:00:00Z"
14 }
15}

Get subscription

GET/user/subscription

Your plan and characters in subscription format (see Migrating from another provider). tier is your active plan or free; characters_remaining is your balance (the same as in GET /user, your company's if you belong to one); character_limit is your plan's monthly quota, or your balance if larger (top-ups or added credits), and character_count what has been spent, so character_limit − character_count is always your balance. next_character_count_reset_unix is the next renewal (null if none). Your own voices come from your plan (voice_limit and voice_slots_used; can_use_instant_voice_cloning, from Free) and the remaining fields are the neutral ones the SDK expects (no open invoices).

Example request

GET/user/subscription
1curl "https://api.voicefinder.io/v1/user/subscription" \
2 -H "x-api-key: vf_your_key"

Response

Response
1{
2 "tier": "standard",
3 "character_count": 151790,
4 "character_limit": 600000,
5 "characters_remaining": 448210,
6 "next_character_count_reset_unix": 1793491200,
7 "status": "active",
8 "currency": "eur",
9 "billing_period": "monthly_period",
10 "character_refresh_period": "monthly_period",
11 "can_use_instant_voice_cloning": false,
12 "can_use_professional_voice_cloning": false,
13 "voice_limit": 0,
14 "open_invoices": [],
15 "has_open_invoices": false,
16 …
17}

Get usage

GET/usage

Usage statistics for the period: characters and generations per origin, with an optional daily breakdown of API usage. api counts what was generated via API and total_requests every logged API request in the period; web counts only what was generated in the classic TTS studio (generations from the studios, origin ad_studio, are not included in this report); total adds api and web; credits.characters_remaining is the current balance.

Query parameters

daysinteger (1–90)OptionalDefaults to 30

Days back included in the period. It must be an integer (otherwise 422); out-of-range values are clamped to 1 or 90.

breakdown"day" | "total"OptionalDefaults to "day"

With "day" it includes api.daily, the daily breakdown of API usage (only days with activity, as UTC dates). With "total" it is omitted.

Example request

GET/usage
1curl "https://api.voicefinder.io/v1/usage" \
2 -H "x-api-key: vf_your_key"

Response

Response
1{
2 "period": {
3 "days": 30,
4 "start": "2026-06-09T10:00:00.000Z",
5 "end": "2026-07-09T10:00:00.000Z"
6 },
7 "api": {
8 "characters_used": 1790,
9 "generation_count": 12,
10 "total_requests": 58,
11 "daily": [
12 { "date": "2026-07-08", "characters": 310, "requests": 2 }
13 ]
14 },
15 "web": { "characters_used": 5400, "generation_count": 21 },
16 "total": { "characters_used": 7190, "generation_count": 33 },
17 "credits": { "characters_remaining": 48210 }
18}

Health check

GET/healthNo API key

Public service status (no API key required). Returns 200 with status=healthy or 503 with status=degraded.

Example request

GET/health
1curl "https://api.voicefinder.io/v1/health"

Response

Response
1{
2 "status": "healthy",
3 "checks": { "database": "ok", "tts": "ok" }
4}

Expressive tags

Inside text you can direct the performance with bracketed tags, right before the fragment they affect: e.g. [upbeat] It's here! [laugh]. Tags are not charged as text, although each one counts as at least 5 characters when that exceeds what the text costs. Write the English name exactly as listed here (case and hyphens do not matter) or one of the synonyms the studio understands, in Spanish and other languages ([alegre], [ríe], [susurra], [con entusiasmo]): it becomes the tag in the list. Only the tags in this list and their synonyms, [pause:N], [cfg:N] (1 to 4), [speed:N] when available and the sound effects are accepted. Anything else in square brackets, or a stray bracket, returns 422 with code invalid_tag and nothing is generated: it is neither read aloud nor silently removed. Repeating invalid tags adds strikes (see Rate limits). If you would rather describe it in your own words, use natural-language direction.

Emotions and styles

[enthusiastic][unhappy][hushed][serene][angry][fearful][astonished][tearful][repulsed][ironic][yelling][weary][intrigued][teasing][nervous][satisfied][proud][disapproving][bored][puzzled][friendly][confident][comforting][upbeat][conversational][serious][urgent][motivational][nostalgic][threatening][feeble][enigmatic]

Effects

[laugh][chuckle][belly laugh][sigh][exhale][deep breath][gasp][ahem][sob][sniffle][wheeze][woo-hoo][villain laugh][voice cracking][yawn][breathless][scoff][cough]

Voice styles

A style is written like a tag and applies from there to the end of the text or the next style: it puts its emotion on every sentence, adjusts the speed and, for [meditation], leaves a pause between sentences. For example, [storyteller] Once upon a time there was a girl. One day she found a seashell.

[storyteller][documentary][newscaster][radio spot][tutorial][motivational coach][kids' narration][meditation][movie trailer]

For a pause, use [pause:N] with N in seconds (e.g. [pause:0.5]).

Sound effects

Write the effect in square brackets where it should play and it arrives mixed with the voice in the same audio: [doorbell] Coming! [door] Hello, come in. [applause:under]. More than 6,000 effects —doorbells, doors, phones, crowds, rain, traffic, animals, UI sounds, stingers…—, each with several versions: the same ones as the web studio, mixed the same way. The full list, with how to write each one in your language, is in List sound effects.

How to write them

  • By name, in English or in the language of the text: [doorbell], [timbre], [Türklingel], [applause], [aplausos]. Case and accents do not matter.
  • A specific version, with `:N`: [doorbell:2]. Without a number, the same text always plays the same version.
  • Under the voice, with `:under` or `:fondo`: [applause:under], [waves:under]. It plays lower, over the voice, without moving it.
  • In full, then the voice, with `:full` or `:completo`: [thunder:full].
  • Louder or softer, with `:+NdB` or `:-NdB` (−12 to +12): [doorbell:+4dB]. Everything combines: [doorbell:2:+4dB:full].
  • By description: [distant thunder], [small dog barking], [trueno lejano]. The effect and version that fit best are picked.

Where they play

  • At the start: the effect lands its hit and the voice comes in over its tail, as in a professional edit. Crowds and ambiences keep going underneath with a long fade.
  • In the middle: a gap opens at the nearest natural pause, after a comma or a full stop, and the voice carries on afterwards. A word is never split: if the sentence runs on, the effect plays over it as the word ends.
  • At the end: it comes in overlapping the last word and rises when the voice finishes.
  • The voice is the same as without effects: the text is generated in one go and the effects are mixed onto it, so the intonation does not change.

They are free. Effects do not count as characters or as tags and are never read aloud: you only pay for the text that is spoken.

Format and headers

You get the audio in the format you ask for, with the effects already mixed in and marked as always (watermark and C2PA over the final file): mono WAV at 48 kHz or mono MP3 at 48 kHz. The x-sfx-applied header lists the effects that play, in order and with the version picked: doorbell:3, door:3, applause:1:under. Write those versions into your text to pin the result. It works the same on /stream, and /history returns the audio with its effects.

Example
1curl -X POST -o doorbell.mp3 -D - \
2 "https://api.voicefinder.io/v1/text-to-speech/f6abdab0-2524-43d1-92e2-b39486f39fbe" \
3 -H "x-api-key: vf_your_key" \
4 -H "Content-Type: application/json" \
5 -d '{
6 "text": "[doorbell] Coming! [door] Hello, come in, we were expecting you. [applause:under]",
7 "language": "en",
8 "output_format": "mp3"
9 }'
10​
11# x-sfx-applied: doorbell:3, door:2, applause:2:under

Anything in square brackets that is not an effect, a tag or a pause still returns 422 invalid_tag: an effect that does not exist is never read aloud or silently removed.

Natural-language direction

Instead of picking tags, describe how it should sound in your own words, in any language, the way you would direct an actor in the booth. Voicefinder interprets it and turns it into expressive tags from the list, placed where they belong: at the start of each sentence, mid-sentence if the attitude changes there, and with pauses ([pause:N]) when the note asks for them. It is opt-in: turn it on per request.

  • Notes in the text. With natural_direction: true, anything in square brackets that is not a tag is a note: [then, quietly, breaking], [as if you were pulling their leg]. It applies from where you write it until the next note, so you can direct sentence by sentence or paragraph by paragraph with a note before each one. If the note limits its own scope ([just this sentence, in a whisper]), the previous read comes back when it ends.
  • Global direction. With direction (up to 500 characters) you describe the whole text: "customer service, warm and unhurried; softer on the refund sentence". It can refer to specific parts of the text, as in the example. Sending it also enables notes, and notes take precedence over the global direction where they are.
  • Works with your own tags. Tags you write in the text are kept; the direction fills in the rest.
  • Not read aloud, not charged. Notes and direction are not voiced and do not count as characters. They are moderated together with the text.
  • Your words never change. The direction only decides which tag goes before which word; what you hear is your text. Only tags from the list that are valid for the language are used, and everything goes through the same validation as a hand-written tag.
  • Characters and styles. For a character or a strong style ([pirate], [old west cowboy], [full diva]) the direction may add up to three very short adornments in the language of the text, at a natural break and without changing what it says: Arrr, me hearties!, Yeehaw, partner!. They are moderated with the same rules and voice restrictions as the text; if they do not pass, they are removed and the rest still applies. They are not charged.
  • Reproducible. The same input gives the same interpretation. To pin it completely, copy the tags from the x-direction-applied header into your text.
  • If it cannot be interpreted, the note is removed (it is never read aloud) and the x-direction-status header is fallback. An identifier in brackets (with underscores or digits) is not a note: it still returns 422 invalid_tag.
Example
1curl -X POST -o teasing.mp3 -D - \
2 "https://api.voicefinder.io/v1/text-to-speech/f6abdab0-2524-43d1-92e2-b39486f39fbe?output_format=mp3_44100_128" \
3 -H "x-api-key: vf_your_key" \
4 -H "Content-Type: application/json" \
5 -d '{
6 "text": "[as if you were pulling their leg] Sure, very smart: heading out on a road trip with no map and no gas was bound to go well.",
7 "language": "en",
8 "natural_direction": true
9 }'
10​
11# x-direction-status: applied
12# x-direction-applied: [ironic]

Response headers

HeaderMeaning
x-direction-status
applied (it was applied), fallback (it could not be interpreted and the notes were removed), none (there was nothing to direct) or disabled (not available right now: the text is handled as usual).
x-direction-applied
What was interpreted, note by note and in order (the direction one first), with the names from the list: [ironic] [pause:0.3] | [hushed]. A - is a note that could not be converted.
x-direction-adornments
Only when adornments were added: their text, URL-encoded (headers only allow ASCII) and separated by | : Arrr%2C%20me%20hearties!.

Interpreting adds around a second before generation starts, and only when the request carries notes or direction.

HTTP status codes

CodeMeaning
200
Request succeeded.
401
Missing, invalid or revoked API key.
402
Not enough credits for this generation (the response includes characters_required and characters_remaining), or the account has no credit balance (on any endpoint).
403
The account does not have the voice API enabled or is disabled (account_disabled), the key is suspended (key_suspended), or the text violates the content rules or the voice's usage restrictions (the response includes reasons).
404
Voice, style, generation, audio or account not found.
422
Invalid JSON body, out-of-range parameter, unavailable output format (pcm_*, ulaw_8000, opus_*…) a filter with an unsupported value (gender or age in GET /voices), an out-of-range seed, a non-integer page_size or days, an invalid date or an unsupported tag. The message names the field.
429
Plan limit exceeded (requests per minute, concurrent generations or characters per hour) or access temporarily blocked. Honor the Retry-After header.
500
Internal error. Retry; if it persists, contact support.
502
Generation failed, came back empty or truncated, or content marking could not complete. Nothing is deducted. Retry.
503
The voice service is at capacity or unavailable, content moderation or the admission system is not responding, the audio cannot be delivered marked right now (content_marking_unavailable) or the sound effects cannot be prepared right now (sound_effects_unavailable). If Retry-After is present, wait that many seconds before retrying.