← Back to Projects
🎨

Generative AI Workflows

A collection of custom pipelines and developer scripts designed to streamline creative rendering workflows. By connecting Local ComfyUI nodes, Stable Diffusion APIs, and Gemini LLMs, this toolset automates prompt expansion, model swapping, and post-processing filters.

Python 3.11 Stable Diffusion ComfyUI API Gemini AI API OpenCV Pillow Docker
Status ⚙️ Active Dev
Type Backend Pipelines & CLI
Orchestration Python / ComfyUI WebSocket
Target Users Digital Artists / Designers

✨ Key Capabilities

🤖

Automated Prompt Expansion

Leverages Gemini models to expand basic 5-word artist prompts into rich, stylistically coherent descriptions, optimized for Stable Diffusion XL (SDXL) text encoders.

🔀

Multi-Model Batch Rendering

Allows queueing a single expanded prompt against multiple Checkpoint models (Anime, Realistic, Cinematic) and LoRAs sequentially to compare style variations automatically.

🔍

OpenCV Intelligent Upscaling

Applies custom edge-detection and luminance filters in Python to isolate subjects, preparing render canvases for latent space details during secondary high-res passes.

⚙️

Local ComfyUI API Wrapper

A headless Python SDK that loads JSON workspace configurations directly, pushes prompts to the queue via WebSockets, and downloads final output frames locally.

🛠️ Technical Architecture

🐍

Python Pipeline Runner

The core pipeline uses asynchronous queue mechanics in Python to prevent GPU thread locking, feeding image inputs through ControlNet pipelines sequentially.

🐳

Containerized GPU Stack

Packaged in a multi-stage Docker environment compiled with CUDA toolkit dependencies, making it simple to deploy on local workstation hardware or cloud GPU instances.

🔌

Rest API & Hook Triggers

Features webhook support to trigger automated batch generations directly from chat interfaces (e.g. Discord bot commands or custom web panels).

← Back to Projects