babelscribe
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Local speech-to-text on the user's own GPU (AMD/NVIDIA/Intel/Apple) for 99 languages. Needs a file path on this computer: if the user only names or describes a file, call find_media first. Subtitles (.srt) and text (.txt) are written next to the media file unless output_dir is given, plus a .json with the word timings: to fix names or change the line width afterwards, edit the text in that .json and call convert_subtitles instead of transcribing again. burn_subtitles draws the subtitles onto a copy of a video (for TikTok, Reels, Shorts). Use accurate=true when the user wants the fewest mistakes (slower); it is much better for Thai and Hindi. The first run downloads the model (~1.6 GB), so it can take a few minutes. After transcribing you can proofread names, translate, or summarise from the returned text.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| transcribeA | 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). formats: comma list from srt, vtt, txt, json, ass (ass = karaoke word highlight). Keep json: it is what convert_subtitles reads to re-wrap or re-export later without transcribing again. output_dir: folder for the output files; empty = next to the media file. vocabulary: names and terms to spell correctly, e.g. "Pitakpong, babelscribe" (whisper initial prompt); empty = none. translate: true = write the transcript translated to English (uses large-v3; slower than turbo). translate_to: a language code (th, ja, es, ...) = also write NAME..srt, translated by the LLM running on the user's computer (Ollama, LM Studio, llama-server). Empty = no translation. Without a local LLM the transcription is still returned, with a note; you can then translate the text yourself. Returns the files written, detected language, device used, and the transcript text. |
| transcribe_folderA | 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). formats: comma list from srt, vtt, txt, json, ass (ass = karaoke word highlight). output_dir: folder for the output files (sub-folders are kept); empty = next to each media file. vocabulary: names and terms to spell correctly, e.g. "Pitakpong, babelscribe"; empty = none. translate: true = write every transcript translated to English (uses large-v3; much slower). recursive: true = also transcribe media in sub-folders. Returns the counts plus one entry per file (path, files written, language, seconds) — a failure is reported in its own entry and the batch continues with the next file. Two files that would write the same subtitle name (talk.mp4 and talk.mp3) keep their full name: talk.mp4.srt, talk.mp3.srt. |
| convert_subtitlesA | 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: folder for the output files; empty = next to the JSON. Returns the files written, the number of segments, and how many had edited text. |
| translate_subtitlesA | 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..srt, ...). llm_url: OpenAI-compatible endpoint, e.g. http://127.0.0.1:11434/v1; empty = the usual local ports. model: model name to ask for; empty = the first one the endpoint lists. Returns the files written, the number of subtitles, the language code, and the model used. If no local LLM is running, the error says how to start one; you can also translate the text yourself instead. |
| burn_subtitlesA | 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) | karaoke (each word lights up as it is spoken) | shorts (big, two or three words at a time, placed for vertical video). output_path: the video to write; empty = NAME.subbed.mp4 next to the input. Returns the file written, the style, the subtitle file used, the encoder and the picture size. |
| find_mediaA | 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. |
| list_devicesB | GPUs whisper.cpp can use on this computer and which one babelscribe picks automatically. |
| list_languages_and_modelsC | Models available, and which model --accurate uses per language. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 8 tools
Each tool targets a distinct operation: single-file transcription, batch folder transcription, re-export from JSON, LLM translation, subtitle burning, media discovery, and two informational queries (models, devices). The convert vs. translate vs. burn trio all consume a JSON but have clearly separated purposes, and the descriptions state when to prefer each.
All snake_case, verb-first, with a predictable noun (transcribe_folder, convert_subtitles, translate_subtitles, burn_subtitles, find_media, list_devices). Minor deviations: bare 'transcribe' is verb-only while its sibling is 'transcribe_folder', and 'list_languages_and_models' is a wordy conjunction compared to the terse 'list_devices'.
Eight tools is well-scoped for a transcription/subtitle pipeline: core operations, one batch variant, two post-processing steps, and two lightweight discovery/info helpers. Nothing appears padded or missing at the count level.
Covers the full pipeline end to end (find media, transcribe single/batch, fix and re-export, translate, burn, plus model/device introspection). Gaps are minor: no direct subtitle-text editing tool (agents must hand-edit JSON), and the surface is inconsistent between transcribe (which offers translate_to) and transcribe_folder (which does not), so batch translation to a non-English target isn't available in one call.