llm-azure-tts
Text-to-speech using the Azure OpenAI TTS API
Installation
Install this plugin in the same environment as LLM.
llm install llm-azure-tts
Usage
The plugin adds a new command, llm azure-tts. Use it like this:
llm azure-tts "Hello" --output audio.mp3
The synthesized text will be output directly to the specified location.
For full options, run llm azure-tts --help.
The plugin will use the API key configured using:
llm keys set azure-tts
# Paste key here
You can also pass an explicit API key using --key like this:
llm azure-tts "Hello" --key $AZURE_OPENAI_TTS_API_KEY --output audio.mp3
Development
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
cd llm-azure-tts
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
Metadata
Release files for llm-azure-tts 0.1.2
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_azure_tts-0.1.2.tar.gz | 8.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| llm_azure_tts-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.7 kB
Release files / llm_azure_tts-0.1.2.tar.gz
| Download URL | llm_azure_tts-0.1.2.tar.gz |
|---|---|
| Size | 8.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4ab3bdb2c037786ec86494e739fcefbb5652ed3c1db78f8ec2744df64f4911ba
|
|
BLAKE2b-256 checksum How to use checksums |
ff1b497e8730a1675e1f93750ea65ffe18035b5a95dab0fb489ea16814cad3dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.1
|
Release files / llm_azure_tts-0.1.2-py3-none-any.whl
| Download URL | llm_azure_tts-0.1.2-py3-none-any.whl |
|---|---|
| Size | 8.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b0c42551164f3e64ad765509b0a21a56559a9539b335ebe9e8acdbd6ad4d6a66
|
|
BLAKE2b-256 checksum How to use checksums |
c3ffe5d077ea9d200df4cc7f50161814187f61c9eaa76fb419caff9308e26815
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.1
|