Skip to content
Fourohtwo

Text to speech (AI voice generation)

www.trezalabs.com/api/x402/speech

Text to speech (AI voice generation): send text, get a natural ElevenLabs voiceover MP3 back in the same response. Use it when an agent needs narration, a voiceover for a video, or a spoken version of text. Eleven v3 (expressive, takes [whispers]-style directions and an emotion) or Multilingual v2 (29 languages), a choice of ElevenLabs narrators, adjustable pitch and volume, up to 3000 characters,

SolanaUnchecked
POSThttps://www.trezalabs.com/api/x402/speech

UptimeNot checked yet

30 days agoToday

Call it from an agent

curl -i -X POST -H 'content-type: application/json' "https://www.trezalabs.com/api/x402/speech" \
  -d '{"text":"Welcome back. Today we are looking at three small habits that make a big difference.","model":"eleven-v3","voice":"george"}'

# 402 Payment Required comes back with the price and where to pay.

Example input

{
  "text": "Welcome back. Today we are looking at three small habits that make a big difference.",
  "model": "eleven-v3",
  "voice": "george"
}

Price changes

  • Nov 25, 20260.04 → 0.02

More from Treza