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-Anima-Wardrobe-V4 > Anima 提示词拼接台(V4)

ComfyUI Node: Anima 提示词拼接台(V4)

Class Name

AnimaV4PromptAssemble

Category
AnimaWardrobeV3
Author
lingdongbudong (Account age: 85days)
Extension
Comfyui-Anima-Wardrobe-V4
Latest Updated
2026-11-04
Github Stars
0.05K

How to Install Comfyui-Anima-Wardrobe-V4

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

Anima 提示词拼接台(V4) Description

Appends or merges image prompt tags with deduplication, conflict resolution, and content filtering.

Anima 提示词拼接台(V4):

AnimaV4PromptAssemble, displayed as “Anima 提示词拼接台(V4),” combines an existing image prompt with additional text, making it useful when you want to personalize a randomly generated prompt without rebuilding it from scratch. It offers straightforward text appending, tag-based merging with duplicate removal, and a bypass option for keeping only the original prompt. In merge mode, it keeps the first occurrence of each tag, preserves the relative order of retained tags, and applies the plugin’s mutual-exclusion rules to resolve recognized conflicts between descriptions. It can also remove tags above a selected content level when merging. Its purpose is prompt assembly rather than prompt generation, comprehensive checking, or rewriting: it does not invent replacement descriptions or provide a diagnostic report. This lets you combine generated material and your own artistic choices while choosing how much cleanup to apply.

Anima 提示词拼接台(V4) Input Parameters:

main

A required STRING containing the primary prompt, with an empty string as its default and a multiline text field for editing. No minimum or maximum length is specified in the supplied code. You can use it for a generated prompt or your own starting description. Before any mode is applied, the node removes surrounding whitespace and trailing commas. In append mode, this text comes before the supplementary text; in merge mode, its comma-separated tags are processed first, giving their first occurrences priority during duplicate removal. This ordering does not guarantee that every primary tag survives the later conflict-resolution or content-level filtering steps. In main-only mode, or whenever the supplementary text is empty after initial cleanup, the node returns this cleaned primary text without tag-level processing.

supplement

A required STRING containing the text you want to add to the primary prompt, with an empty string as its default and support for multiline editing. No minimum or maximum length is specified in the supplied code. You can use it to add details such as lighting, accessories, background, or style. The node removes surrounding whitespace and trailing commas before using it. In append mode, it is placed after the primary text with a comma and space between them when both are present. In merge mode, it is split into comma-separated tags and combined with the primary tags, excluding duplicates before resolving recognized conflicts. Main-only mode ignores it completely. If it is empty after cleanup, the node immediately returns the cleaned primary prompt, so duplicate removal, conflict resolution, and content-level filtering do not run.

mode

A required selection controlling how the two text fields are handled. Its exact options are “追加到末尾” (append to the end), “合并去重” (merge and deduplicate), and “仅透传 main” (pass through main only). The source does not explicitly declare a default; “追加到末尾” is the first listed option. “追加到末尾” joins the cleaned texts without removing repeated tags, changing capitalization, resolving conflicts, or filtering by content level. “合并去重” splits both texts at commas, trims and lowercases each tag, discards empty entries and repeated tags, preserves first-occurrence order, and then applies recognized mutual-exclusion rules; content-level filtering follows if a limit is selected. “仅透传 main” returns only the cleaned primary text. Choose append for minimal intervention, merge for tag cleanup, and main-only for temporarily bypassing your additions.

max_level

An optional selection that limits the content level of retained tags in merge mode. Its default is “不限” (no limit), and its options are “不限” followed by the entries in the plugin’s LEVEL_CHOICES list. The supplied source does not show that list’s complete contents, so the exact remaining labels and minimum or maximum selectable levels cannot be reliably enumerated here. With “不限,” no content-level filtering is applied. With a level selected, the node removes tags whose calibrated plugin level exceeds that limit, after duplicate removal and conflict resolution. This uses the calibrated tag-level rules associated with prompt-generation eligibility, rather than the grader’s raw classification alone. The setting has no effect in append mode, main-only mode, or when the supplementary text is empty after cleanup. Treat it as a tag filter, not a guarantee that an entire prompt has passed a comprehensive content review.

Anima 提示词拼接台(V4) Output Parameters:

text

A STRING containing the assembled prompt, suitable for passing to a text-display node or a compatible prompt-text input in your image-generation workflow. Its contents depend on the selected mode: append mode returns the cleaned texts joined together, merge mode returns the retained lowercase tags separated by a comma and a space, and main-only mode returns just the cleaned primary text. If the supplementary text is empty after cleanup, the output also contains only the cleaned primary text, regardless of mode. Merge results may contain fewer tags because duplicates, recognized conflicts, and optionally over-limit tags have been removed. An empty string is possible when there is no usable text or no tags remain after processing. This is the node’s only output; it does not include a list of removed tags, a content-level score, or an explanation of cleanup decisions.

