ArtSpew - Bringing Art to Life with AI
ArtSpew is an innovative project designed to push the boundaries of artistic creation through advanced technology. At its essence, ArtSpew operates on the premise of an infinite number of monkeys tossing paint randomly onto a canvas, translating this concept into the digital age with automated art generation.
Unleashing the Power of Stable Diffusion
ArtSpew utilizes the power of Stable Diffusion (SD), a revolutionary approach in the AI art space, to generate a vast array of images rapidly. Whether users are interested in remixing familiar themes like "Space kitty cowboy" or simply want to explore a thousand totally random artworks, ArtSpew is the perfect tool for this creative exploration. Using models such as SD1.5 and with hardware like an NVidia 4090, the software can produce up to 1000 images in just 45 seconds. Fully supporting SDXL, ArtSpew opens up endless possibilities in art discovery.
Maxperf – A Glimpse into the Future of Real-time Video
As an exemplification of its outstanding performance capabilities, ArtSpew introduces maxperf, capable of generating 149 images per second with cutting-edge technology. This heralds an impending transformation in real-time video creation, promising exciting developments on the horizon.
Humorous Origins of AI Art
ArtSpew draws whimsical inspiration from an alternate history where traditional human artists have long been replaced by AI "painters" since the creation of Stable Diffusion, as humorously suggested by aged Wikipedia entries. In this narrative, ArtSpew stands as a testament to the evolution of AI in art, seamlessly transforming typed words into imaginative images. Harnessing the power of random number generators, the tool allows creators to produce countless captivating artworks swiftly.
Getting Started with ArtSpew
For Linux Users:
To install ArtSpew on a Linux system, follow these straightforward steps:
# Clone the ArtSpew repository
git clone https://github.com/aifartist/ArtSpew
cd ArtSpew
# Set up a virtual environment
python3 -m venv ./venv
# Activate the virtual environment
source venv/bin/activate
# Install dependencies
pip3 install -r requirements.txt
For Windows Users:
The community is encouraged to contribute installation instructions for Windows.
Start Creating Art with Ease
No artistic talent? No problem! ArtSpew makes generating interesting art a breeze. Here’s a simple first run command:
python3 artspew.py --xl -p "Space cat cowboy" -c 10 -n 11
This will create ten diverse images focusing on the "Space cat cowboy" theme by adding eleven random elements for an extra touch of creativity. Results are stored in the spew/ directory. For those using powerful graphics cards like the 4090, experimentation with a larger batch size is recommended.
Users may also opt to explore completely random images by omitting the prompt. Fast generations are achievable even with the older SD1.5 model, which, though lower in quality compared to SDXL, allows for quick creation of multiple unique images.
To delve more into the features and options, utilize:
python3 artspew.py --help
Advanced Features and Future Prospects
Advanced users can employ options like "compile" to boost speed, ideal for producing large volumes of images rapidly. While not yet optimized for Windows, the future promise includes integrating even faster compiling technologies, potentially doubling the current speed performance with innovations such as stable-fast.
Maxperf GUI Application
Maxperf, a graphical user interface (GUI) application, showcases the extraordinary speed achievable with ArtSpew. Despite being developed recently, maxperf offers a sneak peek into the future of AI-powered creative speed.
Using ArtSpew as a Python Module
ArtSpew can also be imported and utilized as a Python module, offering flexible integration into various artistic and creative coding projects:
from artspew import ArtSpew
artspew = ArtSpew()
image_generator = artspew.create_generator("crazy cat")
idx = -1
for image in image_generator:
idx += 1
image.save(f"{idx}.jpg")
In conclusion, ArtSpew stands as a beacon of innovation in the AI art world, promising a rich tapestry of creative possibilities limited only by the imagination. Whether for research, entertainment, or personal enjoyment, ArtSpew provides a robust platform for exploring the limitless potential of AI-generated art.