ComfyUI > Nodes > ComfyUI Level Pixel > Extend Factor Parameters [LP]

ComfyUI Node: Extend Factor Parameters [LP]

Class Name

ExtendFactorParameters|LP

Category
LevelPixel/Inpaint
Author
LevelPixel (Account age: 647days)
Extension
ComfyUI Level Pixel
Latest Updated
2026-02-24
Github Stars
0.03K

How to Install ComfyUI Level Pixel

Install this extension via the ComfyUI Manager by searching for ComfyUI Level Pixel
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI Level Pixel 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

Extend Factor Parameters [LP] Description

Facilitates image canvas extension by specifying independent side extension factors for outpainting.

Extend Factor Parameters [LP]| Extend Factor Parameters [LP]:

The ExtendFactorParameters| Extend Factor Parameters [LP] node is designed to facilitate the process of image manipulation by allowing you to specify extension factors for different sides of an image. This node is particularly useful in scenarios where you need to extend the canvas of an image for tasks such as outpainting, which involves expanding the image beyond its original boundaries. By providing a flexible and user-friendly interface, this node enables you to control the degree of extension on the top, bottom, left, and right sides of an image independently. This capability is essential for artists and designers who wish to create seamless extensions of their artwork or images, ensuring that the extended areas blend naturally with the existing content. The node's primary function is to gather these extension parameters and prepare them for further processing in the image manipulation pipeline.

Extend Factor Parameters [LP]| Extend Factor Parameters [LP] Input Parameters:

extend_up_factor

The extend_up_factor parameter determines the factor by which the top side of the image will be extended. It allows you to specify a floating-point value between 0.01 and 100.0, with a default value of 1.0. This parameter is crucial for controlling how much additional space is added to the top of the image, which can be useful for creating more vertical space in your artwork or design.

extend_down_factor

The extend_down_factor parameter controls the extension factor for the bottom side of the image. Similar to the extend_up_factor, it accepts a floating-point value ranging from 0.01 to 100.0, with a default of 1.0. Adjusting this parameter allows you to add more space to the bottom of the image, which can be beneficial for compositions that require additional content or context below the original image.

extend_left_factor

The extend_left_factor parameter specifies the extension factor for the left side of the image. It takes a floating-point value between 0.01 and 100.0, with a default setting of 1.0. This parameter is essential for expanding the image horizontally to the left, providing more room for creative elements or to balance the composition.

extend_right_factor

The extend_right_factor parameter defines the extension factor for the right side of the image. Like the other extension factors, it accepts a floating-point value from 0.01 to 100.0, with a default value of 1.0. This parameter is useful for extending the image to the right, allowing for additional content or to enhance the overall layout of the image.

Extend Factor Parameters [LP]| Extend Factor Parameters [LP] Output Parameters:

extend_factor_data

The extend_factor_data output parameter is a dictionary containing the extension factors for all four sides of the image: top, bottom, left, and right. This output is crucial as it encapsulates the user-defined extension settings, which can then be utilized by subsequent nodes in the image processing pipeline to apply the desired extensions to the image. The data provided by this output ensures that the image is extended according to the specified parameters, maintaining consistency and accuracy in the manipulation process.

Extend Factor Parameters [LP]| Extend Factor Parameters [LP] Usage Tips:

  • To achieve a balanced extension, consider using similar values for all four extension factors unless a specific directional extension is desired.
  • Experiment with different extension factors to see how they affect the composition and balance of your image, especially when working with asymmetrical designs.

Extend Factor Parameters [LP]| Extend Factor Parameters [LP] Common Errors and Solutions:

ValueError: Extension factor out of range

  • Explanation: This error occurs when an extension factor is set outside the allowed range of 0.01 to 100.0.
  • Solution: Ensure that all extension factors are within the specified range. Adjust any values that fall outside this range to prevent the error.

AssertionError: Batch mode required for multiple images

  • Explanation: This error is triggered when attempting to process a batch of images without enabling batch mode.
  • Solution: Enable batch mode when processing multiple images to ensure that all images are extended consistently and without errors.

Extend Factor Parameters [LP] Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI Level Pixel
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.

Extend Factor Parameters [LP]