YepAPI

Command Palette

Search for a command to run...

NEW MODELAugust 6, 2026·New Model

Text to speech is live — 19 voice models from $0.0014 per 1,000 characters

Nineteen speech models on the /v1/media/queue endpoint you already use — billed on the text you send, not on audio minutes.

We have just added text to speech to YepAPI — 19 models, no new endpoint to learn. Microsoft's [MAI-Voice-2](/ai-api/microsoft/mai-voice-2) is the current #1 on the design-arena speech leaderboard; [Deepgram Aura-2](/ai-api/deepgram/aura-2) ships 90 named voices across seven languages; Mistral's [Voxtral Mini TTS](/ai-api/mistralai/voxtral-mini-tts) makes emotion a voice ID rather than a prompt; [Gemini 3.1 Flash TTS](/ai-api/google/gemini-3.1-flash-tts) covers 70+ languages with 200+ inline audio tags; [Fish Audio S2.1 Pro](/ai-api/fish-audio/s2.1-pro) clones a voice from a single sample with no enrolment step; and [Kokoro 82M](/ai-api/hexgrad/kokoro-82m) does 54 voices across 8 languages for $0.0014 per 1,000 characters. It is the same call you already make: `POST /v1/media/queue`, then poll `GET /v1/media/status/{jobId}` — same `yep_sk_` key, same `{ ok, data }` envelope.

What's new

  • MAI-Voice-2 and MAI-Voice-2 Flash — Microsoft's expressive speech across 15 languages and 18 locales
  • Deepgram Aura-2 with 90 named voices spanning English, Spanish, French, German, Italian, Dutch and Japanese
  • Voxtral Mini TTS — 30 emotion-tagged voices, so `en_paul_angry` and `en_paul_happy` are the same speaker with different delivery
  • Gemini 3.1 Flash TTS — 70+ languages and 200+ inline audio tags for directing delivery mid-sentence
  • Fish Audio S2.1 Pro — stateless voice cloning from a single reference sample, nothing stored
  • Kokoro 82M at $0.0014/1K characters — cheap enough to narrate every article you publish
  • Grok Voice, Qwen TTS Flash & Plus, MiniMax Speech 2.8 HD & Turbo, Orpheus 3B, Sesame CSM 1B and Zonos round out the range
  • Billed on input length, not audio duration — the cost is known before synthesis starts

What's new

Nineteen text-to-speech models, spanning three useful tiers. At the top, MAI-Voice-2, MiniMax Speech 2.8 HD and Gemini 3.1 Flash TTS for production narration where quality is the constraint. In the middle, MAI-Voice-2 Flash, Aura-2, Voxtral, Grok Voice, Qwen TTS and the Fish Audio family for voice agents and everyday synthesis. At the bottom, Kokoro, Orpheus, Sesame CSM and Zonos — cheap enough that narrating your entire content library stops being a budget decision. Two capabilities stand out: Fish Audio S2.1 Pro clones a voice from a single sample attached to the request, and Voxtral turns emotion into a voice ID so the same line reads angry or cheerful without prompt engineering.

How to call them

Nothing changes in how you integrate. Submit the text to `/v1/media/queue`, then poll `/v1/media/status/{jobId}` until it reports `completed` and read the base64 audio out of `result.audio`. Pick a voice with `options.voice` — every model has a default if you omit it — and MP3 comes back unless you ask for `pcm`.

curl -X POST https://api.yepapi.com/v1/media/queue \
  -H "x-api-key: $YEPAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "microsoft/mai-voice-2",
    "prompt": "Your report finished processing overnight.",
    "options": { "voice": "en-US-Harper:MAI-Voice-2" }
  }'

Voice cloning without an enrolment step

Fish Audio S2.1 Pro supports stateless cloning: attach a short reference sample as `audioData` and the generated speech mimics that voice. There is no voice to create, upload, name, or delete beforehand — the sample travels with the request and nothing is retained. Add `options.referenceText` with the sample's transcript to improve fidelity.

curl -X POST https://api.yepapi.com/v1/media/queue \
  -H "x-api-key: $YEPAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "fish-audio/s2.1-pro",
    "prompt": "This line is spoken in the cloned voice.",
    "audioData": { "mimeType": "audio/mpeg", "base64": "..." },
    "options": { "referenceText": "I used to rule the world." }
  }'

Pricing

Speech is billed on the length of the text you send, in UTF-8 bytes — for English, one byte is one character. That means the cost is known before synthesis starts, so the balance check at submit time quotes the exact final charge rather than an estimate. Rates run from $0.0014 per 1,000 characters (Kokoro 82M) to $0.2110 (MiniMax Speech 2.8 HD), with a $0.01 minimum per job. It comes out of the same prepaid balance as your text, image, video, SEO and scraping calls — no subscriptions, no character bundles, no minimum commitment.

Give your app a voice

Grab an API key and synthesise your first line in under a minute. $5 free credit on signup, no card required — that is over three million characters on Kokoro.

Browse the speech models