isaacgv
/
whisper-subtitles-v3
- Public
- 212 runs
Run isaacgv/whisper-subtitles-v3 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_path |
string
|
Audio file to generate subtitles for.
|
|
language |
string
(enum)
|
en
Options: en, zh, de, es, ru, ko, fr, ja, pt, tr, pl, ca, nl, ar, sv, it, id, hi, fi, vi, he, uk, el, ms, cs, ro, da, hu, ta, no, th, ur, hr, bg, lt, la, mi, ml, cy, sk, te, fa, lv, bn, sr, az, sl, kn, et, mk, br, eu, is, hy, ne, mn, bs, kk, sq, sw, gl, mr, pa, si, km, sn, yo, so, af, oc, ka, be, tg, sd, gu, am, yi, lo, uz, fo, ht, ps, tk, nn, mt, sa, lb, my, bo, tl, mg, as, tt, haw, ln, ha, ba, jw, su, yue |
Language of the audio.
|
vad_filter |
boolean
|
True
|
Enable the voice activity detection (VAD) to filter out parts of the audio without speech.
|
{
"type": "object",
"title": "Input",
"required": [
"audio_path"
],
"properties": {
"language": {
"enum": [
"en",
"zh",
"de",
"es",
"ru",
"ko",
"fr",
"ja",
"pt",
"tr",
"pl",
"ca",
"nl",
"ar",
"sv",
"it",
"id",
"hi",
"fi",
"vi",
"he",
"uk",
"el",
"ms",
"cs",
"ro",
"da",
"hu",
"ta",
"no",
"th",
"ur",
"hr",
"bg",
"lt",
"la",
"mi",
"ml",
"cy",
"sk",
"te",
"fa",
"lv",
"bn",
"sr",
"az",
"sl",
"kn",
"et",
"mk",
"br",
"eu",
"is",
"hy",
"ne",
"mn",
"bs",
"kk",
"sq",
"sw",
"gl",
"mr",
"pa",
"si",
"km",
"sn",
"yo",
"so",
"af",
"oc",
"ka",
"be",
"tg",
"sd",
"gu",
"am",
"yi",
"lo",
"uz",
"fo",
"ht",
"ps",
"tk",
"nn",
"mt",
"sa",
"lb",
"my",
"bo",
"tl",
"mg",
"as",
"tt",
"haw",
"ln",
"ha",
"ba",
"jw",
"su",
"yue"
],
"type": "string",
"title": "language",
"description": "Language of the audio.",
"default": "en",
"x-order": 1
},
"audio_path": {
"type": "string",
"title": "Audio Path",
"format": "uri",
"x-order": 0,
"description": "Audio file to generate subtitles for."
},
"vad_filter": {
"type": "boolean",
"title": "Vad Filter",
"default": true,
"x-order": 2,
"description": "Enable the voice activity detection (VAD) to filter out parts of the audio without speech."
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
{
"type": "object",
"title": "ModelOutput",
"required": [
"preview",
"srt_file",
"vtt_file"
],
"properties": {
"preview": {
"type": "string",
"title": "Preview"
},
"segments": {
"title": "Segments"
},
"srt_file": {
"type": "string",
"title": "Srt File",
"format": "uri"
},
"vtt_file": {
"type": "string",
"title": "Vtt File",
"format": "uri"
}
}
}