Skip to content

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

PropertyTypeDescriptionDefined 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.urlstringFully-qualified URL of the TTS endpoint.src/providers/agent/deepgram/types.ts:495
providerSpeakProviderTTS provider configuration. See SpeakProvider for options.src/providers/agent/deepgram/types.ts:484

© 2026 CompositeVoice. All rights reserved.

Font size
Contrast
Motion
Transparency