Parameters for transcribeAudio method

interface TranscribeAudioParams {
    file: string;
    headers?: OutgoingHttpHeaders;
    language?: string;
    model: string;
    projectId?: string;
    signal?: AbortSignal;
    spaceId?: string;
}

Hierarchy

  • DefaultParams
    • TranscribeAudioParams

Properties

file: string

The path to a mp3 or wav audio file to transcribe.

headers?: OutgoingHttpHeaders
language?: string

Optional target language to which to transcribe; for example, fr for French. Default is English.

model: string

The model to use for audio transcriptions.

projectId?: string

The project that contains the resource. Either space_id or project_id query parameter has to be given.

signal?: AbortSignal
spaceId?: string

The space that contains the resource. Either space_id or project_id query parameter has to be given.