ComfyUI Node
TextGen WebUI FLUX Kontext Enhancer
🤖 Kontext Super Prompt TextGen WebUI Enhancer - Generates optimized structured editing instructions via Text Generation WebUI models
TextGen WebUI FLUX Kontext Enhancer
- image
- flux_edit_instructions
- system_prompt
◄layer_info►
◄edit_description►
◄modeltextgen-webui-model-not-found►
◄auto_unload_modelfalse►
◄editing_intentgeneral_editing►
◄processing_styleauto_smart►
◄urlhttp://127.0.0.1:5000►
◄temperature0.7►
◄seed42►
◄enable_visual_analysisfalse►
◄load_saved_guidancenone►
◄save_guidancefalse►
◄guidance_nameMy Guidance►
◄custom_guidance►
Categorykontext_super_prompt/ai_enhanced
Inputs (15)
| Name | Type | Default | Description |
|---|---|---|---|
| layer_info | STRING | Annotation JSON data from Super Canvas. Can be left empty if only using Edit Description. | |
| edit_description | STRING | Describe the editing operations to perform. This will be combined with annotation data to generate precise instructions. | |
| model | COMBO | textgen-webui-model-not-found | Select a TextGen WebUI model. The list is fetched in real-time from the TextGen WebUI service. |
| auto_unload_model | BOOLEAN | false | Automatically unload the model after generation to free up memory. Keep unchecked to maintain the model loaded throughout the session. |
| editing_intent | COMBO | general_editing | Select your editing intent: What type of result do you want to achieve? The AI will automatically choose the best technical approach based on your intent. |
| processing_style | COMBO | auto_smart | Select the AI processing style: auto_smart will intelligently choose the best approach, others provide specific processing styles. |
| imageopt | IMAGE | Optional: Image for visual analysis (only for multimodal models). | |
| urlopt | STRING | http://127.0.0.1:5000 | TextGen WebUI service address. |
| temperatureopt | FLOAT | 0.70.1–1 | Controls creativity. Higher values mean more creative responses. |
| seedopt | INT | 420–4294967295 | Seed for controlling randomness. Use the same seed for reproducible results. |
| enable_visual_analysisopt | BOOLEAN | false | Enable visual analysis (only effective for multimodal models that support vision). |
| load_saved_guidanceopt | COMBO | none | Load previously saved custom guidance (used when processing_style is 'custom_guidance'). |
| save_guidanceopt | BOOLEAN | false | Enable to save the current custom guidance text to a file. |
| guidance_nameopt | STRING | My Guidance | The name of the file to save the guidance to. |
| custom_guidanceopt | STRING | Enter custom AI guidance instructions (used when processing_style is 'custom_guidance'). |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| flux_edit_instructions | STRING | — |
| system_prompt | STRING | — |