Pixray is an image generation system that integrates several prior research ideas, including: Perception Engines, which use image augmentation and iteratively optimize an image against a set of classifiers; CLIP-guided GAN image generation from Ryan Murdoch and Katherine Crowson, as well as modifications such as Kevin Frans' CLIPDraw; and latent space navigation methods from Sampling Generative Networks.
Pixray itself is a Python library and command-line utility, and it is also convenient to run online in a Google Colab notebook. There is currently some documentation on the options, and you can also check out the demo notebook or join the Discord discussion.
Usage: Make sure to use git clone --recursive to get the submodules. Dependencies can be installed in a fresh Python 3.8 environment (for example, using conda) via pip install -r requirements.txt, and then basicsr must be installed manually. After that, you can use the included pixray.py command-line utility. Pixray can also be run in your own Python code. Examples of the Pixray Colab notebook can be found in another repository.
In addition, it can also be run in Docker using Cog. First install Docker and Cog, and then you can use cog run to run Pixray inside Docker.
Use cases: image generation, artistic creation, research experiments, etc. Limitations: a Python 3.8 environment is required, dependency installation may require manually handling basicsr, and specific feature details and pricing information are not currently provided.