Skip to content
forked from adi-panda/Kuebiko

An AI Twitch TTS Chat Bot using GPT-3 and Google Cloud TTS

Notifications You must be signed in to change notification settings

syazkun/Kuebiko

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Forks Stargazers Issues LinkedIn


Logo

Kuebiko

A Twitch Chat Bot that reads twitch chat and creates a text to speech response using google could api and openai's GPT-3 text completion model.
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgments

YouTube Videl Tutorial

Product Name Screen Shot

This is a project to setup your very own VTuber AI similar to "Neuro-Sama".

(back to top)

Built With

  • Python

(back to top)

Getting Started

This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.

Prerequisites

  • VLC MUST BE DOWNLOADED ON YOUR COMPUTER

In order to install the prerequisites you will need to do:

  • pip
    pip install -r requirements.txt

Installation

  1. Get a OpenAI API Key at OpenAPIKey
  2. Get a Twitch API Token at TwitchToken
  3. Create a Google Cloud Project with TTS Service enabled and download JSON credentials file. GoogleCloud
  4. Clone the repo
    git clone https://github.com/github_username/repo_name.git
  5. Add the Google Cloud JSON file into the project folder.
  6. Enter your Twitch Username and API Token in main.py
    super().__init__(token='', prefix='!', initial_channels=[''])
  7. Add the name of the Google Cloud JSON File into main.py
    os.environ['GOOGLE_APPLICATION_CREDENTIALS'] = ''
  8. Add the OpenAI API Key into chat.py
    openai.api_key = ""
  9. Download VTube Studio and use VBAudio Cable to route audio coming from the program.
  10. Add the following script into OBS CaptionsScript
  11. Create a new text source for captions, and set it to read from a file, select the output.txt file from the project folder.
  12. In the script options put the name of you're text source.
  13. Set the script in transform options to scale to inner bounds, and adjust the size of the captions.
  14. Enjoy! For more details watch the attatched video.
  15. IN ORDER TO CHANGE THE VOICE OF YOU'RE VTUBER you will need to change the following parameters in main.py Here is a list of supported voices
  voice = texttospeech.VoiceSelectionParams(
      language_code="en-GB",
      name= "en-GB-Wavenet-B",
      ssml_gender=texttospeech.SsmlVoiceGender.MALE,
  )

(back to top)

Usage

Use this space to show useful examples of how a project can be used. Additional screenshots, code examples and demos work well in this space. You may also link to more resources.

For more examples, please refer to the Documentation

(back to top)

Roadmap

  • Feature 1
  • Feature 2
  • Feature 3
    • Nested Feature

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License.

(back to top)

Contact

Your Name - @adi_panda - [email protected]

Project Link: https://github.com/github_username/repo_name

(back to top)

Acknowledgments

(back to top)

Instructions

Replace API Keys in code and add google cloud json file and program should work!

About

An AI Twitch TTS Chat Bot using GPT-3 and Google Cloud TTS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%