PeumeAPI

AI generation

Text to Speech

Convert text to lifelike speech audio (MP3) with an ElevenLabs voice.

From $0.06 per call

Call it

curl https://api.peume.com/v1/call/text-to-speech-3 \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "text": "your text",
    "model_id": "eleven_v4",
    "voice_id": "21m00Tcm4TlvDq8ikWAM"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: text-to-speech-3.

Parameters

textRequiredstring

The text to convert to speech (1–5000 characters). Billed per character. Split longer texts into multiple runs.

model_idstring

TTS model: eleven_v4 (default — most expressive and most faithful to the voice, 80+ languages, audio tags), eleven_v4_turbo (same family at half price), eleven_multilingual_v2 (supports speed and style controls, 29 languages), eleven_flash_v2_5 (half price, fastest), or eleven_v3 (previous expressive model, 70+ languages).

eleven_v4 · eleven_v4_turbo · eleven_multilingual_v2 · eleven_flash_v2_5 · eleven_v3

Example: eleven_v4

voice_idstring

The ElevenLabs voice to speak with — pick a voice_id from /voices. An unknown or unauthorized id fails as a provider error (no charge).

Example: 21m00Tcm4TlvDq8ikWAM

voice_settingsobject

Optional voice tuning, passed through to ElevenLabs verbatim.

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.