> ## 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.

# SetModelHooksOnCond - ComfyUI Built-in Node Documentation

> Complete documentation for the SetModelHooksOnCond 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/SetModelHooksOnCond/zh.md)

此节点将自定义钩子附加到条件数据，允许您在模型执行过程中拦截和修改条件处理过程。它接收一组钩子并将其应用于提供的条件数据，从而实现对文生图工作流程的高级定制。附加了钩子的修改后条件数据将返回以供后续处理步骤使用。

## 输入参数

| 参数名            | 数据类型         | 必填 | 取值范围 | 描述            |
| -------------- | ------------ | -- | ---- | ------------- |
| `conditioning` | CONDITIONING | 是  | -    | 将要附加钩子的条件数据   |
| `hooks`        | HOOKS        | 是  | -    | 将应用于条件数据的钩子定义 |

## 输出结果

| 输出名称           | 数据类型         | 描述            |
| -------------- | ------------ | ------------- |
| `conditioning` | CONDITIONING | 附加了钩子的修改后条件数据 |
