Skip to main content

Speechloom

Offline transcription and subtitles for audio and video, on your own machine.

Speechloom turns recordings into timestamped transcripts and subtitles (TXT, SRT, WebVTT and JSON) with NVIDIA's Parakeet TDT 0.6B v3 model, run locally through NeMo-Speech.cpp. It uses an NVIDIA GPU when one is available and the CPU otherwise. Your media never leaves your computer.

PyPI Python CI License: MIT

Why Speechloom

  • Private. Transcription runs entirely offline. Only speechloom setup downloads anything: the engine and the models.
  • Fast on a laptop GPU. A 10-minute recording takes about 17 seconds on an RTX 4070 Laptop GPU, 34 times faster than real time, using about 4 GB of GPU memory. See the benchmarks.
  • 25 European languages, detected automatically: Bulgarian, Croatian, Czech, Danish, Dutch, English, Estonian, Finnish, French, German, Greek, Hungarian, Italian, Latvian, Lithuanian, Maltese, Polish, Portuguese, Romanian, Russian, Slovak, Slovenian, Spanish, Swedish and Ukrainian.
  • Translation and speaker labels, when you want them. Translate transcripts between English and 36 other languages, including Arabic, Chinese and Japanese, with Riva Translate 4B. Label up to four speakers with Sortformer.
  • Safe to rerun. Every job is fingerprinted by its input and settings. Finished work is skipped, interrupted work resumes, and results are never overwritten without --force.
  • Usable from code. A typed Python API and an optional local HTTP API share the engine with the command line.

Quick start

pipx install speechloom
speechloom setup
speechloom transcribe interview.mp4

speechloom setup installs the CUDA engine when nvidia-smi works and the CPU engine otherwise; the CUDA toolkit is not needed. Results land in a job directory under transcripts/ in the current directory:

transcripts/interview-<job id>/
├── manifest.json       job state, settings, checksums and timings
├── transcript.json     canonical transcript with word timestamps
├── transcript.txt
├── subtitles.srt
└── subtitles.vtt
1
00:00:00,240 --> 00:00:04,479
going along slushy country roads and
speaking to damp audiences in drafty

2
00:00:04,480 --> 00:00:07,119
schoolrooms day after day for a fortnight.

Requirements

  • Linux on x86_64 (WSL2 works)
  • Python 3.10 or newer
  • FFmpeg and FFprobe on PATH (sudo apt install ffmpeg on Ubuntu)
  • For GPU speed: an NVIDIA GPU whose driver supports CUDA 12, so that nvidia-smi works. On WSL2, install the driver on Windows, not inside WSL.
Component Download On disk Installed
CUDA engine 804 MB 1.3 GB when an NVIDIA GPU works
CPU engine 2 MB 6 MB otherwise
Speech model (Parakeet TDT 0.6B v3) 714 MB 714 MB always
Speaker model (Sortformer, 4 speakers) 147 MB 147 MB --features diarization
Translation model (Riva Translate 4B) converted locally 4.4 GB --features translation

Translation setup downloads the original checkpoint and converts it on your machine, which needs 16 GB of free space during the conversion. Translation runs on the CUDA engine; on a CPU-only machine it needs a source build (speechloom setup --features translation --from-source).

Usage

Transcribe files or folders:

speechloom transcribe recording.mp4
speechloom transcribe recordings/ --recursive
speechloom transcribe recording.mp4 --output-dir ./output --formats srt,txt

Add speaker labels:

speechloom setup --features diarization
speechloom transcribe meeting.mp4 --diarize

Translate. Parakeet does not report the language it heard, so name it:

speechloom setup --features translation
speechloom transcribe russian.mp4 --source-language ru --translate-to en
speechloom transcribe lecture.mp4 --source-language en --translate-to ar

Translated files are written next to the originals as translation.<lang>.* and subtitles.<lang>.*.

Check the installation, inspect a job, or get machine-readable output:

speechloom doctor
speechloom inspect transcripts/<job directory>
speechloom transcribe recording.mp4 --json

