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:
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
multiai_tts-0.4.0.tar.gz
(20.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file multiai_tts-0.4.0.tar.gz.
File metadata
- Download URL: multiai_tts-0.4.0.tar.gz
- Upload date:
- Size: 20.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb659c4fa6e5edd7b1da18f9829810bfe9c51f33c01c61eb2af807ac82ca9a4c
|
|
| MD5 |
f4757699fb892c953d80b7e44076b4a6
|
|
| BLAKE2b-256 |
2d8a9ef5799bdd97d6c3e55cc68a80a47fac972d9cf181ae8274ffc7b874fe38
|
File details
Details for the file multiai_tts-0.4.0-py3-none-any.whl.
File metadata
- Download URL: multiai_tts-0.4.0-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e9b5fc9109630dba7628fcdb5fb4f8c847b6135d533b171bdcc2ae500407183
|
|
| MD5 |
3c37ae2f5f337016a1f59d38937fb4fa
|
|
| BLAKE2b-256 |
214c8e3f70d96956cf32e2d0ae9f05aeb2c1dea6389ca4de66be89bdaa1f7a3d
|