Type Alias SyncTranscribeOptions

SyncTranscribeOptions: {
    signal?: AbortSignal;
    timeout?: number;
}

Client-side options for a synchronous transcription request. These are not sent to the server.

Type declaration

  • Optionalsignal?: AbortSignal

    An AbortSignal that drops the request when aborted.

  • Optionaltimeout?: number

    The request deadline in milliseconds, measured from the start of the request. Spans the upload and the transcription. Defaults to 180 000; the sync API caps audio at 120 seconds.