Rate this page:

RealtimeTTSPlayerParameters

Cartesia.RealtimeTTSPlayer parameters. Can be passed as arguments to the Cartesia.createRealtimeTTSPlayer method.

Props

apiKey

Copy URL
apiKey: 

string

|

undefined

Optional. Cartesia api key. If not specified, the key from the Voximplant control panel is used.

generationRequestParameters

Copy URL
generationRequestParameters: 

Object

Object provides the parameters directly to the Cartesia provider Generation Request message. Find more information in the documentation.

trace

Copy URL
trace: 

false

|

undefined

|

true

Optional. Whether to enable the tracing functionality. If tracing is enabled, an URL to the trace file appears in the websocket.created message. The file contains all sent and received WebSocket messages in the plain text format. The file is uploaded to the S3 storage. Note: Enable only for diagnostic purposes.