rafaelgalle/whisper-test2

Public
8 runs

Run rafaelgalle/whisper-test2 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
file_path
string
Audio file path
file_url
string
Direct URL to audio
file_string
string
Base64 encoded audio
num_speakers
integer

Min: 1

Max: 50

Number of speakers (leave empty to auto-detect)
translate
boolean
False
Translate to English
language
string
Language code (e.g., 'en', 'pt')
prompt
string
Custom prompt with names/acronyms separated by punctuation
preprocess
integer
0

Max: 4

Preprocessing level: 0=None, 1=Sanitize, 2=+Filter, 3=+ReduceNoise, 4=+Normalize
highpass_freq
integer
45
Highpass filter frequency (Hz)
lowpass_freq
integer
8000
Lowpass filter frequency (Hz)
prop_decrease
number
0.3

Max: 1

Noise reduction proportion
stationary
boolean
True
Use stationary noise reduction
target_dBFS
number
-18
Target loudness in dBFS

Output schema

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

Schema
{
  "type": "object",
  "title": "Output",
  "required": [
    "segments"
  ],
  "properties": {
    "metrics": {
      "type": "object",
      "title": "Metrics"
    },
    "language": {
      "type": "string",
      "title": "Language"
    },
    "segments": {
      "type": "array",
      "items": {
        "type": "object"
      },
      "title": "Segments"
    },
    "num_speakers": {
      "type": "integer",
      "title": "Num Speakers"
    }
  }
}