viktorfa / whisperx-api

  • Public
  • 6 runs

Run viktorfa/whisperx-api with an API

Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.

Input schema

The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.

Field Type Default value Description
audio
string
Audio file
model
string (enum)
large-v2

Options:

tiny, base, small, medium, large-v2

Whisper model to use
align
boolean
True
Make word-level timestamps (Takes longer time)
num_speakers
integer
0
Identify speakers (0 to not diarize)
lang
string
Language (Empty for automatic)
batch_size
integer
16
Batch size
debug
boolean
False
Print out memory usage information.

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{
  "type": "object",
  "title": "Output",
  "required": [
    "jsonData",
    "text",
    "asrResult"
  ],
  "properties": {
    "text": {
      "type": "string",
      "title": "Text",
      "format": "uri"
    },
    "jsonData": {
      "type": "string",
      "title": "Jsondata"
    },
    "asrResult": {
      "type": "string",
      "title": "Asrresult",
      "format": "uri"
    },
    "alignResult": {
      "type": "string",
      "title": "Alignresult",
      "format": "uri"
    }
  }
}