PeumeAPI

AI generation

Text to Speech

Lifelike speech from text, Voice 1.

From $0.006 per call

Call it

curl https://api.peume.com/v1/call/text-to-speech-2 \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "voice_id": "your voice id",
    "text": "your text",
    "model": "example-voice-1"
  }
}'

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

Parameters

voice_idRequiredstring

Voice to speak with: a public voice id from /voices, or a voice you cloned via /voices/clone.

textRequiredstring

Plain text to speak, 1–5000 characters (no SSML).

languagestring

Language code of the text, e.g. en, es, ja. Omit to detect it from the text; a wrong code gives speech with that language's accent.

expressiveness_boostnumber

0.0–1.0, default 1.0. recommends 0.5 for the closest match to a cloned speaker.

with_timestampsboolean

true adds original_characters and original_words: the start and end time of each character and word, for captions. Free.

modelstring

heygen-voice-1 (default; best quality, $0.03 per 1,000 characters) or heygen-voice-1-turbo (faster, $0.004 per 1,000).

heygen-voice-1 · heygen-voice-1-turbo

Example: example-voice-1

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.