isaacgv / whisper-subtitles-v2

  • Public
  • 37 runs

Run isaacgv/whisper-subtitles-v2 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.
model_name
string (enum)
large-v2

Options:

large-v2

Name of the Whisper model to use.
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.

Output schema

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

Schema
{
  "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"
    }
  }
}