* LAYER: Infrastructure Contains: CartesiaModel, CartesiaTTSAdapterOptions, CartesiaTTSAdapter Rules: Implements ports from Application. Can use any framework. BigO: O(1) score:5 keywords: [CartesiaModel, CartesiaTTSAdapterOptions, CartesiaTTSAdapter] GOAL: Own the "cartesia" con
// Source: https://github.com/codigoencasa/builderbot | License: MIT | Copyright 2022 Leifer Mendez
// Provided via justclaw.it.com; keep this notice with the code.
/**
* LAYER: Infrastructure
* Contains: CartesiaModel, CartesiaTTSAdapterOptions, CartesiaTTSAdapter
* Rules: Implements ports from Application. Can use any framework.
* BigO: O(1) score:5
* keywords: [CartesiaModel, CartesiaTTSAdapterOptions, CartesiaTTSAdapter]
* GOAL: Own the "cartesia" concern of the provider-voice package.
*/
import type { ITtsAdapter } from '../index'
export enum CartesiaModel {
Sonic3 = 'sonic-3',
SonicTurbo = 'sonic-turbo',
Sonic2 = 'sonic-2',
}
export interface CartesiaTTSAdapterOptions {
/** Cartesia API key. Get it at play.cartesia.ai/keys */
apiKey: string
/** Voice
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key