Visit ComfyUI Online for ready-to-use ComfyUI environment
Converts text prompts for NovelAI, enhancing structure and aligning output with creative intentions for AI artists.
The PromptToNAID
node is designed to convert textual prompts into a format compatible with NovelAI, a popular AI-driven storytelling and art generation platform. This node takes a user-provided text prompt and applies specific formatting rules to enhance the prompt's structure, making it more suitable for NovelAI's processing. By adjusting the weight of certain elements within the prompt, the node ensures that the generated output aligns more closely with the user's creative intentions. This conversion process is particularly beneficial for AI artists looking to fine-tune their prompts for better control over the generated content, ultimately leading to more accurate and satisfying results.
The text
parameter is a string input that represents the prompt you wish to convert for use with NovelAI. This parameter supports multiline input, allowing you to provide detailed and complex prompts. The forceInput
attribute ensures that this parameter is always required, meaning you must provide a prompt for the node to function. The dynamicPrompts
attribute is set to False
, indicating that the prompt will not dynamically change during the conversion process.
The weight_per_brace
parameter is a floating-point number that determines the weight adjustment applied to elements within the prompt. This weight is used to control the emphasis of certain parts of the prompt by adding or removing braces. The default value is 0.05
, with a minimum value of 0.05
and a maximum value of 0.10
. The step value is 0.05
, allowing for fine-tuned adjustments. By modifying this parameter, you can influence how strongly certain elements of your prompt are emphasized in the final output.
The output of the PromptToNAID
node is a single string that represents the converted prompt. This string is formatted according to NovelAI's requirements, with appropriate weight adjustments applied to various elements within the prompt. The converted prompt is ready for use in NovelAI, ensuring that the generated content aligns more closely with your creative vision.
weight_per_brace
values to see how they affect the emphasis of various elements in your prompt. Start with the default value and make incremental adjustments to achieve the desired effect.(
has a corresponding closing parenthesis )
and that they are used correctly within the context of your prompt.weight_per_brace
parameter is set to a value outside the allowed range (0.05 to 0.10).weight_per_brace
parameter to a value within the specified range. The default value is 0.05
, and you can increase it in increments of 0.05
up to a maximum of 0.10
.© Copyright 2024 RunComfy. All Rights Reserved.