viktorfa
/
stable-whisper-medium
- Public
- 18 runs
Run viktorfa/stable-whisper-medium 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
|
|
youtube_url |
string
|
Youtube url
|
|
model |
string
(enum)
|
medium
Options: tiny, base, small, medium, large-v3 |
Whisper model to use
|
output_format |
string
(enum)
|
vtt_words
Options: vtt_words, vtt_sentences, full |
Format of the transcription
|
debug |
boolean
|
False
|
Print out memory usage information.
|
{
"type": "object",
"title": "Input",
"properties": {
"audio": {
"type": "string",
"title": "Audio",
"format": "uri",
"x-order": 0,
"description": "Audio file"
},
"debug": {
"type": "boolean",
"title": "Debug",
"default": false,
"x-order": 4,
"description": "Print out memory usage information."
},
"model": {
"enum": [
"tiny",
"base",
"small",
"medium",
"large-v3"
],
"type": "string",
"title": "model",
"description": "Whisper model to use",
"default": "medium",
"x-order": 2
},
"youtube_url": {
"type": "string",
"title": "Youtube Url",
"x-order": 1,
"description": "Youtube url"
},
"output_format": {
"enum": [
"vtt_words",
"vtt_sentences",
"full"
],
"type": "string",
"title": "output_format",
"description": "Format of the transcription",
"default": "vtt_words",
"x-order": 3
}
}
}
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",
"file",
"hardsub",
"srtLines",
"srtWords"
],
"properties": {
"file": {
"type": "string",
"title": "File",
"format": "uri"
},
"hardsub": {
"type": "string",
"title": "Hardsub",
"format": "uri"
},
"jsonData": {
"type": "string",
"title": "Jsondata"
},
"srtLines": {
"type": "string",
"title": "Srtlines",
"format": "uri"
},
"srtWords": {
"type": "string",
"title": "Srtwords",
"format": "uri"
}
}
}