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 details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

Details for the file speechai-0.0.3.tar.gz.

File metadata

  • Download URL: speechai-0.0.3.tar.gz
  • Upload date:
  • Size: 10.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.0 CPython/3.9.16 Linux/5.15.0-1037-azure

File hashes

Hashes for speechai-0.0.3.tar.gz
Algorithm Hash digest
SHA256 556f3b4557ae422f79880fa89f9d29528b089231f25a5c48c4d00bdbff8a1e17
MD5 4599f51e76a0d0a399e4deb40c87e920
BLAKE2b-256 30bbce1bbd1de6067977512d607653657c05469aba65182b74fc5f7ceba6197d

See more details on using hashes here.

File details

Details for the file speechai-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: speechai-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 11.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.0 CPython/3.9.16 Linux/5.15.0-1037-azure

File hashes

Hashes for speechai-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0045be857fcba0a7a8aaaeedc82bd1f7fbf5c01e02e68656fd76ce284dce13ab
MD5 fc2d1a31e81493d381c806816641ce72
BLAKE2b-256 6f9e9a98144c870fb13a6fc06d70f4c2f0a5276c5c0f44b42702eb38db2b99b2

See more details on using hashes here.

Supported by

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