ScaleROPE
advanced/model_patchesExperimental
ScaleROPEScale and shift the ROPE of the model.
Experimental: This node is experimental and its behavior may change without notice.
Example
JSON Example
{
"class_type": "ScaleROPE",
"inputs": {
"model": [
"node_id",
0
],
"scale_x": 1,
"shift_x": 0,
"scale_y": 1,
"shift_y": 0,
"scale_t": 1,
"shift_t": 0
}
}This example shows required inputs only. Connection values like ["node_id", 0] should reference actual node IDs from your workflow.
Inputs
| Name | Type | Status | Constraints | Default |
|---|---|---|---|---|
model | MODEL | required | - | - |
scale_x | FLOAT | required | min: 0, max: 100, step: 0.1 | 1 |
shift_x | FLOAT | required | min: -256, max: 256, step: 0.1 | 0 |
scale_y | FLOAT | required | min: 0, max: 100, step: 0.1 | 1 |
shift_y | FLOAT | required | min: -256, max: 256, step: 0.1 | 0 |
scale_t | FLOAT | required | min: 0, max: 100, step: 0.1 | 1 |
shift_t | FLOAT | required | min: -256, max: 256, step: 0.1 | 0 |
Outputs
| Index | Name | Type | Is List | Connection Reference |
|---|---|---|---|---|
0 | MODEL | MODEL | No | ["{node_id}", 0] |
How to connect to these outputs
To connect another node's input to an output from this node, use the connection reference format:
["node_id", output_index]Where node_id is the ID of this ScaleROPE node in your workflow, and output_index is the index from the table above.
Example
If this node has ID "5" in your workflow:
MODEL (MODEL):["5", 0]
Was this page helpful?