📐 Krea2 BBOX Canvas:
Krea2ElementFramingV1Canvas is a node designed to facilitate the creation and management of bounding box (BBOX) elements within a canvas environment. This node is particularly useful for AI artists who need to organize and frame elements in a structured manner, allowing for precise control over the layout and presentation of visual components. By leveraging this node, you can define the dimensions and layout of your canvas, incorporate camera settings, and manage grid modes, all of which contribute to a more organized and visually appealing output. The node's primary goal is to streamline the process of setting up a canvas with specific framing requirements, making it easier to achieve the desired artistic effect while maintaining consistency and accuracy in the placement of elements.
📐 Krea2 BBOX Canvas Input Parameters:
width
The width parameter specifies the width of the canvas in pixels. It determines the horizontal dimension of the canvas and directly impacts the overall size of the visual output. The width should be set according to the desired aspect ratio and resolution of the final artwork. There is no explicit minimum or maximum value provided, but it should be chosen based on the requirements of your project.
height
The height parameter defines the height of the canvas in pixels. Similar to the width, it affects the vertical dimension of the canvas and plays a crucial role in determining the aspect ratio and resolution of the final output. The height should be selected to complement the width and achieve the desired visual proportions.
preset
The preset parameter allows you to select a predefined set of canvas dimensions and settings. This can be particularly useful for quickly setting up a canvas with commonly used configurations, saving time and ensuring consistency across projects. The available presets are not specified, but they typically include standard sizes for various applications.
layout_data
The layout_data parameter is a JSON string that contains information about the layout of elements within the canvas. It includes details such as the positions and dimensions of bounding boxes, enabling precise control over the arrangement of visual components. This parameter is essential for defining the structure and organization of the canvas.
camera_data
The camera_data parameter is a JSON string that provides information about the camera settings used in the canvas. It includes details such as camera angles and positions, which can influence the perspective and depth of the visual output. Proper configuration of camera data is crucial for achieving the desired artistic effect.
grid_mode
The grid_mode parameter determines whether a grid is displayed on the canvas and how it is configured. Grids can be useful for aligning elements and maintaining consistent spacing, aiding in the overall composition of the artwork. The specific options for grid mode are not detailed, but they typically include settings for grid visibility and spacing.
ui_language
The ui_language parameter specifies the language used for the user interface. This can be set to Auto to automatically detect the language or manually selected to match your preferences. The language setting affects the display of text and labels within the node's interface.
camera_set_data
The camera_set_data parameter is a JSON string that contains information about different camera sets available for the canvas. It includes details such as the available sets and the currently selected set, allowing for easy switching between different camera configurations.
canvas_preset_data
The canvas_preset_data parameter is a JSON string that provides information about different canvas presets available for use. It includes details such as the available presets and the currently selected preset, facilitating quick changes to the canvas configuration.
📐 Krea2 BBOX Canvas Output Parameters:
data
The data output parameter is a JSON string that encapsulates all the configuration details of the canvas, including its dimensions, layout, camera settings, grid mode, and language preferences. This comprehensive data output allows for easy sharing and replication of the canvas setup, ensuring consistency across different projects or sessions.
📐 Krea2 BBOX Canvas Usage Tips:
- Utilize the
presetparameter to quickly set up your canvas with commonly used dimensions and settings, saving time and ensuring consistency. - Carefully configure the
layout_dataandcamera_dataparameters to achieve the desired arrangement and perspective of elements within your canvas.
📐 Krea2 BBOX Canvas Common Errors and Solutions:
Invalid JSON Format
- Explanation: This error occurs when the JSON string provided for parameters like
layout_data,camera_data,camera_set_data, orcanvas_preset_datais not properly formatted. - Solution: Ensure that all JSON strings are correctly formatted, with proper syntax and structure. Use a JSON validator to check for errors before inputting the data.
Missing Required Parameters
- Explanation: This error arises when one or more required parameters are not provided, leading to incomplete configuration of the canvas.
- Solution: Double-check that all necessary parameters, such as
width,height, andlayout_data, are specified and correctly inputted before executing the node.
