Skip to main content

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:

https://sekika.github.io/multiai-tts/

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

multiai_tts-0.4.0-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

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

Hashes for multiai_tts-0.4.0.tar.gz
Algorithm Hash digest
SHA256 eb659c4fa6e5edd7b1da18f9829810bfe9c51f33c01c61eb2af807ac82ca9a4c
MD5 f4757699fb892c953d80b7e44076b4a6
BLAKE2b-256 2d8a9ef5799bdd97d6c3e55cc68a80a47fac972d9cf181ae8274ffc7b874fe38

See more details on using hashes here.

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

Hashes for multiai_tts-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8e9b5fc9109630dba7628fcdb5fb4f8c847b6135d533b171bdcc2ae500407183
MD5 3c37ae2f5f337016a1f59d38937fb4fa
BLAKE2b-256 214c8e3f70d96956cf32e2d0ae9f05aeb2c1dea6389ca4de66be89bdaa1f7a3d

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.1

2 files

0.2.0

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page