ComfyUI Node
Construct LLM Prompt
Construct a prompt for an LLM based on the provided image and prompt.
Construct LLM Prompt
- prompt
◄prompt▾►
◄extra_instructions►
◄adult_contentfalse►
◄avoid_euphemismsfalse►
◄avoid_flowery_languagefalse►
◄be_specificfalse►
◄erotic_imageryfalse►
◄exaggerate_qualityfalse►
◄exclude_sexualfalse►
◄exclude_watermarksfalse►
◄non_technicalfalse►
◄only_describe_key_elementsfalse►
◄only_output_descriptiontrue►
◄use_vulgar_languagefalse►
CategorySage Utils/LLM
Inputs (14)
| Name | Type | Default | Description |
|---|---|---|---|
| prompt | COMBO | The base prompt template to construct. | |
| extra_instructions | STRING | Additional instructions to append to the generated prompt. | |
| adult_content | BOOLEAN | false | Adult Content |
| avoid_euphemisms | BOOLEAN | false | Avoid Euphemisms |
| avoid_flowery_language | BOOLEAN | false | Avoid Flowery Language |
| be_specific | BOOLEAN | false | Be Specific |
| erotic_imagery | BOOLEAN | false | Erotic Imagery |
| exaggerate_quality | BOOLEAN | false | Exaggerate Image Quality |
| exclude_sexual | BOOLEAN | false | Exclude Sexual Content |
| exclude_watermarks | BOOLEAN | false | Exclude Watermarks |
| non_technical | BOOLEAN | false | Non-technical Terms |
| only_describe_key_elements | BOOLEAN | false | Describe Key Elements Only |
| only_output_description | BOOLEAN | true | Only Output Description |
| use_vulgar_language | BOOLEAN | false | Use Vulgar Slang and Profanity |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| prompt | STRING | The constructed LLM prompt. |