AAI SDK
    Preparing search index...

    Interface TtsOpenOptions

    Options the host passes when opening a TTS stream.

    interface TtsOpenOptions {
        apiKey: string;
        sampleRate: number;
        signal: AbortSignal;
    }
    Index
    apiKey: string

    Provider API key, resolved from the agent's env.

    sampleRate: number

    Playback sample rate of the synthesized PCM, in Hz.

    signal: AbortSignal

    Aborts the open (and the session) when the voice session ends.