{"name":"text-to-speech","description":"Generate a hosted audio URL each time an updated script needs the same narrator. Send up to 4,000 characters with a voice, model, speed, and mp3, wav, opus, aac, or flac format; receive audio_url, file size, content type, and the settings used. Save the selected voice settings with your script to produce another narration in the same style. The default Kokoro route uses Morpheus primary with Venice fallback and fal.ai storage. Use it as a text-to-speech API, repeatable narration API, script-to-audio service, or accessibility read-aloud.","price":"$0.05","method":"POST","input_schema":{"properties":{"text":{"type":"string","maxLength":4000,"description":"Text to synthesize, up to 4,000 characters."},"voice":{"type":"string","description":"Model-specific voice ID. Default af_sky; onyx maps to the Kokoro am_onyx voice."},"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."},"format":{"type":"string","enum":["mp3","wav","opus","aac","flac"],"description":"Audio format. Default mp3."}},"required":["text"]},"input_example":{"text":"Hello, this is a test of the speech synthesizer.","voice":"af_sky","format":"mp3"},"output_example":{"audio_url":"https://...mp3","file_size_bytes":24000,"format":"mp3","source":"morpheus"},"x402_payment_required":true,"x402_facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}