Skip to main content
Enable Agno agents to generate text-to-speech with ElevenLabs.

Prerequisites

  • Install dependencies: uv pip install agno elevenlabs google-genai.
  • Export your ElevenLabs API key: export ELEVEN_LABS_API_KEY=your_api_key.
  • Export your Google API key: export GOOGLE_API_KEY=your_api_key.

Run the Example

For details, see Elevenlabs cookbook.