AgentSpeakConfig
TTS configuration for the Agent API speak stage.
Defined in: src/providers/agent/deepgram/types.ts:482
TTS configuration for the Agent API speak stage.
Remarks
Controls which TTS provider synthesizes the agent’s speech. For non-Deepgram providers, you must also set AgentSpeakConfig.endpoint.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
endpoint? | { headers?: Record<string, string>; url: string; } | Custom TTS endpoint override. Remarks Required for non-Deepgram TTS providers (ElevenLabs, Cartesia, OpenAI, AWS Polly). Routes synthesis requests to the specified URL. | src/providers/agent/deepgram/types.ts:493 |
endpoint.headers? | Record<string, string> | Additional HTTP headers sent with each request. | src/providers/agent/deepgram/types.ts:497 |
endpoint.url | string | Fully-qualified URL of the TTS endpoint. | src/providers/agent/deepgram/types.ts:495 |
provider | SpeakProvider | TTS provider configuration. See SpeakProvider for options. | src/providers/agent/deepgram/types.ts:484 |