> ## Documentation Index
> Fetch the complete documentation index at: https://doc.rapida.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Cartesia

> Cartesia provides advanced voice AI solutions with both speech-to-text and text-to-speech capabilities.

## Getting Started

To integrate Cartesia with your Rapida application for speech-to-text (STT) and text-to-speech (TTS) capabilities, follow these steps:

## Supported Models

### Speech-to-Text Models

| Model Name         | Language     | Description                              |
| ------------------ | ------------ | ---------------------------------------- |
| Sonic English      | English      | High-accuracy English speech recognition |
| Sonic Multilingual | Multilingual | Support for multiple languages           |

### Text-to-Speech Models

| Model Name | Features                    | Best For                             |
| ---------- | --------------------------- | ------------------------------------ |
| Bark       | Expressive speech synthesis | Natural-sounding voices with emotion |
| Tortoise   | High-quality TTS            | Professional voice applications      |
| Sonic XL   | Ultra-realistic voices      | High-fidelity voice synthesis        |

### Supported Languages for STT

* English (US, UK, Australian variants)
* Spanish, French, German
* Mandarin, Japanese, Korean
* And more

### Supported Languages for TTS

Cartesia supports 20+ languages for text-to-speech synthesis with multiple voice options.

## Prerequisites

* Have a Cartesia account (sign up at [https://cartesia.ai](https://cartesia.ai))
* Navigate to your API dashboard
* Generate an API key
* Copy the API key (make sure to save it securely)

# Setting Up Provider Credentials

<Steps>
  <Step title="Access the Integrations Page">
    <img src="https://mintcdn.com/rapidaai/iFtJHOhZE0HHFT_Q/images/integration/providers/providers-and-models.png?fit=max&auto=format&n=iFtJHOhZE0HHFT_Q&q=85&s=1aa112ebaf44541a92bcac925df62cf8" alt="Integrations Page" width="3600" height="2024" data-path="images/integration/providers/providers-and-models.png" />

    Navigate to the "Integration > Models" page to access voice service providers.
  </Step>

  <Step title="Select Cartesia">
    On the Integrations page, find the Cartesia provider card.

    Click the "Setup Credential" button for Cartesia.
  </Step>

  <Step title="Create Provider Credential">
    A modal window will appear titled "Create provider credential". Follow these steps:

    1. Select "Cartesia" from the dropdown (if not already selected)
    2. Enter a Key Name: Assign a unique name to this provider key for easy identification
    3. Enter the API Key: Input your Cartesia API key
    4. Click "Configure" to save the credential
  </Step>

  <Step title="Verify Credential Setup">
    After setting up the credential, you can verify it's been added:

    1. The Cartesia provider card should now show "Connected"
    2. If you click on the provider, you'll see a "View provider credential" modal
    3. This modal displays the credential name, when it was last updated, and options to delete or close
  </Step>
</Steps>

Your Cartesia provider credential is now set up for voice AI integration.

## Integration Features

* **Unified Platform**: Both STT and TTS in one platform
* **High-Quality Audio**: Professional-grade voice synthesis
* **Real-time Processing**: Low-latency speech processing
* **Multiple Languages**: Comprehensive language support
* **Voice Customization**: Create custom voices and speaking styles
* **Streaming Support**: Real-time streaming for both STT and TTS

For more information, visit the [Cartesia documentation](https://www.cartesia.ai/).
