Image generation for blog post headers and other visual content. Both local (ComfyUI) and cloud-based (DALL-E, Flux) pipelines.
ComfyUI runs on macOS with MPS acceleration. Key workflow: IP-Adapter for character consistency across images. Exposes an API for programmatic generation.
| 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 |
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/.