* Cartesia TTS for Patter pipeline mode. */
// Source: https://github.com/PatterAI/Patter | License: MIT | Copyright 2026 Patter Contributors
// Provided via justclaw.it.com; keep this notice with the code.
/** Cartesia TTS for Patter pipeline mode. */
import { CartesiaTTS as _CartesiaTTS, CartesiaTTSEncoding } from "../providers/cartesia-tts";
/** Constructor options for the Cartesia `TTS` adapter. */
export interface CartesiaTTSOptions {
/** API key. Falls back to CARTESIA_API_KEY env var when omitted. */
apiKey?: string;
model?: string;
voice?: string;
language?: string;
sampleRate?: number;
/** Audio encoding. Default `pcm_s16le`; `pcm_mulaw` @ 8 kHz = carrier-native. */
encoding?: CartesiaTTSEncoding;
speed?: string | number;
emotion?: string | string[];
volume?: number;
baseUrl?: string;
apiVersion?:
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key