> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-docs-recommend-assets-api.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# CFGGuider - ComfyUI Built-in Node Documentation

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

> 本文档由 AI 生成。如果您发现任何错误或有改进建议，欢迎贡献！ [在 GitHub 上编辑](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/CFGGuider/zh.md)

CFGGuider 节点创建了一个用于控制图像生成采样过程的引导系统。它接收一个模型以及正向和负向条件输入，然后应用无分类器引导尺度来引导生成过程朝向期望内容，同时避免不需要的元素。该节点输出一个引导器对象，可供采样节点使用以控制图像生成方向。

## 输入参数

| 参数名    | 数据类型         | 输入类型 | 默认值 | 取值范围        | 描述                      |
| ------ | ------------ | ---- | --- | ----------- | ----------------------- |
| `模型`   | MODEL        | 必填   | -   | -           | 用于引导的模型                 |
| `正面条件` | CONDITIONING | 必填   | -   | -           | 正向条件，引导生成过程朝向期望内容       |
| `负面条件` | CONDITIONING | 必填   | -   | -           | 负向条件，使生成过程远离不需要的内容      |
| `CFG`  | FLOAT        | 必填   | 8.0 | 0.0 - 100.0 | 无分类器引导尺度，控制条件对生成过程的影响强度 |

## 输出结果

| 输出名称     | 数据类型   | 描述                    |
| -------- | ------ | --------------------- |
| `GUIDER` | GUIDER | 引导器对象，可传递给采样节点以控制生成过程 |
