{"uid":"cap_1my40KyCJhNZY8yCXzyrY","slug":"autopilot-studio-text-to-speech-478173c2","name":"Autopilot Studio Text-to-Speech","description":"AI-made art, prompts, stories and guides — fresh every day.","url":"https://autopilot-studio.kariguetoazul.workers.dev/v1/tts?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"lang":{"enum":["en","es","fr","zh","jp","kr"],"type":"string"},"text":{"type":"string","description":"text to speak (max 600 chars)"}}},"responseSchema":{"type":"json","example":{"lang":"en","audio":"<base64 WAV, 16-bit PCM 44.1 kHz>","chars":53,"model":"melotts","mimeType":"audio/wav"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZHMF7HTS4M_ortdAnfxlh","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts text (up to 600 characters) into a base64-encoded WAV audio file using the MeloTTS model, supporting six languages.","exampleAgentPrompt":"Can you turn this text into spoken audio in English using MeloTTS: 'Welcome to Autopilot Studio, your daily source of AI-generated art and stories.'","exampleUseCases":[{"title":"Multilingual podcast intro narration","prompt":"Convert this French intro text into spoken audio: 'Bienvenue dans notre émission quotidienne sur l'intelligence artificielle.' I need it as a WAV file."},{"title":"Accessibility audio for written content","prompt":"Read aloud this short English paragraph as audio so I can add it to my article: 'AI is transforming creativity in ways we never imagined possible.'"},{"title":"Spanish voiceover for a guide","prompt":"Generate a Spanish voice recording of this sentence for my tutorial: 'Este es tu guía diario de arte e historias creadas por inteligencia artificial.'"}],"resultDescription":"Returns a JSON object containing the language code used, a base64-encoded WAV audio file (16-bit PCM at 44.1 kHz), the number of characters processed, the model name ('melotts'), and the MIME type ('audio/wav'). The agent must decode the base64 string to obtain a playable WAV file.","failureModes":["Text exceeds 600 characters — likely returns an error or truncation","Unsupported language code passed outside of [en, es, fr, zh, jp, kr] — validation error","Empty text input — may return an error or silent audio","Network timeout on Cloudflare Worker — transient 502/503 error","Payment failure via x402 protocol — 402 response, audio not returned"],"whenToPreferThis":"Choose this endpoint when you need lightweight, multilingual text-to-speech synthesis returning a base64 WAV file, especially for short texts (under 600 chars) in English, Spanish, French, Chinese, Japanese, or Korean. It is cost-effective at $0.01 per call via x402 and runs on Cloudflare Workers for low-latency global access. Prefer it for quick narration, accessibility overlays, or voice snippets rather than long-form audiobook generation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T18:39:17.067Z","isFirstParty":false,"canonicalSlug":"autopilot-studio-text-to-speech-478173c2"}