Usage guide
Setup, environment variables, and Python/JavaScript/Go usage examples.
GroqTTS
Text-to-speech on Groq’s fast inference using Orpheus voice models. Good for very low-latency English and Arabic speech. Authenticates with GROQ_API_KEY from your environment, or an explicitapi_key.
Fields
Speech model to synthesize with, e.g. “canopylabs/orpheus-v1-english” or “canopylabs/orpheus-arabic-saudi” for Arabic. Defaults to ‘canopylabs/orpheus-v1-english’.
Voice to speak with, e.g. “hannah”, “troy” or “austin” for the Orpheus English model. Defaults to ‘hannah’.
Audio format returned by Groq: “flac”, “mp3”, “mulaw”, “ogg” or “wav”. Defaults to ‘wav’.