Interface AudioTranscription

AudioTranscription represents the result of audio transcription.

interface AudioTranscription {
    duration?: number;
    language?: string;
    segments?: AudioSegment[];
    task?: string;
    text: string;
    words?: AudioWord[];
}

Properties

duration?: number

duration represents the duration of the audio.

language?: string

language represents the language of the audio file.

segments?: AudioSegment[]

segments represents an array containing objects with segment level data.

task?: string

task represents the task used in the request.

text: string

text represents the transcribed audio.

words?: AudioWord[]

words represents an array containing objects with word level data.