multiai-tts
multiai-tts is an extension library for multiai that provides Text-to-Speech (TTS) capabilities using OpenAI, Google GenAI, Azure Speech, and VOICEVOX.
- One simple interface (
speak()/save_tts()) across OpenAI, Google GenAI, Azure Speech, and VOICEVOX. - Save to WAV, MP3, and other formats (via
ffmpeg). - Automatic chunking and joining of long text that exceeds API length limits.
Installation
pip install multiai-tts
Quick example
import multiai_tts
client = multiai_tts.Prompt()
client.set_tts_model('openai', 'gpt-4o-mini-tts')
client.speak("Hello, this is a test from OpenAI model.")
if client.error:
print(client.error_message)
Documentation
Full documentation — prerequisites, API key configuration, per-provider examples, and the long-text chunking feature — is available at:
Metadata
Release files for multiai-tts 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| multiai_tts-0.5.0.tar.gz | 31.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| multiai_tts-0.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 41.2 kB
Release files / multiai_tts-0.5.0.tar.gz
| Download URL | multiai_tts-0.5.0.tar.gz |
|---|---|
| Size | 31.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5bd3eac44f816760fc111cd6c90cd960c2bb92d7bbea6673ec672299dc0a732d
|
|
BLAKE2b-256 checksum How to use checksums |
9411ca037c244acf2461aa1becc0ebf38a4213ff935ac73ba5276251bacaeaef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / multiai_tts-0.5.0-py3-none-any.whl
| Download URL | multiai_tts-0.5.0-py3-none-any.whl |
|---|---|
| Size | 10.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
922f3cf08189cbf73bc33272abbc3cea888769f552e87e78ab7d7c4367850e87
|
|
BLAKE2b-256 checksum How to use checksums |
61baa6ec256706ba64fd690fe7bbd4d18469cee958404e9b57b5d74afac80962
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|