Skip to content

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

PropertyTypeDescriptionDefined in
container"raw"Container format. Remarks Always 'raw' for WebSocket streaming (no WAV header or other wrapper).src/providers/tts/cartesia/CartesiaTTS.ts:69
encodingCartesiaOutputEncodingAudio encoding for the output samples. See CartesiaOutputEncodingsrc/providers/tts/cartesia/CartesiaTTS.ts:76
sample_ratenumberSample rate of the output audio in Hz.src/providers/tts/cartesia/CartesiaTTS.ts:81

© 2026 CompositeVoice. All rights reserved.

Font size
Contrast
Motion
Transparency