{"uid":"cap_00uUhm-lA8IggsvLT02nd","slug":"x402-deployer-x402-deployer-workers-dev-0dcc3ad7","name":"x402-deployer Text-to-Speech (TTS) Voice Generator","description":"Text to speech / TTS / voice generator. Venice TTS (Kokoro / xAI / ElevenLabs / Orpheus / MiniMax / Gemini). 30+ voices, 6 audio formats. Returns hosted MP3 URL.","url":"https://x402-deployer.x402-deployer.workers.dev/text-to-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":{"required":["text"],"properties":{"text":{"type":"string","maxLength":4000,"description":"Text to synthesize, up to 4,000 characters."},"model":{"type":"string","description":"TTS model ID. Default tts-kokoro; the voice must be compatible with the selected model."},"speed":{"type":"number","description":"Playback speed from 0.25 to 4. Default 1."},"voice":{"type":"string","description":"Model-specific voice ID. Default af_sky; onyx maps to the Kokoro am_onyx voice."},"format":{"enum":["mp3","wav","opus","aac","flac"],"type":"string","description":"Audio format. Default mp3."}}},"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","properties":{"format":{"type":"string"},"source":{"type":"string"},"audio_url":{"type":"string"},"file_size_bytes":{"type":"integer"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":1,"rating":{"score":"0.00","successRate":"0.00","reviews":1,"stars":null,"state":"rated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_dh7ExogrqCq93xyeYXetF","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts text to speech using multiple TTS engines (Kokoro, xAI, ElevenLabs, Orpheus, MiniMax, Gemini) with 30+ voices and 6 audio formats, returning a hosted MP3 URL.","exampleAgentPrompt":"Can you turn this paragraph into spoken audio using an expressive female voice: 'Welcome to our quarterly product update. This release includes major performance improvements and three new features.' — I'd like an MP3 I can share.","exampleUseCases":null,"resultDescription":"Returns a hosted MP3 URL pointing to the generated audio file. The audio contains the input text spoken by the selected voice using the chosen TTS engine. The URL can be shared or embedded directly.","failureModes":["Text input missing or empty — returns 400 error","Invalid or unsupported voice name — returns error with available voices","Unsupported audio format specified — returns 400 with supported formats list","TTS engine temporarily unavailable — returns 503 or upstream error","Text too long for single request — may return 413 or truncate","Payment not included or invalid — returns 402 Payment Required"],"whenToPreferThis":"Prefer this endpoint when you need hosted audio output (a URL you can share) rather than a raw audio stream, when you want access to multiple TTS engine options (ElevenLabs, Kokoro, Gemini, etc.) in a single API, or when you need broad voice variety (30+) across engines without managing multiple API keys. Ideal for agents needing a quick, pay-per-call TTS without subscription overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":2,"lastUsedAt":"2026-06-30T12:21:36.283Z","lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T06:44:42.669Z","isFirstParty":false,"canonicalSlug":"x402-deployer-x402-deployer-workers-dev-0dcc3ad7"}