CartesiaOutputFormat
Cartesia output format configuration passed in each WebSocket message.
Defined in: src/providers/tts/cartesia/CartesiaTTS.ts:62
Cartesia output format configuration passed in each WebSocket message.
Remarks
Cartesia requires the output format to be specified in every synthesis request. For WebSocket streaming, the container is always 'raw' (no wrapper).
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
container | "raw" | Container format. Remarks Always 'raw' for WebSocket streaming (no WAV header or other wrapper). | src/providers/tts/cartesia/CartesiaTTS.ts:69 |
encoding | CartesiaOutputEncoding | Audio encoding for the output samples. See CartesiaOutputEncoding | src/providers/tts/cartesia/CartesiaTTS.ts:76 |
sample_rate | number | Sample rate of the output audio in Hz. | src/providers/tts/cartesia/CartesiaTTS.ts:81 |