Free Local Image Generation with Z-Image-Turbo and ComfyUI
Melvin Vivas · X post · 2026-03-18 · Open on X
Topics: AI Dev Tools & Productivity, Portfolio Projects · Level: intermediate
Summary
The creator gets free, unlimited AI image generation by running the Z-Image-Turbo model locally in ComfyUI on an RTX 3090 GPU. Claude Code helped come up with prompt ideas.
Key points
- Running image models locally removes per-image API costs.
- Z-Image-Turbo runs in ComfyUI on one consumer RTX 3090 (24 GB VRAM).
- A coding agent such as Claude Code can generate prompt ideas for the image model.
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), Local Image Generation Pipeline Built with Claude Code (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: Grok as "Director": Making a Local Anime Clip with ComfyUI on an RTX 3090 (Melvin Vivas on X · notes), FLUX 3 Image Klein: Open-Weights Image Model Now Supported in ComfyUI (Melvin Vivas on X · notes), ComfyUI Templates: Chain Ready-Made Workflows Instead of Building From Scratch (Melvin Vivas on X · notes), Comfy Agent: An AI Agent That Builds ComfyUI Workflows in Comfy Cloud (Melvin Vivas on X · notes) and 32 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: First impressions: Claude Code in the cloud is good and fast (Melvin Vivas on X · notes), Why Claude Code feels faster: gzipped turns and instant cloud sessions (Melvin Vivas on X · notes), Watch What Fills Your Coding Agent's Context and When to Clear (Melvin Vivas on X · notes), Claude Code's Right Sidebar and Context Breakdown (Melvin Vivas on X · notes) and 124 more
Try this
- Run Z-Image-Turbo locally in ComfyUI if you have a GPU with enough VRAM.
- Set up a local image-generation workflow in ComfyUI with Z-Image-Turbo, using an LLM to write prompts.
More in AI Dev Tools & Productivity
- GLM-5.1 Now Available on the GLM Coding Plan
- Claude Code Auto Mode: Letting the Agent Make Its Own Permission Calls
- Cursor Releases Composer 2, Its Own Coding Model
- Claude Cowork Dispatch: Message a Desktop Claude Agent From Your Phone
- Recommendation: Try gstack
- Pencil: An AI Design Tool Aimed at UX Designers