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,
POST
https://www.trezalabs.com/api/x402/speechUptimeNot 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
- www.trezalabs.com/api/x402/clipClip a YouTube video: send a link, get its most shareable 30 to 60 second moment back as a captioned clip, cut on the speaker in 9:16 (or 4:5, 1:1, 16:9), with a title and caption to post it with. Priced by the source's length, from $0.04 (about $0.45 for an hour), up to 2 hours. No account or API key: the payment is the only credential.0.05
- www.trezalabs.com/api/x402/imageImage generation: a prompt in, one image back in the same response. 7 models including Google Nano Banana and Nano Banana Pro, OpenAI GPT Image 2, Seedream 5.0 Pro and FLUX.2 Pro, square to 21:9, up to 4K, from $0.02. GET this URL for every model and price. No account or API key: the payment is the only credential.0.06
- www.trezalabs.com/api/x402/musicMusic generation: describe a track, get an original piece back in the same response. Google Lyria 3: a 30-second clip ($0.06) or a full song ($0.12). No account or API key: the payment is the only credential.0.12
- www.trezalabs.com/api/x402/shortNarrated short video from a topic: a finished 30-second vertical (9:16) video with a written script, four scenes, an ElevenLabs narrator, a music bed, captions and callouts, plus a title and description. Animated scenes (Veo 3.1 Lite) $3.22, or stills $0.87. No account or API key: the payment is the only credential.0.87
- www.trezalabs.com/api/x402/videoGenerate a video from a text prompt, or animate an image_url from its first frame. The paid response waits about as long as the model usually takes to render and returns the video URL, else a statusUrl to poll (Prefer: wait=N sets the wait). 8 models including Google Veo 3.1, Kling 3.0, Seedance 2.5, Wan 2.7 and MiniMax Hailuo 3, 4 to 15 seconds, 16:9 or 9:16, from $0.42. GET this URL for every mo0.68
