π ε€εθ½ζη€Ίθ―ζ‘ 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_profileandrule_namecombinations to discover unique prompt transformations that enhance your creative projects. - Utilize the
original_prompt_inparameter 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.
