{"uid":"cap_TSnJWvkYUniYBW6LpT6sr","slug":"onchain-router-text-to-speech-elevenlabs-flash-v2-5-7e0f49ca","name":"Onchain Router – Text-to-Speech (ElevenLabs Flash v2.5)","description":"Text-to-speech generation · 24-hour encrypted capability URL · 0% service fee launch promotion","url":"https://llm.agenticfi.wtf/v1/audio/speech","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"string","maxLength":2000,"minLength":1},"model":{"enum":["elevenlabs/flash-v2.5"],"type":"string"},"speed":{"type":"number","maximum":1.2,"minimum":0.7,"multipleOf":0.001},"voice":{"enum":["darian","talia","elara","baxter","eldrin","kellan","elowen","kaelen","lawrence","alicia","maisie","warren","jade","eddie","caleb","sawyer","finley","florence","wyatt","bella"],"type":"string","description":"Optional public alias; omission uses the selected model's default voice."},"response_format":{"enum":["mp3"],"type":"string"}}},"responseSchema":{"type":"json","example":{"id":"spch_example","data":[{"url":"https://llm.agenticfi.wtf/v1/media/audio/example?access=capability"}],"model":"elevenlabs/flash-v2.5","usage":{"input_characters":19}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_SVexyQeY8X5Gqu12GPGLc","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts text input to MP3 audio using ElevenLabs Flash v2.5, routed through a provider-neutral API with per-request USDC micropayment and durable on-chain receipt.","exampleAgentPrompt":"Read this aloud in the 'darian' voice at normal speed and give me an MP3: 'Welcome to our weekly product update. Here's what's new this sprint.'","exampleUseCases":[{"title":"Podcast narration from script","prompt":"Turn this script into a spoken MP3 using the 'florence' voice at 1.0 speed: 'Today on TechBrief, we cover the latest in AI hardware, open-source breakthroughs, and startup funding rounds.'"},{"title":"Accessibility audio for article","prompt":"Generate an audio version of this article intro in the 'alicia' voice so visually impaired readers can listen: 'Climate scientists released a new report today showing a record decline in Arctic sea ice for the third consecutive year.'"},{"title":"Voiceover for product demo","prompt":"Synthesize a voiceover using the 'baxter' voice at 0.9 speed for our product demo: 'Onchain Router lets you call any AI model and pay only for what you use, with a receipt stored on-chain every time.'"}],"resultDescription":"Returns a JSON object containing a speech ID, a time-limited signed URL pointing to the generated MP3 audio file, the model used, and a character usage count. The agent can pass the URL to a media player or downstream pipeline.","failureModes":["Input text exceeds 2000 characters — validation error returned","Speed value outside 0.7–1.2 range or not a multiple of 0.001 — schema validation failure","Invalid voice alias not in enum — rejected at input validation","Insufficient USDC balance for micropayment — 402 Payment Required before processing","Audio URL may expire after a short TTL — agent must retrieve or cache promptly","Model enum mismatch if additional models added later — currently only 'elevenlabs/flash-v2.5' supported"],"whenToPreferThis":"Choose this endpoint when you need reliable, low-latency ElevenLabs-quality TTS with a specific named voice, want to pay per request in USDC without a monthly subscription, or require an auditable on-chain payment receipt. Prefer it over direct ElevenLabs API calls when operating in a crypto-native or agent payment infrastructure using x402. Not suited for batch processing of large documents or streaming real-time audio.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T17:27:33.462Z","isFirstParty":false}