Skip to content

Omodaka9375/AIYA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AIYA - Artificial Youtuber Project

This is a hobby project done in my spare time.

The basic idea is to create AI youtuber thats fully automated and can create daily videos on given subjects, voted by viewers. It's an attempt to create first artificial youtube personality that is fully autonomous as a content creator.

Ultimate idea is to use public blockchain voting mechanism as a means of deciding topics of upcomming videos. This would mean AI would be crypto driven by payments accumulated from willingfull participants in form of vote for suggested topic.

This project has wrapped up five different AI's to achieve it's goal (and a lot of ffmpeg!)

Meet AIYA

AIYA

AIYA's demo video

Requirements

You can use this Colab file to do so here: https://colab.research.google.com/github/Omodaka9375/GPT-2-Text-Generation/blob/master/GTP2.ipynb

or

If you want to reproduce same results you can use my model by downloading and unzipping this file in 'configuration/text' folder: https://drive.google.com/file/d/1-0SHdVVcxVa5I3sopWywNzjoi9qWTKBW/view?usp=sharing


Basic usage (Python 3.6 =>)

  1. Install dependencies

pip3 install -r requirements.txt

  1. Spin up Gentle docker image on localhost (in one terminal)

docker run --network host -P lowerquality/gentle

  1. In project root folder execute this command, while replacing the value of '-i' (in different terminal)

python3 aiya.py -i "Love is"

  1. Result will be in './result' folder
  2. For uploding to YT, fill the credentials file in 'configuration/ytcreds/' and enter -u parameter as 'True'

Features

  • Create YT like video from a phrase or a term
  • Supports video or image background
  • Overlay images over static image background
  • Overlay images over video
  • Randomization on run (different text everytime you run it)
  • Control duration of visibility of memes
  • Control density of memes
  • Control positioning of memes
  • Directly upload to YT
  • Create thumbnail
  • Support title adding as parametar

TODO

  • Better error handling
  • Add support for image animation (rolling picture, popups, transition style), e.g.,

ffmpeg -i out.mp4 -i images/bicycle.png -filter_complex "[1] scale=100:100 [tmp]; [0][tmp] overlay=x='if(gte(t,2), t*100, 10)':y=30" outputfile.mp4

  • Add support for random zoom in effects
  • Include phrases not just verbs in the bag
  • Add support for loading marked or unmarked text directly
  • Add support for blockchain or twitter voting
  • Train better voice model
  • Train GTP-2 model with more data
  • Replace Bing as image searcher
  • Add face to the voice

Troubleshoting

  • If proces ends with error, it is mostly due to corrupted images that were randomly picked or while downloading. You can increase the number of imager per term using '-l' parameter, default is 4, and re-run the script.
  • Most customizations can be done using parameters. Check 'aiya.py' for usage and optional parametars.
  • If the generated sentences are too long they will be cut at the end :(

AI stack


Contact


Contributions

Feel free to contribute, comment, improve or make your own AI youtuber ;)

About

Artificial Youtuber Project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages