You're looking at a specific version of this model. Jump to the model overview.
m1guelpf /whisper-subtitles:c0e5ce7d
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_path |
string
|
Audio file to transcribe
|
|
model_name |
string
(enum)
|
base
Options: tiny.en, tiny, base.en, base, small.en, small, medium.en, medium, large |
Name of the Whisper model to use.
|
task |
string
(enum)
|
transcribe
Options: transcribe, translate |
Whether to transcribe or translate the audio.
|
output |
string
(enum)
|
text
Options: text, vtt |
Whether to return raw text or a VTT file.
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'properties': {'language': {'title': 'Language', 'type': 'string'},
'subtitles': {'title': 'Subtitles', 'type': 'string'},
'text': {'title': 'Text', 'type': 'string'}},
'required': ['language'],
'title': 'ModelOutput',
'type': 'object'}