Local Image Generation Pipeline Built with Claude Code
Melvin Vivas · X post · 2026-03-18 · Open on X
Topics: Portfolio Projects, AI Dev Tools & Productivity · Level: intermediate
Summary
The creator used Claude Code to build a local image-generation pipeline that needs no external APIs. It runs Z-Image-Turbo and FLUX.2 dev on ComfyUI with an RTX 3090. They are considering running it 24/7 to produce stock photos at scale.
Key points
- The pipeline is fully local and calls no paid APIs.
- Models used: Z-Image-Turbo and FLUX.2 dev, both running on ComfyUI.
- Hardware: one RTX 3090.
- Claude Code was used to build and automate the pipeline.
- Use case: producing stock photos at scale, possibly running 24/7.
Resources mentioned
- Z-Image-Turbo · tool · huggingface.co · free
An open image-generation model that can run on local hardware.
Also in: Free Local Image Generation: ComfyUI App Mode + LM Studio + Gemma (Melvin Vivas on X · notes), Local Prompt-to-Image Pipeline: ComfyUI + LM Studio Gemma + Z-Image Turbo (Melvin Vivas on X · notes), Free Local Portraits with Z-Image-Turbo in ComfyUI (Melvin Vivas on X · notes), Free Local Image Generation with Z-Image-Turbo and ComfyUI (Melvin Vivas on X · notes) - FLUX.2 dev · tool · huggingface.co · free
Black Forest Labs' open-weight image generation model that can run on local hardware.
Also in: Free Local Image Generation with FLUX.2 Dev in ComfyUI (Melvin Vivas on X · notes) - ComfyUI · tool · x.com · free
The official X account for ComfyUI, the node-based tool for generative AI workflows, which announces things like ComfyUI Agent.
Also in: ComfyUI Agent: early access announcement (Melvin Vivas on X · notes), Comfy Router: One API for Image, Video, 3D and Audio Model Providers (Melvin Vivas on X · notes), Generating AI Video Locally with MiniMax H3 in ComfyUI on an RTX 3090 (Melvin Vivas on X · notes), Running MiniMax M3 Locally in ComfyUI on an RTX 3090 (Melvin Vivas on X · notes) and 23 more - Claude Code · tool · code.claude.com · paid · recommended by both Bashiri Smith & Melvin Vivas
Build agents and pipelines from the terminal; the guide's main agentic coding tool.
Also in: Create Claude Code Plugins with /plugin-authoring (Melvin Vivas on X · notes), Claude Code mods: customize behavior and UI with plugins (Melvin Vivas on X · notes), AI Engineer Roadmap Overview: From ML Foundations to RAG, Agents & Ops (Bashiri Smith on Facebook · notes), SkillsBento: Free Plugin Marketplace for Codex and Claude Code (Melvin Vivas on X · notes) and 101 more
Try this
- Build an automated local stock-photo production pipeline with ComfyUI, Z-Image-Turbo and FLUX.2 dev, using Claude Code to write the automation.