Features are cumulative: running speechloom setup again keeps the ones you installed. speechloom setup status verifies the installation, and speechloom setup clean --all removes download caches.

Python API

from pathlib import Path

from speechloom import TranscriptionRequest, TranscriptionService

service = TranscriptionService.from_default_config()
for result in service.transcribe(TranscriptionRequest(inputs=(Path("interview.mp4"),))):
    print(result.state, result.job_dir)

The Python API guide covers progress events, cancellation, job inspection and background jobs.

Local HTTP API

pipx install "speechloom[api]"
speechloom serve --allow-root ~/Videos

The API listens on http://127.0.0.1:8765, with interactive documentation at /docs. It accepts uploads, or local paths for files under an --allow-root directory, streams progress as server-sent events and serves the finished files. It rejects requests from other websites, and keeps uploaded files until a client deletes them. See the HTTP API guide.

How it works

media file
  → FFprobe and FFmpeg: pick the audio stream, convert to 16 kHz mono WAV
  → NeMo-Speech.cpp with Parakeet TDT: words with timestamps
  → transcript.json, the canonical result, never overwritten without --force
  → TXT, SRT and VTT, plus an optional translation through Riva Translate 4B

Each job directory has a manifest with the input and model checksums, the settings, the tool versions and the timings, so every result can be traced to how it was made.

Configuration

Settings come from, in order of precedence: command-line options, SPEECHLOOM_* environment variables, ~/.config/speechloom/config.ini, and built-in defaults. speechloom setup records the engine and model paths in its own state file, so the configuration file only needs the settings you want to change. See config.example.ini.

Limitations

  • Speech recognition covers the 25 languages above. Arabic speech is not supported; Arabic is available as a translation target.
  • The engine reports neither the detected language nor meaningful per-word confidence: transcripts leave the language empty and give every word a confidence of 1.0.
  • Prebuilt engines exist for Linux on x86_64 only. Other platforms and the Vulkan backend need speechloom setup --from-source, which requires CMake 3.26 through 3.x, Ninja and a C++17 compiler, plus nvcc for CUDA.
  • Diarization labels at most four speakers.
  • On the CPU engine, transcription runs slower than real time (about 0.6×).

More

License

Speechloom is released under the MIT License. Models are downloaded from their publishers under their own licenses: Parakeet TDT 0.6B v3 and Sortformer under CC BY 4.0, and Riva Translate 4B under the NVIDIA Open Model License. NeMo-Speech.cpp is licensed under Apache 2.0.

Metadata

Release files for speechloom 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for speechloom 0.1.2
File Size Uploaded Provenance Actions
speechloom-0.1.2.tar.gz 67.5 kB With provenance Details for speechloom-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for speechloom 0.1.2
File Interpreter ABI Platform Actions
speechloom-0.1.2-py3-none-any.whl Python 3 none any Details for speechloom-0.1.2-py3-none-any.whl

Total release size: 146.9 kB

Release files / speechloom-0.1.2.tar.gz

Download URL speechloom-0.1.2.tar.gz
Size 67.5 kB
Tags Source
SHA-256 checksum
How to use checksums
fc798f14f56f072d672f0bafb0a98c2bb86d70090f0e3a0a2d78bf6fa118c8d7
BLAKE2b-256 checksum
How to use checksums
22a3552ea3b273e56924e2cd2b3fe037fb4240279b9fb1b57a20d7f54b8cf2fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.

Transparency log

Release files / speechloom-0.1.2-py3-none-any.whl

Download URL speechloom-0.1.2-py3-none-any.whl
Size 79.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
493b920b4ddcdc764b2f2d791292b5a504fd0457f6a3f91cfac1c2ae5de73c1c
BLAKE2b-256 checksum
How to use checksums
b0e4cb70b2ed4379662939a3b0bd6b9649244bd11e20c74245e82fa0670db96c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.

Transparency log

Security for speechloom 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for speechloom-0.1.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page