For AI agents: the complete documentation index is at llms.txt. Remove the trailing slash from a page URL and append .md to read its Markdown version. For the docs home, use index.md.

Cartesia Integration

The Cartesia Integration allows your app to generate high-quality, realistic speech from text using Cartesia’s advanced voice models. Once connected, you can easily add real-time voice capabilities to workflows, user interactions, and automated experiences.

Step 1: Obtain a Cartesia API Key

  1. Go to the Cartesia Playground.
  2. Log in or create an account.
  3. Open the API Keys page.
  4. Click New, give it a descriptive name (e.g., “AI Builder”), and copy it.
    • Example: sk_car_xxxxxxxxxxxxx

Step 2: Configure the Integration in Your App

  1. In Reflex Build, open the Integrations tab and select the Cartesia card.
  2. Click Add connection and paste your API key into CARTESIA_API_KEY.
  3. Click Connect to save the connection.

Once connected, your app can convert text to speech seamlessly in real time or through workflows.

Step 3: Notes

  • Secure API Access: Keep your Cartesia API key safe. Do not hardcode it in public code.
  • Environment isolation: Use different keys for dev, staging, and production to ensure clean separation.
  • Low latency: Cartesia supports real-time streaming for conversational experiences.
  • Usage management: Monitor your Cartesia dashboard for quotas, billing, and usage insights.