Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > ComfyUI-Danbooru-Gallery > 多人角色提示词编辑器 (Multi Character Editor)

ComfyUI Node: 多人角色提示词编辑器 (Multi Character Editor)

Class Name

MultiCharacterEditorNode

Category
Danbooru
Author
Aaalice233 (Account age: 2256days)
Extension
ComfyUI-Danbooru-Gallery
Latest Updated
2026-07-26
Github Stars
0.23K

How to Install ComfyUI-Danbooru-Gallery

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

多人角色提示词编辑器 (Multi Character Editor) Description

Specialized component for editing and managing prompts for multiple characters in AI-generated art within ComfyUI framework.

多人角色提示词编辑器 (Multi Character Editor):

The MultiCharacterEditorNode is a specialized component within the ComfyUI framework designed to facilitate the editing and management of prompts for multiple characters in AI-generated art. This node is particularly useful for artists who work with complex scenes involving several characters, as it allows for precise control over the attributes and interactions of each character within a composition. By leveraging this node, you can define specific areas of interest, known as masks, and apply various attributes such as weight, feathering, and blend modes to these areas. This functionality enables a high degree of customization and refinement in the creation of multi-character scenes, ensuring that each character is rendered with the desired emphasis and style. The node's primary goal is to streamline the process of managing multiple character prompts, making it easier to achieve cohesive and visually appealing results in AI art projects.

多人角色提示词编辑器 (Multi Character Editor) Input Parameters:

masks

The masks parameter is a list of dictionaries, each representing a specific area of interest within the image. Each dictionary contains keys such as prompt, x1, x2, y1, y2, weight, feather, and blend_mode. The prompt key holds the text description for the character or element within the mask. The x1, x2, y1, and y2 keys define the coordinates of the mask, with values ranging from 0 to 1, representing the relative position within the image. The weight key adjusts the influence of the mask, with a default value of 1.0. The feather key controls the softness of the mask's edges, and the blend_mode key specifies how the mask interacts with other elements, with options such as normal. Proper configuration of these parameters allows for detailed and nuanced control over the rendering of multiple characters in a scene.

多人角色提示词编辑器 (Multi Character Editor) Output Parameters:

validation_result

The validation_result output parameter provides feedback on the validity of the mask configurations. It returns a JSON response containing a valid boolean indicating whether the masks are correctly configured, along with lists of errors and warnings that describe any issues found during validation. This output is crucial for ensuring that the input parameters are correctly set up, allowing you to make necessary adjustments before proceeding with the rendering process.

多人角色提示词编辑器 (Multi Character Editor) Usage Tips:

  • Ensure that the coordinates for each mask (x1, x2, y1, y2) are within the range of 0 to 1 to avoid errors and ensure proper placement within the image.
  • Utilize the weight parameter to emphasize or de-emphasize certain characters or elements, allowing for a balanced composition that highlights the most important aspects of your scene.
  • Experiment with different blend_mode settings to achieve unique visual effects and interactions between characters and elements in your artwork.

多人角色提示词编辑器 (Multi Character Editor) Common Errors and Solutions:

MASK坐标可能超出范围

  • Explanation: This error occurs when the coordinates of a mask are set outside the valid range of 0 to 1. - Solution: Adjust the x1, x2, y1, and y2 values to ensure they fall within the 0 to 1 range.

MASK坐标无效

  • Explanation: This error indicates that the coordinates for a mask are not logically valid, such as when x1 is greater than or equal to x2 or y1 is greater than or equal to y2.
  • Solution: Verify and correct the coordinate values to ensure x1 is less than x2 and y1 is less than y2.

MASK坐标格式错误

  • Explanation: This error suggests that the format of the mask coordinates is incorrect, possibly due to missing or improperly formatted values.
  • Solution: Review the mask configuration to ensure all coordinate values are present and correctly formatted as floating-point numbers.

多人角色提示词编辑器 (Multi Character Editor) Related Nodes

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

多人角色提示词编辑器 (Multi Character Editor)