Skip to main content

Transcribe an audio or video file by file ID.

POST 

/api/v2/Audio/transcribe/file

Transcribes an audio or video file already stored in the system into text. Supported file formats: mp3, mp4, mpeg, mpga, m4a, wav, webm. Maximum file size: 25 MB.

Request

Query Parameters

    culture string

    Use this param to override the culture of the response. Options: - en (default) - es

Body

The transcription request containing the model ID, file ID, and optional user identifier.

    modelId uuidnullable
    fileId uuid
    prompt stringnullable
    userIdentifier stringnullable

    Possible values: <= 256 characters

    channel stringnullable

    Possible values: <= 100 characters

Responses

Returns the transcription result.

Schema

    instanceId uuid
    transcript stringnullable

    metadata

    object

    language stringnullable
    duration date-spannullable

    tokenUsage

    object

    completionTokens int32
    promptTokens int32
    totalTokens int32

    cost

    object

    completion double
    prompt double
    total double
    currency stringnullable
Loading...