Visit ComfyUI Online for ready-to-use ComfyUI environment
Generate detailed and contextually rich text prompts using GPT models for AI artists.
The Text2GPTPrompt
node is designed to facilitate the generation of detailed and contextually rich text prompts using GPT models. This node is particularly useful for AI artists who need to create intricate and descriptive prompts for various creative tasks, such as generating detailed picture descriptions or supplementary descriptions. By leveraging the power of GPT, this node helps you craft high-quality text outputs that can enhance your creative projects. The node allows you to input multiple text segments and prefixes, and it combines them with a main prompt to produce a cohesive and comprehensive output. Additionally, it offers options to print the generated text for review, making it a versatile tool for refining and perfecting your prompts.
This parameter is a string that serves as the main prompt for the text generation. It can be multiline and has a default value that instructs the model to use English and add detailed picture descriptions within 77 words. This prompt sets the context and guides the overall direction of the generated text.
This parameter is a string that allows you to input the first segment of text. It can be multiline, enabling you to provide detailed content that will be incorporated into the final output.
This parameter is a string that allows you to input the second segment of text. Like text1
, it can be multiline, allowing for detailed and rich content to be included in the generated text.
This parameter is a string that serves as a prefix for text1
. It can be multiline and has a default value of "Picture Description:". This prefix helps to categorize and contextualize the first segment of text within the final output.
This parameter is a string that serves as a prefix for text2
. It can be multiline and has a default value of "Supplementary Description:". This prefix helps to categorize and contextualize the second segment of text within the final output.
This parameter is a choice between "enable" and "disable", with a default value of "disable". When set to "enable", the generated text will be printed to the console, allowing you to review the output immediately.
The output of this node is a single string that combines the main prompt, text1
with its prefix, and text2
with its prefix. This comprehensive output is designed to be used directly in your creative projects, providing a detailed and contextually rich text prompt.
text1
and text2
. The more detailed your input, the richer the generated output will be.print_output
option to review the generated text immediately. This can help you make quick adjustments and refinements to your input parameters for optimal results.text1
and text2
to see how they influence the final output. Customizing these prefixes can help you achieve the desired tone and context for your prompts.text1
and text2
exceeds the model's maximum token limit.text1
and text2
to ensure they fit within the model's token limit.print_output
parameter is set to "disable".print_output
parameter to "enable" if you want the generated text to be printed to the console for review.ยฉ Copyright 2024 RunComfy. All Rights Reserved.