D-ID Client SDK - v3.0.0-0
    Preparing search index...

    Interface SttTokenResponse

    A short-lived credential for the D-ID speech-to-text service.

    What getSttToken() resolves with, fetched fresh from the Agents API each time. It lets an application drive its own speech recognition against the service the agent uses without putting D-ID credentials in the browser. The token expires, so request one per recognition session rather than holding on to it.

    interface SttTokenResponse {
        region: string;
        token: string;
    }
    Index
    region: string

    The speech service region the token is valid in.

    token: string

    The authorization token to present to the speech service.