ComfyUI > Nodes > ComfyUI-LG_SamplingUtils > Model Sampling ZImage

ComfyUI Node: Model Sampling ZImage

Class Name

ModelSamplingZImage

Category
🎈LAOGOU/Sampling Utils
Author
LAOGOU-666 (Account age: 656days)
Extension
ComfyUI-LG_SamplingUtils
Latest Updated
2025-12-24
Github Stars
0.14K

How to Install ComfyUI-LG_SamplingUtils

Install this extension via the ComfyUI Manager by searching for ComfyUI-LG_SamplingUtils
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-LG_SamplingUtils in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Model Sampling ZImage Description

Adjusts sampling parameters for ZImage models with a 1.0 multiplier for precise image quality.

Model Sampling ZImage:

The ModelSamplingZImage node is designed to adjust the sampling parameters specifically for the ZImage or Lumina2 models. This node is particularly useful for fine-tuning the sampling process, which is a critical step in generating high-quality images using these models. The key distinction of this node is its use of a multiplier set to 1.0, as opposed to the multiplier of 1000 used in other models like SD3. This adjustment allows for more precise control over the sampling process, ensuring that the generated images maintain the desired level of detail and quality. By leveraging this node, you can optimize the performance of the ZImage model, making it a valuable tool for AI artists looking to enhance their image generation workflows.

Model Sampling ZImage Input Parameters:

model

The model parameter represents the model configuration that you want to apply the sampling adjustments to. It is crucial as it defines the structure and behavior of the model being used. This parameter does not have specific minimum or maximum values as it is a configuration object.

sampling

The sampling parameter allows you to choose the sampling method to be used. Options include eps, v_prediction, lcm, x0, and img_to_img. Each option represents a different approach to sampling, affecting how the model generates images. The choice of sampling method can significantly impact the final output, so it should be selected based on the specific requirements of your project.

zsnr

The zsnr parameter is a boolean that determines whether to apply zero-shot noise reduction. The default value is False. Enabling this option can help reduce noise in the generated images, leading to cleaner and more visually appealing results. However, it may also affect the model's ability to capture certain details, so it should be used judiciously.

Model Sampling ZImage Output Parameters:

model

The output model parameter is the modified model configuration after applying the sampling adjustments. This output is crucial as it represents the updated model that incorporates the changes made by the node, ready to be used for image generation. The modified model will have the adjusted sampling parameters, which can lead to improved image quality and performance.

Model Sampling ZImage Usage Tips:

  • Experiment with different sampling methods to find the one that best suits your project's needs. Each method offers unique advantages and can affect the final image quality differently.
  • Consider enabling the zsnr option if you are experiencing excessive noise in your generated images. This can help produce cleaner outputs, but be mindful of the potential trade-offs in detail.

Model Sampling ZImage Common Errors and Solutions:

"Model configuration not found"

  • Explanation: This error occurs when the specified model configuration is not available or incorrectly specified.
  • Solution: Ensure that the model configuration is correctly defined and accessible. Double-check the model path and configuration settings.

"Invalid sampling method"

  • Explanation: This error indicates that the chosen sampling method is not recognized or supported by the node.
  • Solution: Verify that the sampling method is one of the supported options: eps, v_prediction, lcm, x0, or img_to_img. Correct any typos or unsupported values.

Model Sampling ZImage Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-LG_SamplingUtils
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.