Visit ComfyUI Online for ready-to-use ComfyUI environment
Create customized AI model instructions with system and instruction prompts for clear guidance and enhanced performance.
The MZ_CustomizeInstruct
node is designed to help you create customized instructions for your AI models. This node allows you to input a system prompt and an instruction prompt, which can be used to guide the behavior and responses of your AI models. By providing a structured way to input these prompts, the node ensures that your instructions are clear and effective, enhancing the overall performance and output of your AI models. This node is particularly useful for AI artists who want to fine-tune the instructions given to their models, ensuring that the generated content aligns with their creative vision.
The system
parameter is a string input that allows you to provide a system-level prompt. This prompt can include multiple lines of text and serves as the foundational instruction set for your AI model. The default value for this parameter is a long prompt defined in the mz_prompts
module. This parameter is crucial for setting the overall context and guidelines that your AI model will follow.
The instruct
parameter is a string input that allows you to provide specific instructions for your AI model. This prompt can also include multiple lines of text and is used to fine-tune the behavior of your model based on the system-level prompt. The default value for this parameter is an empty string, allowing you to customize it as needed. This parameter is essential for providing detailed and specific guidance to your AI model.
The customize_instruct
output parameter returns a dictionary containing the customized instructions you have provided. This dictionary includes both the system and instruction prompts, which can be used by other nodes or processes to guide the behavior of your AI model. This output is crucial for ensuring that your AI model follows the specific guidelines and instructions you have set.
system
parameter to set a broad context for your AI model, ensuring that it understands the general guidelines and objectives.instruct
parameter to provide specific, detailed instructions that fine-tune the behavior of your AI model, making it more aligned with your creative vision.system
parameter is required and cannot be left empty.system
parameter.instruct
parameter must be a string and can include multiple lines of text.instruct
parameter is correctly formatted as a string and includes the necessary instructions.system
and instruct
parameters to better align with your desired output. Experiment with different prompts to find the most effective combination.© Copyright 2024 RunComfy. All Rights Reserved.