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
- Go to the Cartesia Playground.
- Log in or create an account.
- Open the API Keys page.
- 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
- In Reflex Build, open the Integrations tab and select the Cartesia card.
- Click Add connection and paste your API key into CARTESIA_API_KEY.
- 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.