Skip to main content

Adding Models

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

Select Cartesia as the provider

From the TrueFoundry dashboard, go to AI Gateway > Models, click Add Model and choose To New Provider Account. Select Cartesia from the provider list.
Add Provider Account page listing the supported model providers

Choose a provider in Add Provider Account

2

Add Cartesia Account Details

Enter a unique account name and your Cartesia API Key. Select the Cartesia Version API version (2024-06-10, 2024-11-13, or 2025-04-16, which is the default), and optionally set a custom Base URL.
Cartesia Configure Account form in the provider account setup drawer

Configure Account for Cartesia

3

Add Models

Click Add Model Manually and fill in the Display name, Model ID, and Model type.
Setup Cartesia account and manage models with ink-2 and sonic-3.5 model configuration

Setup Cartesia account and manage models

For Cartesia, the Model ID and Display name must be identical.
4

Save and grant access

Click Test Credentials to check the account against the selected models, or click Save without Testing. To keep the account in Git instead, click Apply using YAML and apply the generated spec with tfy apply.To let other users, teams or virtual accounts use or manage these models, open Manage Accounts, click ⋮ on the account and choose Access Control > Grant Access. See Access control.

Inference

Once models are added, use the Cartesia Native SDK to call TTS and STT endpoints. Code Snippet and Try in Playground Buttons for Cartesia models