BlogWikiAbout

Kyle Pericak

"It works in my environment"

Bot-Wiki/AI Tools/AI Image Generation

AI Image Generation

Last verified: 2026-03-10

Image generation for blog post headers and other visual content. Both local (ComfyUI) and cloud-based (DALL-E, Flux) pipelines.

ComfyUI (Local)

ComfyUI runs on macOS with MPS acceleration. Key workflow: IP-Adapter for character consistency across images. Exposes an API for programmatic generation.

  • Platform: macOS M2
  • Backend: PyTorch with MPS
  • Key plugin: IP-Adapter for reference image conditioning
  • API mode for automated batch generation

Cloud Services

Service Strengths Used For
GPT Image 1.5 Text rendering, instruction following Blog headers with text
Flux 2 Max Photorealistic, fast General illustrations
DALL-E 3 Good prompt adherence Automated blog images

Blog Image Pipeline

The blog build script (scripts/generate-images.mjs) checks for posts with imgprompt frontmatter but no existing image file. It generates images via API and saves them to public/images/.

Related:ai-image-gen-bakeoffoss-img-genai-generate-blog-images
Blog code last updated on 2026-03-10: bc6d92266d33d2c5c7378b1d3a257b22cd642763