ComfyUI Extension: AF - Edit Generated Prompt
A ComfyUI custom node that allows you to pipe a generated prompt and either pass it as is, or copy and edit it manually. Or you can use the lower input field like any regular text input filed. The content of the lower text field will always dominate the output of the node.
Custom Nodes (0)
README
ComfyUI-AF-EditGeneratedPrompt
A ComfyUI custom node that allows you to pipe a generated prompt and either pass it as is, or copy and edit it manually. Or you can use the lower input field like any regular text input filed. The content of the lower text field will always dominate the output of the node.
Features
- Display generated prompts in a readonly field
- Copy button for easy editing
- Prioritizes manual edits over original input
- Clean, user-friendly interface
Installation
Via ComfyUI Manager (Recommended)
- Open ComfyUI Manager
- Search for "AF Edit Generated Prompt"
- Install
Manual Installation
- Clone this repository into your
ComfyUI/custom_nodes/
directory:cd ComfyUI/custom_nodes/ git clone https://github.com/yourusername/ComfyUI-AF-EditGeneratedPrompt.git
Usage
- Add the "AF - Edit Generated Prompt" node to your workflow
- Connect a text input to the input_text input
- After running the workflow, the generated prompt will be displayed in the readonly field
- Use the "Copy Generated Prompt to Edit it" button to copy to the editable field
- Edit as needed - the edited version will be output if present, otherwise the generated prompt will be used
Version History
v0.0.14: Current version with improved UI and stability
Disclaimer
This custom node was written with the help of AI.