Coder Social home page Coder Social logo

aiya's Introduction

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

aiya's People

Contributors

omodaka9375 avatar dependabot[bot] avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.