> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# CFGZeroStar - ComfyUI Built-in Node Documentation

> Complete documentation for the CFGZeroStar node in ComfyUI. Learn its inputs, outputs, parameters and usage.

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/CFGZeroStar/en.md)

The CFGZeroStar node applies a specialized guidance scaling technique to diffusion models. It modifies the classifier-free guidance process by calculating an optimized scale factor based on the difference between conditional and unconditional predictions. This approach adjusts the final output to provide enhanced control over the generation process while maintaining model stability.

## Inputs

| Parameter | Data Type | Input Type | Default | Range | Description                                                                        |
| --------- | --------- | ---------- | ------- | ----- | ---------------------------------------------------------------------------------- |
| `model`   | MODEL     | required   | -       | -     | The diffusion model to be modified with the CFGZeroStar guidance scaling technique |

## Outputs

| Output Name     | Data Type | Description                                                  |
| --------------- | --------- | ------------------------------------------------------------ |
| `patched_model` | MODEL     | The modified model with CFGZeroStar guidance scaling applied |
