ComfyUI: Running quantized Z-Image GGUF for low VRAM

Demo summary
The creator demonstrates how to use a compressed GGUF version of Z-Image in ComfyUI to generate images on hardware with as little as 4GB of VRAM.
Step-by-step
- Drag and drop the JSON workflow file onto the ComfyUI interface
- Download a GGUF model file and save it to the 'models/unet' directory
- Download a matching quantized text encoder and save it to the 'models/text_encoders' directory
- Open the Manager, search for 'ComfyUI GGUF' in the Custom Nodes Manager, and install or update it
- Restart ComfyUI
- Select the downloaded GGUF model and text encoder in their respective nodes
- Enter your positive prompt and set the image width and height
- Click Run to generate the image
Options
- Choose between various quantization levels (e.g., Q4 medium) based on file size and VRAM
- Generate high-resolution images up to 6 megapixels
Watch out for
- GGUF nodes will appear red if the custom node extension is not installed or updated
- The quantized text encoder should match the quantization level of the model (e.g., Q4 medium for both)
Tips
- Update the GGUF custom node to the latest version even if you already have it installed
- Z-Image typically does not require a negative prompt
- Keep resolution at 1024x1024 for faster generation during testing
Highlights
“Very impressive considering this is a super compressed and quantized version. So in a nutshell, that is how you can use Z image turbo even if you have like 4 GB of VRAM.”
All demos from “The best free AI image generator is here!”
22:240:45Generate images with Z-Image Turbo on Hugging FaceThe creator demonstrates how to use the Z-Image Turbo web interface on Hugging Face to generate a realistic photo of a minimalist room by entering a prompt and adjusting resolution settings.Hugging Face· Text to Image
24:211:50Setting up Z-Image Turbo in ComfyUIA walkthrough of loading the Z-Image Turbo JSON workflow into ComfyUI, updating the manager, and selecting the required text encoder and VAE models.ComfyUI· AI Image Generator
26:113:39Local image generation using Z-Image TurboThe video shows the process of generating an image locally in ComfyUI, explaining parameters like shift value, step count, and CFG for the Z-Image model.ComfyUI· AI Image Generator
30:512:19Running quantized Z-Image GGUF for low VRAMCurrentThe creator demonstrates how to use a compressed GGUF version of Z-Image in ComfyUI to generate images on hardware with as little as 4GB of VRAM.ComfyUI· AI Image Generator
33:282:46Image-to-image transformation with Z-ImageThe user demonstrates how to modify a ComfyUI workflow to perform image-to-image tasks, converting a 3D animation into a realistic photo using Z-Image Turbo.ComfyUI· Image to Image
37:581:16Applying LoRAs to Z-Image workflowsA demonstration of adding a LoRA node to a Z-Image workflow in ComfyUI to generate specific styles, specifically showing a Commodore 64 pixel art output.ComfyUI· AI Image Generator- Watch “The best free AI image generator is here!” →
AI Image Generator
8:418:40Building a ComfyUI workflow from scratchA step-by-step walkthrough of adding nodes (Checkpoint, CLIP Text Encode, KSampler, VAE Decode) and connecting them to build a custom image generation pipeline.AI Search
19:571:09Generating a medieval warrior with batch processingDemonstrates generating multiple images of a medieval warrior by increasing the batch size in the Empty Latent Image node.AI Search
25:330:32Importing workflows from image metadataShows how to drag an existing AI-generated image into the ComfyUI canvas to automatically reconstruct the entire node workflow used to create it.AI Search
58:094:05Controlling character poses with ControlNetDemonstrates using the OpenPose pre-processor and ControlNet Union model to force a generated princess character into a specific pose from a reference image.AI Search
1:360:57Install custom workflows and missing nodes in ComfyUIThe video demonstrates how to drag and drop a JSON workflow file into ComfyUI and use the Manager to identify and install missing custom nodes.Sebastian Kamph
3:020:20Search and install models via Model ManagerA walkthrough of using the ComfyUI Model Manager to search for specific AI models, such as ControlNet, and install them directly.Sebastian Kamph
3:281:10Running and managing image generation queuesDemonstration of starting a workflow using the 'Run' button, setting up 'Run Instant' for continuous generation, and using 'Run on Change' to trigger generation upon prompt edits.Sebastian Kamph
4:590:55Navigating the ComfyUI workspace and UI settingsShows how to use zoom, fit view, pan modes, and toggle link visibility or themes (light/dark mode) within the ComfyUI interface.Sebastian Kamph
11:311:49Adding and connecting nodes in ComfyUIThe video demonstrates adding a 'Load Image' node via the library or right-click menu and connecting it to other nodes like 'Save Image' using spaghetti links.Sebastian Kamph
19:431:34Converting widgets to inputs in ComfyUIShows how to convert a node's internal settings (like seed) into an external input pin and connect a 'Primitive' node to control it.Sebastian Kamph
25:032:06Managing seeds and randomizationShows the difference between 'Randomize' and 'Fixed' seed settings in the KSampler to either generate new variations or reproduce the same image.Sebastian Kamph
36:450:34Saving images to specific foldersShows how to use the 'Save Image' node and file path syntax to organize output images into custom subfolders.Sebastian Kamph
ComfyUI