ComfyUI > Nodes > ComfyUI_XISER_Nodes > Canvas Config

ComfyUI Node: Canvas Config

Class Name

XIS_CanvasConfig

Category
XISER_Nodes/UI_And_Control
Author
grinlau18 (Account age: 944days)
Extension
ComfyUI_XISER_Nodes
Latest Updated
2026-03-20
Github Stars
0.03K

How to Install ComfyUI_XISER_Nodes

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

Canvas Config Description

Configures canvas settings for AI artists, allowing customization of size and color for projects.

Canvas Config:

The XIS_CanvasConfig node is designed to configure the canvas settings for your creative projects, providing a flexible and user-friendly interface to define the canvas dimensions and appearance. This node is particularly beneficial for AI artists who want to customize their workspace to suit specific artistic needs. By allowing you to set parameters such as canvas size and color, it ensures that your digital canvas is tailored to your preferences, enhancing your creative workflow. The node's primary goal is to offer a straightforward method to establish a canvas configuration that can be easily integrated into your artistic process, making it an essential tool for managing visual elements in your projects.

Canvas Config Input Parameters:

board_width

The board_width parameter allows you to specify the width of the canvas in pixels. This setting is crucial as it determines the horizontal space available for your artwork. You can set the width between a minimum of 256 pixels and a maximum of 8192 pixels, with a default value of 1024 pixels. Adjusting this parameter impacts the overall layout and detail level of your canvas, enabling you to create artworks that fit your desired dimensions.

board_height

The board_height parameter defines the height of the canvas in pixels, complementing the board_width to establish the overall size of your workspace. Like the width, the height can be set between 256 and 8192 pixels, with a default of 1024 pixels. This parameter is essential for determining the vertical space for your creations, allowing you to tailor the canvas to your artistic vision.

canvas_color

The canvas_color parameter lets you choose the background color of your canvas, offering options such as "black," "white," and "transparent." The default color is "black." This setting affects the visual contrast and mood of your artwork, providing a foundational color scheme that can enhance or complement your creative elements.

auto_size

The auto_size parameter controls whether the canvas size should automatically adjust based on the content. You can toggle this feature "on" or "off," with the default setting being "off." Enabling auto-size can be useful for dynamic projects where the canvas needs to adapt to varying content sizes, ensuring that your artwork is always optimally displayed.

Canvas Config Output Parameters:

canvas_config

The canvas_config output parameter provides a comprehensive configuration object that encapsulates all the settings defined by the input parameters. This output is crucial as it serves as a blueprint for the canvas, ensuring that all specified dimensions and properties are applied consistently across your project. It allows for seamless integration with other nodes or systems that require a defined canvas setup.

Canvas Config Usage Tips:

  • To optimize your canvas for detailed artwork, consider setting the board_width and board_height to higher values, allowing for more intricate designs and finer details.
  • Use the canvas_color parameter to set a background that complements your artwork's color palette, enhancing the overall aesthetic and visual impact.
  • If your project involves dynamic content, enabling the auto_size feature can help maintain an optimal canvas size, preventing unnecessary cropping or scaling issues.

Canvas Config Common Errors and Solutions:

Invalid canvas size

  • Explanation: This error occurs when the specified board_width or board_height is outside the allowed range of 256 to 8192 pixels.
  • Solution: Ensure that both the width and height are set within the valid range to avoid this error.

Unsupported canvas color

  • Explanation: This error arises if a color other than "black," "white," or "transparent" is selected for the canvas_color parameter.
  • Solution: Choose a valid color option from the provided list to resolve this issue.

Auto-size conflict

  • Explanation: This error may occur if the auto_size feature is enabled but conflicts with fixed dimensions set for the canvas.
  • Solution: Review your canvas size settings and adjust them to ensure compatibility with the auto-size feature, or disable auto-size if fixed dimensions are required.

Canvas Config Related Nodes

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

Canvas Config