{"uid":"cap_dfIczKKRSVG37glmCOvM1","slug":"treza-labs-text-to-speech-elevenlabs-db39a596","name":"Treza Labs Text-to-Speech (ElevenLabs)","description":"Text to speech: send text, get a natural voiceover MP3 back in the same response. ElevenLabs Eleven v3 (expressive, takes [whispers]-style directions) or Multilingual v2 (29 languages), a choice of ElevenLabs narrators, up to 3000 characters, $0.42 per 1,000 characters. GET this URL for the voices. No account or API key: the payment is the only credential.","url":"https://www.trezalabs.com/api/x402/speech?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["text"],"properties":{"text":{"type":"string","maxLength":3000,"description":"What to say."},"async":{"type":"boolean","default":false,"description":"true: answer 202 with a statusUrl at once."},"model":{"enum":["eleven-v3","eleven-multilingual-v2"],"type":"string","default":"eleven-v3"},"voice":{"enum":["george","daniel","callum","alice","lily","brian","adam","asher","archie","mark","piper","rachel","charlie"],"type":"string","default":"george"}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"audio":"https://www.trezalabs.com/api/media/generated/x402_speech/1a2b3c4d.mp3?s=...&c=...","model":"eleven-v3","runId":"2026-09-23T18:04:11.000Z#1a2b3c4d","voice":"george","status":"success","paidUsd":0.04,"statusUrl":"https://www.trezalabs.com/api/x402/speech?runId=...&token=...","characters":84,"transaction":"0x..."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.35","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":1,"rating":{"score":"0.92","successRate":"1.00","reviews":1,"stars":"4.7","state":"rated"},"availabilityStatus":"healthy","priceObserved":{"p10Cents":"13.4000","medianCents":"35.0000","p90Cents":"35.0000","minCents":"13.4000","maxCents":"35.0000","p95Cents":"35.0000","sampleCount":3,"varies":false,"failureChargeRate":null},"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.35/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1hsneh9wrk-7hMX8LNET0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts text (up to 3000 characters) into a natural-sounding MP3 voiceover using ElevenLabs Eleven v3 or Multilingual v2, with 13 voice choices, returned in the same response.","exampleAgentPrompt":"Read this out loud in the 'lily' voice using the expressive eleven-v3 model: 'Welcome to our annual summit. We're thrilled to have you here today — let's make this a morning to remember.'","exampleUseCases":[{"title":"Podcast intro narration","prompt":"Turn this script into a voiceover using the 'brian' voice and the eleven-v3 model: 'Today on The Deep Dive, we're unpacking the science of sleep — why you need it, why you're not getting enough, and what to do about it.'"},{"title":"Multilingual product announcement","prompt":"Generate a Spanish-language voiceover using eleven-multilingual-v2 and the 'alice' voice for this text: 'Presentamos nuestro nuevo producto revolucionario, disponible ahora en toda Latinoamérica.'"},{"title":"Audiobook chapter narration","prompt":"Convert this passage to audio with the 'george' voice using eleven-v3: 'The old lighthouse stood at the edge of the cliff, its beam sweeping the fog in slow, patient arcs. No one had lived there for thirty years, yet every night the light still turned.'"}],"resultDescription":"A binary MP3 audio file returned directly in the HTTP response body, containing the synthesized speech of the provided text in the selected voice and model. The audio is ready to play, save, or pipe into downstream processing immediately.","failureModes":["Text exceeds 3000 character limit — request rejected","Invalid voice or model enum value — validation error","Payment not included or insufficient USDC — 402 response","Empty text field — required field validation failure","Service unavailable from ElevenLabs backend — 5xx error"],"whenToPreferThis":"Choose this endpoint when you need a high-quality, expressive AI voice narration returned synchronously as an MP3 in a single API call, without managing an ElevenLabs account or API key. It is ideal for agents that need quick one-off voiceovers, multilingual narration across 29 languages, or expressive speech with inline direction cues like [whispers]. Prefer it over raw ElevenLabs integration when you want pay-per-use USDC micropayments with no subscription overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":3,"lastUsedAt":"2026-10-02T15:57:33.636Z","lastSuccessfullyRanAt":"2026-10-02T15:57:33.636Z","lastHealthCheckAt":"2026-10-02T15:45:35.395Z","isFirstParty":false,"canonicalSlug":"treza-labs-text-to-speech-elevenlabs-db39a596"}