llm-whisper-api
Run transcriptions using the OpenAI Whisper API
Installation
Install this plugin in the same environment as LLM.
llm install llm-whisper-api
Usage
The plugin adds a new command, llm whisper-api. Use it like this:
llm whisper-api audio.mp3
The transcribed audio will be output directly to standard output as plain text.
The plugin will use the OpenAI API key you have already configured using:
llm keys set openai
# Paste key here
You can also pass an explicit API key using --key like this:
llm whisper-api audio.mp3 --key $OPENAI_API_KEY
Development
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
cd llm-whisper-api
python -m venv venv
source venv/bin/activate
Now install the dependencies and test dependencies:
llm install -e '.[test]'
To run the tests:
python -m pytest
Release files for llm-whisper-api 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| llm_whisper_api-0.1.1.tar.gz | 7.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| llm_whisper_api-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.3 kB
Release files / llm_whisper_api-0.1.1.tar.gz
| Download URL | llm_whisper_api-0.1.1.tar.gz |
|---|---|
| Size | 7.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
97c4f915b6b7fd737a5dfe1da2d4167d2f505bc7ac384f650568595bf0754245
|
|
BLAKE2b-256 checksum How to use checksums |
241c7ba47206ca4e718ef81c40ef96c67dc7578db3a75893e56505859426e64a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / llm_whisper_api-0.1.1-py3-none-any.whl
| Download URL | llm_whisper_api-0.1.1-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3b7bae8ec9257e9d4a51e1614b3b31ab2151dd93f7aebb9fbf5dcec28defa437
|
|
BLAKE2b-256 checksum How to use checksums |
bd500135f23d7c839ba67b6356865994136380ee894392aa6fa0d6b486422ff2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|