Visit ComfyUI Online for ready-to-use ComfyUI environment
Facilitates keyframe-based camera movements for image sequences, enhancing visual projects with dynamic motion.
The PT_KeyframeCamera node is designed to facilitate keyframe-based camera movements, such as panning, zooming, and rotating, for image sequences. This node is particularly beneficial for AI artists looking to add dynamic motion to their visual projects, allowing for smooth transitions and transformations between frames. By defining start and end parameters for various camera movements, users can create complex animations that enhance the storytelling and visual appeal of their work. The node's primary function is to interpolate these movements over a specified number of frames, providing a seamless animation experience without requiring extensive technical knowledge.
This parameter accepts a sequence of images that will undergo the specified camera movements. It is crucial as it forms the base content on which the transformations will be applied.
Defines the initial frame number from which the camera movement will begin. The default value is 0, with a minimum of 0 and a maximum of 9,999,999. This parameter helps in setting the starting point of the animation.
Specifies the final frame number where the camera movement will conclude. The default is 24, with the same range as the start_frame. It determines the duration of the animation.
Indicates the horizontal shift at the start frame, with a default of 0. The range is from -MAX_RESOLUTION to MAX_RESOLUTION, where positive values shift the image to the right and negative values to the left. This parameter controls the initial horizontal position of the camera.
Sets the vertical shift at the start frame, with a default of 0. The range is similar to the horizontal shift, where positive values move the image down and negative values move it up. It adjusts the initial vertical position of the camera.
Defines the rotation angle at the start frame in degrees, with a default of 0. The range is from -360 to 360 degrees. This parameter allows for initial rotational adjustments to the image.
Specifies the zoom level at the start frame, with a default of 1.0. The range is from 0.01 to 10.0, allowing for zooming in or out. It sets the initial scale of the image.
Indicates the horizontal shift at the end frame, with a default of 100. The range is the same as the start_horizontal_shift. This parameter controls the final horizontal position of the camera.
Sets the vertical shift at the end frame, with a default of 0. The range is similar to the start_vertical_shift. It adjusts the final vertical position of the camera.
Defines the rotation angle at the end frame in degrees, with a default of 0. The range is from -360 to 360 degrees. This parameter allows for final rotational adjustments to the image.
Specifies the zoom level at the end frame, with a default of 1.0. The range is from 0.01 to 10.0, allowing for zooming in or out. It sets the final scale of the image.
Determines the point of origin for the zoom effect, with options including "center", "top-left", "top-right", "bottom-left", and "bottom-right". The default is "center". This parameter affects how the zoom is applied relative to the image.
Specifies the padding mode to use when the image is shifted or rotated, with options "color" and "edge". The default is "color". This parameter determines how the empty spaces are filled during transformations.
Defines the background color used when the pad_mode is set to "color". The default is "0, 0, 0", representing RGB values. This parameter is important for maintaining visual consistency when parts of the image are moved out of frame.
The output images are the transformed sequence, reflecting the applied camera movements. This output is crucial for visualizing the animation and ensuring the desired effects are achieved.
The masks output provides additional data that can be used for further processing or compositing, helping to isolate or highlight specific areas of the transformed images.
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.