transcribe

command
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2026 License: Apache-2.0 Imports: 13 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Transcribe the speech in audio, as text, streamed as it's transcribed, or translate it into English, with a registry of providers, without a server:

go run ./examples/transcribe talk.mp3
go run ./examples/transcribe -segments -speakers interview.wav
go run ./examples/transcribe -translate interview.wav

The provider is OpenAI, when OPENAI_API_KEY is set, whose model is whisper-1, or Mistral, when MISTRAL_API_KEY is, whose model is voxtral-mini-latest, or go-whisper, when GOWHISPER_ADDR is, whose model is set with -model, or ElevenLabs, when ELEVENLABS_API_KEY is, whose model is scribe_v1. Only OpenAI's whisper-1 translates.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL