{"uid":"cap_zq-_8bvFYIsresu0Pa8H4","slug":"elevenlabs-text-to-speech-via-locus-x402-49630eb8","name":"ElevenLabs Text-to-Speech via Locus x402","description":"Locus public pay-per-use API","url":"https://elevenlabs.x402.paywithlocus.com/elevenlabs/tts?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string"},"model_id":{"type":"string"},"voice_id":{"type":"string"},"output_format":{"type":"string"},"voice_settings":{"type":"object","additionalProperties":true}}},"responseSchema":{"type":"json","example":{"data":{},"payment":{"scheme":"exact","settledUsdc":"0.001000","authorizedMaxUsdc":"0.001000"},"request":{"id":"00000000-0000-4000-8000-000000000000","statusUrl":"/requests/00000000-0000-4000-8000-000000000000"},"success":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":1,"rating":{"score":"0.08","successRate":"0.00","reviews":1,"stars":"1.3","state":"rated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_U41CZu5kbDkHrZpzC5WZJ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts text to natural-sounding speech audio using ElevenLabs Flash, Turbo, or Multilingual models, billed per call via x402 micropayment.","exampleAgentPrompt":"Can you turn this ad script into a spoken voiceover using the ElevenLabs Flash model — use voice ID 21m00Tcm4TlvDq8ikWAM and give me an MP3: 'Discover the future of sound. ElevenLabs — voices that feel real.'","exampleUseCases":[{"title":"Ad voiceover for marketing campaign","prompt":"Convert this ad copy into an MP3 voiceover using the eleven_flash_v2_5 model and voice ID 21m00Tcm4TlvDq8ikWAM: 'Summer sale is here — shop now and save up to 50% on all styles.'"},{"title":"Multilingual narration for global audience","prompt":"Synthesize this Spanish product description into audio using the eleven_multilingual_v2 model and voice ID AZnzlk1XvdvUeBnXmlld, output as mp3_44100_128: 'Descubre nuestra nueva colección de temporada.'"},{"title":"Podcast intro with custom voice style","prompt":"Generate a spoken podcast intro from this text using voice ID EXAVITQu4vr4xnSDxMaL and the eleven_turbo_v2_5 model with high stability and similarity settings: 'Welcome to The Daily Brief — your five-minute morning news roundup.'"}],"resultDescription":"Returns a JSON response confirming success, along with payment settlement details (0.001 USDC), and a request ID with a status URL for tracking. The synthesized audio data is included in the response data field.","failureModes":["Invalid or unknown voice_id returns an error","Unsupported model_id value causes request rejection","Payment failure or insufficient USDC balance blocks the call","Text input too long may exceed model limits","Invalid output_format value causes schema validation error","Network timeout on audio rendering for long texts"],"whenToPreferThis":"Choose this endpoint when you need fast, high-quality text-to-speech with ElevenLabs' Turbo or Flash models (low latency) or Multilingual v2 (broad language support), and want per-call micropayment billing via x402 with no subscription overhead. Ideal for ad voiceovers, content pipelines, and agents that generate audio on demand without managing ElevenLabs API keys directly.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":1,"lastUsedAt":"2026-08-17T04:43:37.552Z","lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:35:49.278Z","isFirstParty":false,"canonicalSlug":"elevenlabs-text-to-speech-via-locus-x402-49630eb8"}