ZImage Resolution Picker is a utility node for ComfyUI that provides a curated list of commonly used resolutions and aspect ratios tailored for Z-Image image generation. It simplifies choosing valid width/height combinations by offering human-readable presets such as 1024×1024 (1:1), 1280×720 (16:9), 720×1280 (9:16), and more — helping you quickly configure your workflow without manual input.
Resolutions are based on known choices from the official Z-Image-Turbo interface code on HuggingFace Spaces and common community practices.
Download the archive, extract the folder, and copy it intoComfyUI/custom_nodes/. Restart ComfyUI to apply changes.
Description
🔧 Patch Update (v2.1)
Fixed Mask Crash: Resolved an
IndexErrorcrash that occurred when processing masks (especially incropmode). The node now automatically detects and normalizes mask dimensions from any upstream node (handling 2D, 3D, and 4D masks seamlessly).Smarter Mask Upscaling: If
lanczosis selected as the upscale method, the node will now automatically applybilinearto the mask instead. Lanczos is great for images, but it creates "ringing" artifacts (ghosting/roughness) on sharp mask edges. This tweak ensures your images stay sharp, while your inpainting masks remain perfectly clean and smooth!
