Skip to main content
Cartesia is a text-to-speech plugin. It turns the LLM’s reply into audio the caller hears.

Setup

Set your Cartesia API key in the worker environment. Generate a key from the Cartesia dashboard:

Usage

Import the plugin and pass it to the pipeline’s tts slot.

Parameters

Constructor parameters for the Python SDK (CartesiaTTS). The JavaScript and Go SDKs expose equivalent options where supported, in their idiomatic form (camelCase / TTSOptions struct).

Import paths

Spoken replies support interruptions. When the caller talks over the agent, the runtime stops the audio and listens again.