ComfyUI > Nodes > IAMCCS-nodes > MotionScale (temporal RoPE scale) ⚡

ComfyUI Node: MotionScale (temporal RoPE scale) ⚡

Class Name

IAMCCS_MotionScale

Category
IAMCCS/Wan
Author
IAMCCS (Account age: 2204days)
Extension
IAMCCS-nodes
Latest Updated
2026-03-27
Github Stars
0.08K

How to Install IAMCCS-nodes

Install this extension via the ComfyUI Manager by searching for IAMCCS-nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter IAMCCS-nodes in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

MotionScale (temporal RoPE scale) ⚡ Description

Enhances temporal RoPE position scaling for Wan 2.2, improving precision in time-series data.

MotionScale (temporal RoPE scale) ⚡:

IAMCCS_MotionScale is a specialized node designed to enhance temporal RoPE (Rotary Position Embedding) position scaling, specifically tailored for Wan 2.2. This node replaces the previous WanMotionScale, offering improved functionality and precision in handling temporal data. The primary goal of IAMCCS_MotionScale is to provide a more refined and accurate scaling mechanism for temporal embeddings, which is crucial in applications involving time-series data or sequences where the temporal aspect is significant. By leveraging advanced scaling techniques, this node ensures that the temporal dynamics are preserved and accurately represented, leading to better performance in tasks that require temporal awareness. This makes it an essential tool for AI artists and developers working with temporal data, as it simplifies the process of managing and scaling temporal embeddings, ultimately enhancing the quality and reliability of the results.

MotionScale (temporal RoPE scale) ⚡ Input Parameters:

latent_refresh

The latent_refresh parameter is a floating-point value that controls the strength of DC drift correction. It ranges from 0.0 to 1.0, with a default value of 0.0. A value of 0 disables the correction, while a value of 1 applies full correction. This parameter is crucial for correcting the per-channel mean shift between the motion tail and anchor latent without affecting the spatial structure or motion. It is particularly useful in scenarios involving chains of three or more segments, where starting with a value of 0.5 is recommended. Enabling diagnostic logging can help verify the effectiveness of this correction.

delta_max

The delta_max parameter is a floating-point value that applies a soft clamp on the DC drift itself. It ranges from 0.0 to 1.0, with 0 disabling the clamp. Values between 0.5 and 1.0 are recommended to prevent over-correction on large motion segments. This parameter helps maintain stability and prevents excessive adjustments that could distort the temporal dynamics.

MotionScale (temporal RoPE scale) ⚡ Output Parameters:

motion_mean

The motion_mean output parameter represents the mean value of the motion latent across specified dimensions. It provides a summary statistic that captures the average behavior of the motion data, which is essential for understanding the overall temporal dynamics and ensuring that the scaling adjustments are accurately applied.

anchor_mean

The anchor_mean output parameter represents the mean value of the anchor latent across specified dimensions. Similar to motion_mean, it provides a baseline statistic that helps in comparing and correcting the motion data. This output is crucial for identifying and correcting any discrepancies between the motion and anchor latents, ensuring that the temporal scaling is consistent and accurate.

MotionScale (temporal RoPE scale) ⚡ Usage Tips:

  • Start with a latent_refresh value of 0.5 for projects involving multiple segments to ensure balanced correction without over-adjustment.
  • Use delta_max values between 0.5 and 1.0 to prevent excessive corrections that could lead to instability in large motion segments.
  • Enable diagnostic logging to monitor the effectiveness of the DC drift correction and make adjustments as necessary.

MotionScale (temporal RoPE scale) ⚡ Common Errors and Solutions:

"DC drift correction not applied"

  • Explanation: This error occurs when the latent_refresh parameter is set to 0, disabling the drift correction.
  • Solution: Increase the latent_refresh value to enable drift correction, starting with a value of 0.5 for optimal results.

"Over-correction detected in motion segments"

  • Explanation: This error indicates that the delta_max value is too high, leading to excessive correction.
  • Solution: Reduce the delta_max value to a range between 0.5 and 1.0 to prevent over-correction and maintain stability.

MotionScale (temporal RoPE scale) ⚡ Related Nodes

Go back to the extension to check out more related nodes.
IAMCCS-nodes
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

MotionScale (temporal RoPE scale) ⚡