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

# Cartesia

> Add and configure Cartesia Models in TrueFoundry's AI Gateway

### Adding Models

Add Cartesia models to the AI Gateway and set up access in three steps.

<Steps>
  <Step title="Navigate to Cartesia Models in AI Gateway">
    In the TrueFoundry dashboard, go to **AI Gateway** → **Models** and select **Cartesia**.

    <Frame caption="Navigate to Cartesia Models">
      <img src="https://mintcdn.com/truefoundry/RTx06vti6Fjmrcp5/images/cartesia1.png?fit=max&auto=format&n=RTx06vti6Fjmrcp5&q=85&s=1fdd1a161f0c0dc7c33920fdcd6f4fed" alt="Navigating to Cartesia Provider Account in AI Gateway" width="1918" height="1037" data-path="images/cartesia1.png" />
    </Frame>
  </Step>

  <Step title="Add Cartesia Account Details">
    Click **Add Cartesia Account**. Enter a unique account name and your Cartesia **API Key**. Optionally add collaborators so other users or teams can use this account. See [Gateway access control](/docs/ai-gateway/gateway-access-control) for details.

    <Frame caption="Cartesia Model Account Form">
      <img src="https://mintcdn.com/truefoundry/RTx06vti6Fjmrcp5/images/cartesia2.png?fit=max&auto=format&n=RTx06vti6Fjmrcp5&q=85&s=1e8a533e705373680270a2894d311426" alt="Cartesia account configuration form with fields for API key and collaborators" width="993" height="1027" data-path="images/cartesia2.png" />
    </Frame>
  </Step>

  <Step title="Add Models">
    Click **+ Add Model** and fill in the **Display name**, **Model ID**, and **Model type**.

    <Frame caption="Setup Cartesia account and manage models">
      <img src="https://mintcdn.com/truefoundry/RTx06vti6Fjmrcp5/images/cartesia3.png?fit=max&auto=format&n=RTx06vti6Fjmrcp5&q=85&s=cf28edb2352fd4b25b524847df4e2d00" alt="Setup Cartesia account and manage models with ink-2 and sonic-3.5 model configuration" width="1332" height="1031" data-path="images/cartesia3.png" />
    </Frame>

    <Warning>
      For Cartesia, the **Model ID** and **Display name** must be identical.
    </Warning>
  </Step>
</Steps>

### Inference

Once models are added, use the **Cartesia Native SDK** to call TTS and STT endpoints.

<img src="https://mintcdn.com/truefoundry/RTx06vti6Fjmrcp5/images/cartesia4.png?fit=max&auto=format&n=RTx06vti6Fjmrcp5&q=85&s=820e0702c5fa44f1ea3f42fde93ddd57" alt="Code Snippet and Try in Playground Buttons for Cartesia models" width="1918" height="1037" data-path="images/cartesia4.png" />