Anima 提示词拼接台(V4) Usage Tips:

  • Choose “合并去重” for comma-separated tag prompts when you want repeated tags removed. For example, main text “portrait, soft lighting” and supplementary text “soft lighting, garden” produce “portrait, soft lighting, garden,” assuming no additional rule removes those tags.
  • Choose “追加到末尾” when preserving capitalization and repeated wording matters more than cleanup. This mode does not perform tag-level normalization, conflict resolution, or content-level filtering.
  • Use “仅透传 main” to compare your original prompt against a supplemented version without deleting your additions. Switch back to append or merge when you want to include them again.
  • To apply max_level, select “合并去重” and provide supplementary text that remains nonempty after whitespace and trailing-comma cleanup. Leaving supplement empty bypasses the filtering step, even if you selected a content limit.
  • Use ordinary commas to separate tags in merge mode. Line breaks alone are not treated as tag separators, and commas inside prose are treated as tag boundaries.
  • Keep descriptions compatible before merging whenever possible. Conflict resolution can remove recognized incompatible tags, but the supplied class does not establish a universal rule that your supplementary wording always overrides the primary prompt.
  • Use AnimaV4PromptGrader to inspect content-level classification or AnimaV4PromptCheck for diagnostic checking and supported repairs. The assembler itself returns text only and does not explain which rules affected it.

Anima 提示词拼接台(V4) Common Errors and Solutions:

Duplicate tags remain in the output

  • Explanation: This is a behavior issue rather than an explicit error message. Append mode does not remove duplicates, and an empty supplement causes the node to return main before merge cleanup runs. In merge mode, duplicate detection compares trimmed, lowercase tag text; differently spelled descriptions are not necessarily treated as duplicates.
  • Solution: Select “合并去重,” ensure supplement contains nonempty text, and use consistent tag spelling. If you only need to clean a single prompt, be aware of the empty-supplement bypass and consider a dedicated cleanup or checking node.

max_level does not remove tags

  • Explanation: Content-level filtering runs only in merge mode after a nonempty supplement has been processed. It does not run in append mode, main-only mode, or the empty-supplement shortcut. The default “不限” also disables this filtering.
  • Solution: Select “合并去重,” choose a specific max_level rather than “不限,” and check that supplement is nonempty after cleanup. Use a checking node if your goal is to review or repair a standalone prompt.

Capital letters disappear after merging

  • Explanation: Merge mode deliberately converts every comma-separated tag to lowercase before checking for duplicates. This is normal behavior, not an execution error.
  • Solution: Use “追加到末尾” if you need to preserve capitalization. Remember that append mode also skips duplicate removal, conflict resolution, and content-level filtering.

Tags disappear from the assembled prompt

  • Explanation: Merge mode removes repeated tags, applies recognized mutual-exclusion rules, and may remove tags above max_level. The node does not output a removal report, so the reason is not shown alongside the result.
  • Solution: Compare the input and output text, temporarily choose “不限” to isolate content-level filtering, and use append mode as a comparison that avoids tag-level cleanup. Resolve contradictory descriptions manually when you need precise control.

Supplementary text is missing

  • Explanation: “仅透传 main” intentionally ignores supplement. Supplementary tags may also disappear in merge mode if they duplicate earlier tags, conflict with recognized descriptions, or exceed the selected level.
  • Solution: Check mode first. Select “追加到末尾” to verify that your supplementary text is present, then switch to merge mode and review whether the additions are duplicates or conflicting descriptions.

The output is empty

  • Explanation: Empty or whitespace-only inputs can produce an empty string. Main-only mode also returns an empty result when main is empty, regardless of supplement. In merge mode, conflict handling or content-level filtering may leave no retained tags.
  • Solution: Add visible prompt text, confirm that the selected mode includes the field you filled in, and test with “不限” or append mode to determine whether filtering is removing the content.

Multiline text is not separated into individual tags

  • Explanation: Although both text fields support multiline editing, merge mode splits tags only at commas. A line break does not create a separate tag, and semicolons are not recognized as separators either.
  • Solution: Separate tags with ordinary commas, such as “portrait, garden, soft lighting.” Use append mode when you want to combine prose without tag-based processing.

Node missing: Anima 提示词拼接台(V4)

  • Explanation: This is a possible ComfyUI loading symptom, not an error message raised by the assembler’s method. It means the node type was not successfully registered in the running installation. The supplied mappings register AnimaV4PromptAssemble and retain AnimaV3PromptAssemble as an alias of the same class.
  • Solution: Confirm that Comfyui-Anima-Wardrobe-V4 is installed in the custom_nodes directory of the ComfyUI instance you are running, restart ComfyUI, and inspect the startup log for plugin import errors. If an older workflow uses the V3 name, check that your installed version includes the compatibility alias.

Anima 提示词拼接台(V4) Related Nodes

Go back to the extension to check out more related nodes.
Comfyui-Anima-Wardrobe-V4
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.

Anima 提示词拼接台(V4)