Skip to content

6nb/ai-art-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WomboAI Art Generator

Automate AI art generation using wombot.art.

generated art

Also check out SnailBot art integration!

Setup

1. Install Python

Go to the python download page and install version 3.10 or higher. Make sure the pip package manager is included.

Install required packages with:

pip install -r requirements.txt

2. Set up drivers

This tool uses Selenium to scrape artwork, which requires either chrome or firefox to automate web browsing.

Chrome

Download chromedriver here for the correct version of chrome.

Check version in settings > about chrome. The version included works with Chrome 99.

Firefox

Download geckodriver here.

Linux installation:

wget https://github.com/mozilla/geckodriver/releases/download/v0.30.0/geckodriver-v0.30.0-linux32.tar.gz

tar -xf geckodriver-v0.30.0-linux32.tar.gz

mv geckodriver /usr/local/bin/

3. Add prompts

Wombo.art requires a prompt and a style for each artwork.

prompts.csv contains all the prompts/styles you want to generate for under the prompt,style heading:

prompt,style
first prompt,first style
second prompt,second style

Supported styles:

  • Psychedelic
  • Synthwave
  • Ghibli
  • Steampunk
  • Fantasy Art
  • Vibrant
  • HD
  • Psychic
  • Dark Fantasy
  • Mystical
  • Baroque
  • Etching
  • S.Dali
  • Wuhtercuhler
  • Provenance
  • Moonwalker
  • Blacklight
  • Ukiyoe
  • No Style

...or "All" to run EVERY style for the prompt.

4. Check settings

Edit settings.json to your liking:

  • browser

    • The browser you are using: either "chrome" or "firefox
  • driverPath

    • location of either chromedriver or geckodriver. (For linux + firefox: /usr/local/bin/geckodriver)
  • webhook

    • optional discord webhook url to send art to
  • keepFiles

    • whether to keep files after creation (as opposed to sending to webhook then deleting)
  • typingDelay

    • add (somewhat arbitrary) delay to prompt typing. slower but improves success rate
  • maxWait

    • number of seconds to wait for art to generate before reporting an error

5. Run

Run python main.py

Generated art is saved in the /generated/ folder.

SnailBot /art integration

No setup required. INVITE FROM TOP.GG!

snail style menu

snail art result

About

Automate trippy artwork creation from wombo.art

Topics

Resources

Stars

Watchers

Forks

Languages