/ImageX

A webui for Cloudflare workers AI Text-to-Image

Primary LanguagePythonApache License 2.0Apache-2.0

ImageX

Cloudflare-Workers-AI-Image Generator-WebUI

A Gradio webui for Cloudflare workers AI Text-to-Image, Image Inpainting, Image-To-Image generations.

Use Cloudflare text-generation model to translate prompts, and auto optimzing the prompts and text-to-image model to generate images.

Preview

image-gen

inpainting

image-to-image

Use

Clone the repo to your disk, change the .env.example to .env, and set the right values.Run the commands in terminal on the directory:

python -m venv venv

source ./venv/bin/activate

python -m pip install -r requirements.txt

python app.py

Demo For Text-to-Image Lite Version

(This lite demo is missing Inpainting and IMG-to-IMG, API settings required.)

ImageX-CF in HuggingFace