Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Speakvora Voice Speak API
version: 0.3.0
description: 'Premium text-to-speech served from a CDN, so requests are
near-instant and cheap. One voice id can speak many languages (same identity), chosen per request.
STATUS: live. Endpoints marked x-status: planned do not exist yet.
PRIVACY FOR INTEGRATORS: catalog-voice audio (POST /v1/speak) is stored at public, unguessable URLs and may be reused, so do not send personal data through it. Custom-voice audio is private to your account (signed 5-minute links, kept 75 days after last use, then deleted) and may contain personalised text if you have the right to use it. Unresolved placeholders such as (name) are rejected.'
servers:
- url: https://speakvora.com/api
security:
- ApiKey: []
tags:
- name: Speak
paths:
/v1/speak:
post:
operationId: speak
summary: Speak a sentence (fast stream by default, or a stored clip url)
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/SpeakRequest'
examples:
basic:
value:
text: Thank you for calling. How can I help you today?
voice: easygoing-friend
lang: en
auto:
value:
text: Gracias por su paciencia.
voice: easygoing-friend
lang: auto
responses:
'200':
description: Clip ready
content:
application/json:
schema:
$ref: '#/components/schemas/SpeakResponse'
'202':
description: Another request is already generating this clip; retry after retry_after_ms. Never generated twice.
'400':
description: Text failed validation (empty
too long: null
placeholder left in: null
digits in a non-English language: null
unsupported characters): null
'401':
description: Missing or wrong API key
'404':
description: Unknown voice
'422':
description: Language unsupported for this voice (supported list returned)
cannot be detected (send lang): null
or clip failed quality checks: null
'503':
description: Engine unavailable; play a fallback voice. The request is not billed.
tags:
- Speak
/v1/speak#custom-voice:
post:
operationId: speakCustomVoice
summary: Same endpoint as /v1/speak, using a custom voice id (cv_...)
description: 'Custom-voice speech returns mp3 at $3 per 1M characters. Delivery styles were discontinued on 29 October 2026: a style other than neutral returns 422 style_not_available.'
responses:
'200':
description: Clip ready (signed link valid 5 minutes)
'422':
description: custom_voice_error or style_not_available
see detail: null
tags:
- Speak
components:
schemas:
SpeakRequest:
type: object
required:
- text
properties:
text:
type: string
maxLength: 500
description: One or more sentences. Whitespace and quote normalization is applied.
voice:
type: string
default: af_heart
description: A voice id from /v1/voices.
lang:
type: string
default: en
description: 'Language code (en, es, zh, hi, ja, ko, fr, de, pt, ar, ...) or ''auto''. ''auto'' is never guessed: if detection is unsure you get 422 cannot_detect_language.'
format:
enum:
- m4a
- mp3
default: m4a
category:
type: string
description: 'Optional: urgent | navigation | conversation | other. ''urgent'' lines are never composed from stored pieces.'
personality:
type: boolean
default: false
description: Allow nonverbal reactions such as [chuckle] where the voice supports them. Never applied to urgent lines.
visibility:
enum:
- public
- private
default: public
description: private clips are stored for you only and never placed on the public CDN.
stream:
type: boolean
default: true
description: 'Default true: a line that is not stored yet returns stream:true with a one-use stream_url, token and request id; POST the text to stream_url with ''authorization: Bearer <token>'' and play the raw 16-bit mono 24 kHz PCM as it arrives (about 50 to 100 ms to first audio on the Phonon voices). Send false to get a stored clip url instead. Requests with marks, or return=audio (the Polly, OpenAI and ElevenLabs compatible routes), always return a stored clip. A line that is already stored returns its url with stream:false either way.'
compose:
type: boolean
default: true
description: 'English only: build new sentences from stored clauses at zero generation cost; composed clips are flagged for review.'
SpeakResponse:
type: object
properties:
lang:
type: string
asset_id:
type: string
revision:
type: integer
status:
enum:
- approved
- review
description: review means a person has not yet signed it off (for example a new language awaiting native review).
url:
type: string
description: 'CDN URL (public) or short-lived signed URL (private). Public library and live catalog clips: immutable, cacheable for one year. Private custom-voice audio: a signed link valid for 5 minutes; the recording is kept 75 days after last use.'
format:
type: string
duration_s:
type: number
latency_s:
type: number
cost_usd:
type: number
description: Generation cost.
securitySchemes:
ApiKey:
type: apiKey
in: header
name: x-api-key
apiKey:
type: apiKey
in: header
name: x-api-key
description: Your account key.