babelscribe
v0.6.1Offline speech-to-text and SRT subtitles in 99 languages on your own AMD/NVIDIA/Intel/Apple GPU.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
transcribe Transcribe audio/video to subtitles
Transcribe a local audio or video file into subtitles / text. file_path: absolute path to the media file (mp4, mkv, mov, mp3, wav, m4a, ...). language: ISO code such as en, th, ja, es, hi — or "auto" to detect. accurate: slower, fewest errors (large-v3 with beam search, or the best fine-tune for Thai / Hindi, ~1.7 GB downloaded the first time). If that download is not possible but large-v3 can be used instead, it is, and accurate_note in the result says so. formats: comma list from srt, vtt, txt, json, ass (ass = karaoke word highlight…
| Parameter | Type | Description |
|---|---|---|
file_path * | string | |
accurate | boolean | |
formats | string | |
language | string | |
output_dir | string | |
translate | boolean | |
translate_to | string | |
vocabulary | string |
transcribe_folder Transcribe every audio/video in a folder
Transcribe every audio and video file in a folder, one at a time. folder: absolute path to the folder holding the media files. language: ISO code such as en, th, ja, es, hi — or "auto" to detect each file separately. accurate: slower, fewest errors (large-v3 with beam search, or the best fine-tune for Thai / Hindi, ~1.7 GB downloaded the first time). If that download is not possible but large-v3 can be used instead, it is, and the file's accurate_note says so. formats: comma list from srt, vtt, txt, json, ass (ass = karaoke word highli…
| Parameter | Type | Description |
|---|---|---|
folder * | string | |
accurate | boolean | |
formats | string | |
language | string | |
output_dir | string | |
recursive | boolean | |
translate | boolean | |
vocabulary | string |
convert_subtitles Re-export subtitles from a transcript JSON
Write subtitle files again from a babelscribe .json, without transcribing again (instant, no GPU). Use it to change the line width or add a format, or after correcting names and words: edit the "text" of the segments in the JSON, then call this, and every format gets the corrected text with its timing. json_path: absolute path to the .json written by transcribe (formats must have included json). formats: comma list from srt, vtt, txt, json, ass. max_line_chars: maximum characters per subtitle line; 0 = the default for the language. output_dir: f…
| Parameter | Type | Description |
|---|---|---|
json_path * | string | |
formats | string | |
max_line_chars | integer | |
output_dir | string |
translate_subtitles Translate subtitles with a local LLM
Translate finished subtitles into another language with the LLM running on the user's own computer (Ollama, LM Studio, llama-server, ...). Timing is kept; the original file is not changed. path: absolute path to the .json written by transcribe (best), or an .srt / .vtt. target: language code or name: th, ja, es, de, "Thai", ... formats: comma list from srt, vtt, txt, json, ass for the translated files (NAME.<code>.srt, ...). llm_url: OpenAI-compatible endpoint, e.g. http://127.0.0.1:11434/v1; empty = the usual local ports. model: model name to a…
| Parameter | Type | Description |
|---|---|---|
path * | string | |
target * | string | |
formats | string | |
llm_url | string | |
model | string |
burn_subtitles Burn subtitles into a video
Draw subtitles onto a copy of a video (NAME.subbed.mp4), for posting where a separate subtitle file is not possible (TikTok, Reels, Shorts). The input video is never changed; audio is copied. video_path: absolute path to the video. subtitle_path: the .json written by transcribe (best: any style works, and text edited in it is used), or an .ass (drawn exactly as written), or an .srt / .vtt (plain only). Empty = the subtitle file next to the video; transcribe the video first if there is none. style: plain (white text at the bottom) | karao…
| Parameter | Type | Description |
|---|---|---|
video_path * | string | |
output_path | string | |
style | string | |
subtitle_path | string |
find_media Find audio/video files
Find audio/video files on this computer, newest first. Searches Downloads, Videos, Desktop, Music and Documents (two levels deep) unless folder is given. Use it when the user names a file without a full path.
| Parameter | Type | Description |
|---|---|---|
folder | string | |
limit | integer | |
name_contains | string |
list_devices List GPUs
GPUs whisper.cpp can use on this computer and which one babelscribe picks automatically.
list_languages_and_models List languages and models
Models available, which model accurate mode uses per language, and what is still to be downloaded for it.