Skip to main content
Use Cartesia with Agno Agents for generating text-to-speech and audio.

Prerequisites

  • Get an API key from https://play.cartesia.ai/keys and export it: export CARTESIA_API_KEY=your_api_key.
  • Run uv pip install cartesia openai to install the dependencies.
  • Export your OpenAI API key: export OPENAI_API_KEY=your_openai_api_key_here.

Run the Example

For details, see Cartesia cookbook.