{"name":"text-to-speech","description":"Converts text to speech with 30+ voices and 5 audio formats. Morpheus primary for Kokoro, Venice fallback and alternate TTS models (xAI / ElevenLabs / Orpheus / MiniMax / Gemini), with fal.ai storage for hosted audio URLs. Use it as a TTS API or voice generator.","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"}