Skip to main content

A Python package that generates conversational speech from text using a combination of Generative AI models and various text-to-speech engines, enabling applications to produce dynamic and contextually aware spoken responses.

Project description

SpeechAI 🔉 - Generate conversational speech!

Report a Bug · Request a Feature · Ask a Question

Release Downloads CI CD License

Code style: black Imports: isort Imports: isort Imports: isort Imports: isort

What is it?

SpeechAI 🔈 is a Python package which empowers you to receive vocal responses directly from LLM with few lines of code. Its flexibility plays nice with any LLM and voice tools out there (online and offline), making it easy integrate it into your own projects.

Just install it, import the desired LLM and TTS from SpeechAI. Once done, you can query the model with your question and promptly receive an audio response, ready for download. As easy as that!

Here you can find a couple of examples:

  • SpeechAI with OpenAI: Open In Colab
  • SpeechAI with Cohere: Open In Colab

Install

The source code is currently hosted on GitHub at: https://github.com/nicolasebastianelli/speech-ai

Binary installers for the latest released version are available at the Python Package Index (PyPI).

# PyPI
pip install speechai

The list of changes to speechai between each release can be found here. For full details, see the commit logs at https://github.com/nicolasebastianelli/speech-ai/commits/main.

Contributing

First off, thanks for taking the time to contribute! Contributions are what makes the open-source community such an amazing place to learn, inspire, and create. Any contributions you make will benefit everybody else and are greatly appreciated.

Please follow the contributing guidelines and try to create bug reports that are:

  • Reproducible. Include steps to reproduce the problem.
  • Specific. Include as much detail as possible: which version, what environment, etc.
  • Unique. Do not duplicate existing opened issues.
  • Scoped to a Single Bug. One bug per report.

Please adhere to this project's code of conduct.

Support

Reach out to the maintainer at one of the following places:

License

This project is licensed under the Apache-2.0 license.

See LICENSE for more information.

Sustain us

"Buy Me A Coffee"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

speechai-0.0.3.tar.gz (10.2 kB view hashes)

Uploaded Source

Built Distribution

speechai-0.0.3-py3-none-any.whl (11.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page