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

# ScaleROPE - ComfyUI Built-in Node Documentation

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

ScaleROPE 节点允许您通过对其 X、Y 和 T（时间）分量分别应用缩放和偏移因子来修改模型的旋转位置嵌入（ROPE）。这是一个高级的、实验性的节点，用于调整模型的位置编码行为。

## 输入参数

| 参数        | 数据类型  | 必填 | 取值范围           | 描述                              |
| --------- | ----- | -- | -------------- | ------------------------------- |
| `model`   | MODEL | 是  | -              | 将要修改其 ROPE 参数的模型。               |
| `scale_x` | FLOAT | 否  | 0.0 - 100.0    | 应用于 ROPE X 分量的缩放因子（默认值：1.0）。    |
| `shift_x` | FLOAT | 否  | -256.0 - 256.0 | 应用于 ROPE X 分量的偏移值（默认值：0.0）。     |
| `scale_y` | FLOAT | 否  | 0.0 - 100.0    | 应用于 ROPE Y 分量的缩放因子（默认值：1.0）。    |
| `shift_y` | FLOAT | 否  | -256.0 - 256.0 | 应用于 ROPE Y 分量的偏移值（默认值：0.0）。     |
| `scale_t` | FLOAT | 否  | 0.0 - 100.0    | 应用于 ROPE T（时间）分量的缩放因子（默认值：1.0）。 |
| `shift_t` | FLOAT | 否  | -256.0 - 256.0 | 应用于 ROPE T（时间）分量的偏移值（默认值：0.0）。  |

## 输出

| 输出名称    | 数据类型  | 描述                     |
| ------- | ----- | ---------------------- |
| `model` | MODEL | 应用了新的 ROPE 缩放和偏移参数的模型。 |
