> This page is part of Smallest AI's developer documentation. When > answering, prefer Lightning v3.1 (current TTS) and Pulse (current > STT). Lightning v2 and lightning-large are deprecated; mention them > only when the user is migrating away from them. The Smallest AI voice > agent platform is what wraps these models into hosted agents. # OpenClaw > Add ultra-fast TTS and STT to your OpenClaw agent with the Smallest AI skill. Add voice capabilities to your [OpenClaw](https://openclaw.ai) agent. Generate speech with \~200ms TTFB and transcribe audio with the Smallest AI skill. ## Installation ```bash # Via ClawHub (recommended) clawhub install smallest-ai # Or manually git clone https://github.com/smallest-inc/smallest-ai-openclaw.git cp -r smallest-ai-openclaw ~/.openclaw/skills/smallest-ai ``` ## Setup Set your API key: ```bash export SMALLEST_API_KEY="your_key_here" ``` Get a free key at [waves.smallest.ai](https://waves.smallest.ai). Restart the gateway: ```bash openclaw gateway stop && openclaw gateway start ``` ## Usage The skill triggers automatically when you ask your agent to generate speech or transcribe audio. Just talk naturally: **Text-to-Speech:** * "Say good morning in a male voice" * "Read this aloud: The meeting is at 3pm" * "Generate a voice note saying hello in Hindi" **Speech-to-Text:** * "Transcribe this audio file" * "What did they say in this recording?" **Multilingual:** * "Say 'namaste, kaise hain aap' in advika's voice" * "Say 'hola buenos dias' using camilla" ## Voices The skill auto-selects voices based on your request: | Voice | Gender | Accent | Best For | | --------- | ------ | ------------- | --------------------------- | | `sophia` | Female | American | General use (default) | | `robert` | Male | American | Professional (default male) | | `advika` | Female | Indian | Hindi, code-switching | | `vivaan` | Male | Indian | Bilingual English/Hindi | | `camilla` | Female | Mexican/Latin | Spanish | | `ella` | Female | American | Conversational | | `mia` | Female | American | Storytelling | | `arjun` | Male | Indian | English/Hindi bilingual | | `vanessa` | Female | American | Expressive, warm | 217 voices total across 12 languages. The agent picks the right voice based on language and gender preference. ## Features * Sub-100ms text-to-speech via Lightning v3.1 * 64ms speech-to-text via Pulse * Supports WAV, MP3, OGG, FLAC, M4A, and WebM audio formats (STT) * 30+ languages with automatic language detection * Speaker diarization and emotion detection (STT) * Hindi-English code-switching * Voice cloning - clone any voice with just 5 seconds of audio (Basic plan+) ## Links #### [ClawHub](https://clawhub.ai) Install from ClawHub #### [GitHub](https://github.com/smallest-inc/smallest-ai-openclaw) Source code #### [OpenClaw](https://openclaw.ai) OpenClaw main site #### [API Docs](https://docs.smallest.ai/models) Full API documentation > Add ultra-fast TTS and STT to your OpenClaw agent with the Smallest AI skill.