Files
arisingmedia-web-sops/local-image-generation
2026-06-09 18:31:59 +02:00
..
2026-06-09 18:31:59 +02:00
2026-06-09 18:31:59 +02:00
2026-06-09 18:31:59 +02:00
2026-06-09 18:31:59 +02:00
2026-06-09 18:31:59 +02:00
2026-06-09 18:31:59 +02:00

Local Image Generation — SOPs

Complete reference for generating site images locally using ComfyUI. No cloud API required. No per-image cost. Runs on the Arising Media workstation.

Index

  1. 01-comfyui-setup.md — Installing ComfyUI, venv, GGUF node
  2. 02-flux-images.md — FLUX.1 Schnell image generation pipeline
  3. 03-wan-video.md — Wan 2.2 image-to-video pipeline
  4. 04-prompt-guide.md — Prompt patterns for interior/carpet photography
  5. 05-quality-levers.md — Prompt, steps, model size: what to adjust and when

Quick start (images already set up)

# 1. Start ComfyUI
tmux new-session -d -s comfyui \
  "cd ~/ComfyUI && venv/bin/python main.py --listen 0.0.0.0 --port 8188 --cpu 2>&1 | tee ~/comfyui.log"

# 2. Wait ~30s, then generate images
cd /home/sirdrez/arisingmedia-websites/{domain}
python3 tools/gen-images-flux.py 2>&1 | tee tools/flux-gen.log

# 3. Convert to WebP and deploy
python3 tools/convert-to-webp.py
rm assets/images/**/*.jpg
docker compose build --no-cache web && docker compose up -d

Model files (installed at ~/ComfyUI/models/)

Purpose File Size Location
FLUX image UNet flux1-schnell-Q8_0.gguf 12GB models/unet/
FLUX T5 encoder t5xxl_fp8_e4m3fn.safetensors 4.6GB models/clip/
FLUX CLIP-L clip_l.safetensors 235MB models/clip/
FLUX VAE ae.safetensors 108MB models/vae/
Wan 2.2 video Wan2.2-TI2V-5B-Q4_K_M.gguf 3.2GB models/diffusion_models/
Wan UMT5 encoder umt5_xxl_fp8_e4m3fn_scaled.safetensors 6.3GB models/clip/
Wan VAE wan_2.1_vae.safetensors 243MB models/vae/

Reference project

lahrcarpetcleaning.com — first project using this full pipeline. Scripts: tools/gen-images-flux.py, tools/gen-video-wan.py, tools/convert-to-webp.py