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-Magic-Assistant > πŸ“ ε€šεŠŸθƒ½ζη€Ίθ―ζ‘† Magic Multi-Function Prompt Box

ComfyUI Node: πŸ“ ε€šεŠŸθƒ½ζη€Ίθ―ζ‘† Magic Multi-Function Prompt Box

Class Name

MagicPromptBox

Category
✨ Magic Assistant
Author
shigjfg (Account age: 3708days)
Extension
ComfyUI-Magic-Assistant
Latest Updated
2026-06-02
Github Stars
0.02K

How to Install ComfyUI-Magic-Assistant

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

πŸ“ ε€šεŠŸθƒ½ζη€Ίθ―ζ‘† Magic Multi-Function Prompt Box Description

Enhance AI-generated content with versatile prompt manipulation node for nuanced and sophisticated results.

πŸ“ ε€šεŠŸθƒ½ζη€Ίθ―ζ‘† Magic Multi-Function Prompt Box:

MagicPromptBox is a versatile node designed to enhance your AI-generated content by allowing you to manipulate and refine prompts with ease. This node serves as a multi-function prompt box, enabling you to input original prompts and apply various modifications through a set of rules and configurations. By leveraging the capabilities of large language models (LLMs), MagicPromptBox can dynamically replace parts of your prompts based on specified tags and rules, ensuring that your creative output is both unique and aligned with your artistic vision. The node is particularly beneficial for AI artists looking to experiment with different prompt variations and achieve more nuanced and sophisticated results in their AI-generated artworks.

πŸ“ ε€šεŠŸθƒ½ζη€Ίθ―ζ‘† Magic Multi-Function Prompt Box Input Parameters:

original_prompt

This parameter allows you to input the initial text or prompt that you wish to modify. It supports multiline input, enabling you to work with complex and detailed prompts. The original prompt serves as the foundation for any modifications applied by the node. There are no specific minimum or maximum values, but the content should be meaningful and relevant to your creative goals.

replace_tag

The replace_tag parameter specifies the new content or text that will replace parts of the original prompt. This allows for targeted modifications, enabling you to experiment with different themes or concepts. Like the original_prompt, it supports multiline input, providing flexibility in the content you wish to introduce.

llm_profile

This parameter lets you select from a list of available large language model profiles. Each profile represents a different configuration or version of an LLM, which can influence the style and nature of the prompt modifications. The selection of an appropriate LLM profile is crucial for achieving the desired output.

rule_name

The rule_name parameter allows you to choose from a list of predefined rules that dictate how the prompt modifications should be applied. These rules can range from simple text replacements to more complex transformations, providing a structured approach to prompt manipulation.

original_prompt_in

This optional parameter provides an external input for the original prompt. If connected, it overrides the original_prompt parameter, allowing for dynamic input from other nodes or sources. This feature is useful for integrating MagicPromptBox into larger workflows where prompts are generated or modified by other processes.

prompt_config_json

This hidden parameter is used to store additional configuration settings in JSON format. It is primarily intended for advanced users who need to customize the node's behavior beyond the standard input parameters.

πŸ“ ε€šεŠŸθƒ½ζη€Ίθ―ζ‘† Magic Multi-Function Prompt Box Output Parameters:

modified_prompt

The modified_prompt is the primary output of the MagicPromptBox node. It represents the transformed version of the original prompt after applying the specified tags, rules, and LLM profile. This output is crucial for AI artists as it provides the refined text that can be used in subsequent creative processes, ensuring that the final artwork aligns with the intended artistic direction.

πŸ“ ε€šεŠŸθƒ½ζη€Ίθ―ζ‘† Magic Multi-Function Prompt Box Usage Tips:

  • Experiment with different llm_profile and rule_name combinations to discover unique prompt transformations that enhance your creative projects.
  • Utilize the original_prompt_in parameter to integrate MagicPromptBox into complex workflows, allowing for dynamic and automated prompt modifications.

πŸ“ ε€šεŠŸθƒ½ζη€Ίθ―ζ‘† Magic Multi-Function Prompt Box Common Errors and Solutions:

API Error: <error_message>

  • Explanation: This error occurs when there is an issue with the API call, possibly due to network problems or incorrect API configurations.
  • Solution: Check your network connection and ensure that the API configurations are correct. Retry the operation after verifying these settings.

Error: <error_message>

  • Explanation: This generic error message indicates that an unexpected issue has occurred during the prompt processing.
  • Solution: Review the input parameters for any inconsistencies or errors. Ensure that all required fields are correctly filled and that the selected LLM profile and rules are valid.

πŸ“ ε€šεŠŸθƒ½ζη€Ίθ―ζ‘† Magic Multi-Function Prompt Box Related Nodes

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

πŸ“ ε€šεŠŸθƒ½ζη€Ίθ―ζ‘† Magic Multi-Function Prompt Box