Updated README, added screenshots, added workflow examples
- Updated the README - Added screenshots (local storage, not Github image paste - Added workflow examples
This commit is contained in:
@@ -0,0 +1 @@
|
||||
{"id":"b2be4688-a078-42ef-bd09-bcd14a89bde2","revision":0,"last_node_id":49,"last_link_id":19,"nodes":[{"id":10,"type":"AF_Edit_Generated_Prompt","pos":[1414,410],"size":[930,390],"flags":{},"order":2,"mode":0,"inputs":[{"localized_name":"input_text","name":"input_text","shape":7,"type":"STRING","link":18},{"localized_name":"generated_prompt","name":"generated_prompt","type":"STRING","widget":{"name":"generated_prompt"},"link":null},{"localized_name":"manual_or_paste_generated","name":"manual_or_paste_generated","type":"STRING","widget":{"name":"manual_or_paste_generated"},"link":null}],"outputs":[{"localized_name":"STRING","name":"STRING","type":"STRING","links":[19]}],"properties":{"aux_id":"alFrame/ComfyUI-AF-Pack-Prompt-Nodes","ver":"19497b5c8a39ac5aab32692a226489d40d32b2a0","Node name for S&R":"AF_Edit_Generated_Prompt","ue_properties":{"widget_ue_connectable":{},"input_ue_unconnectable":{},"version":"7.4"}},"widgets_values":["No input connected","","","",""],"color":"#232","bgcolor":"#353"},{"id":49,"type":"PrimitiveStringMultiline","pos":[2396,410],"size":[590,250],"flags":{},"order":3,"mode":0,"inputs":[{"localized_name":"value","name":"value","type":"STRING","widget":{"name":"value"},"link":19}],"outputs":[{"localized_name":"STRING","name":"STRING","type":"STRING","links":[]}],"title":"Output from AF - Edit Generated Prompt Node","properties":{"cnr_id":"comfy-core","ver":"0.3.67","Node name for S&R":"PrimitiveStringMultiline","ue_properties":{"widget_ue_connectable":{},"input_ue_unconnectable":{},"version":"7.4"}},"widgets_values":[""],"color":"#232","bgcolor":"#353"},{"id":48,"type":"PrimitiveStringMultiline","pos":[772,410],"size":[590,250],"flags":{},"order":0,"mode":0,"inputs":[{"localized_name":"value","name":"value","type":"STRING","widget":{"name":"value"},"link":null}],"outputs":[{"localized_name":"STRING","name":"STRING","type":"STRING","links":[18]}],"title":"Symbolic Node For Your LLM Setup","properties":{"cnr_id":"comfy-core","ver":"0.3.67","Node name for S&R":"PrimitiveStringMultiline","ue_properties":{"widget_ue_connectable":{},"input_ue_unconnectable":{},"version":"7.4"}},"widgets_values":["This Here symbolizes your Ollama, or any other LLM input source."],"color":"#223","bgcolor":"#335"},{"id":13,"type":"MarkdownNote","pos":[180,410],"size":[550,580],"flags":{},"order":1,"mode":0,"inputs":[],"outputs":[],"properties":{"ue_properties":{"widget_ue_connectable":{},"version":"7.4","input_ue_unconnectable":{}}},"widgets_values":["# AF - Edit Generated Prompt Node\n\n### This is a very simple setup using my Edit Prompt Node\n\nThe \"Symbolic Node For Your LLM Setup\" node here is symbolic for the LLM setup you might be running.\n\nI strongly suggest that you watch the tutorial by [Pixaroma](https://www.youtube.com/watch?v=eK6MXm7q37c), which explains in detail how to setup an LLM using Ollama in your workflows.<br/>\n\n---\n\n### What it does and how it works\n\nThe basic concept is to plug an LLM connection to the input of the **AF - Edit Generated Prompt** node. \n\nThen you can either:\n\n- Pass on the prompt unedited<br/>\n- Click the **Copy Generated Prompt for Editing** button, which will copy the received prompt to the lower field in the node, where you can edit it.<br/>\n\n**NOTE**: If the editable field is empty, the unedited prompt will be passed on.\n\n---\n### Github Link to the node\nGet the node [here](https://github.com/alFrame/ComfyUI-AF-Pack-Prompt-Nodes) \nReport issues [here](https://github.com/alFrame/ComfyUI-AF-Pack-Prompt-Nodes/issues) \n"],"color":"#432","bgcolor":"#653"}],"links":[[18,48,0,10,0,"STRING"],[19,10,0,49,0,"STRING"]],"groups":[],"config":{},"extra":{"ds":{"scale":0.7597231976969298,"offset":[633.7978164256143,-13.869639263071651]},"ue_links":[],"links_added_by_ue":[]},"version":0.4}
|
||||
File diff suppressed because one or more lines are too long
Binary file not shown.
|
After Width: | Height: | Size: 77 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 130 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 87 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 125 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 104 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 121 KiB |
@@ -34,14 +34,14 @@ git clone https://github.com/alFrame/ComfyUI-AF-Pack-Prompt-Nodes.git
|
||||
- **Lower field** (editable): Manual input or edited version
|
||||
- **Output priority**: Lower field → Upper field → Empty string
|
||||
|
||||
- <img width="1890" height="919" alt="image" src="https://github.com/user-attachments/assets/229f0070-f26c-4b95-b31f-952a59dfb70c" />
|
||||
- <img width="1890" height="919" alt="image" src="https://github.com/alFrame/ComfyUI-AF-Pack-Prompt-Nodes/Docs/screenshots/AF-Edit_Generated_Prompt_Node.png" />
|
||||
|
||||
### Typical Usage
|
||||
```
|
||||
[Ollama/LLM Node] → [AF - Edit Generated Prompt] → [CLIP Text Encode]
|
||||
```
|
||||
|
||||
<img width="2095" height="521" alt="image" src="https://github.com/user-attachments/assets/11715608-4959-473f-bbb1-fbafcb108982" />
|
||||
<img width="2095" height="521" alt="image" src="https://github.com/alFrame/ComfyUI-AF-Pack-Prompt-Nodes/Docs/screenshots/AF-Edit_Generated_Prompt_Workflow_Example.png" />
|
||||
|
||||
[Download example workflow](https://github.com/alFrame/ComfyUI-AF-Pack-Prompt-Nodes/example_workflows/AF-Edit_Generated_Prompt.json)
|
||||
|
||||
@@ -53,7 +53,7 @@ git clone https://github.com/alFrame/ComfyUI-AF-Pack-Prompt-Nodes.git
|
||||
|
||||
**Purpose:** Save up to 4 prompts per entry with automatic timestamps.
|
||||
|
||||
<img width="1877" height="609" alt="image" src="https://github.com/user-attachments/assets/9e7b4eb4-ade6-4b60-80f7-a847d2b07641" />
|
||||
<img width="1877" height="609" alt="image" src="https://github.com/alFrame/ComfyUI-AF-Pack-Prompt-Nodes/Docs/screenshots/AF-Save_Prompt_History_Node.png" />
|
||||
|
||||
### Inputs
|
||||
- `directory` - Folder name (default: "Prompt-History")
|
||||
@@ -62,7 +62,7 @@ git clone https://github.com/alFrame/ComfyUI-AF-Pack-Prompt-Nodes.git
|
||||
- `global_positive/negative` - Main prompts (optional)
|
||||
- `local_positive/negative` - Secondary prompts (optional)
|
||||
|
||||
<img width="1726" height="679" alt="image" src="https://github.com/user-attachments/assets/b093300c-c461-4df4-b717-e95c1a456020" />
|
||||
<img width="1726" height="679" alt="image" src="https://github.com/alFrame/ComfyUI-AF-Pack-Prompt-Nodes/Docs/screenshots/AF-Save_Prompt_History_Workflow_Example.png" />
|
||||
|
||||
[Download example workflow](https://github.com/alFrame/ComfyUI-AF-Pack-Prompt-Nodes/example_workflows/AF-Save_and_Load_Prompt_History.json)
|
||||
|
||||
@@ -92,7 +92,7 @@ git clone https://github.com/alFrame/ComfyUI-AF-Pack-Prompt-Nodes.git
|
||||
|
||||
**Purpose:** Load saved prompts using index-based time-travel through your history.
|
||||
|
||||
<img width="1095" height="945" alt="image" src="https://github.com/user-attachments/assets/932da6e0-cd4d-4e5e-ad53-f53845692c7e" />
|
||||
<img width="1095" height="945" alt="image" src="https://github.com/alFrame/ComfyUI-AF-Pack-Prompt-Nodes/Docs/screenshots/AF-Load_Prompt_History_Node.png" />
|
||||
|
||||
### Quick Reference
|
||||
```
|
||||
@@ -117,7 +117,7 @@ git clone https://github.com/alFrame/ComfyUI-AF-Pack-Prompt-Nodes.git
|
||||
- **Index selection** - Choose which timestamp to load (0 = newest)
|
||||
- **Info output** - Shows selected prompt content and metadata
|
||||
|
||||
<img width="1564" height="935" alt="image" src="https://github.com/user-attachments/assets/a0cbea48-fe6e-425d-bfac-5c4820b23125" />
|
||||
<img width="1564" height="935" alt="image" src="https://github.com/alFrame/ComfyUI-AF-Pack-Prompt-Nodes/Docs/screenshots/AF-Load_Prompt_History_Workflow_Example.png" />
|
||||
|
||||
[Download example workflow](https://github.com/alFrame/ComfyUI-AF-Pack-Prompt-Nodes/example_workflows/AF-Save_and_Load_Prompt_History.json)
|
||||
|
||||
@@ -169,26 +169,19 @@ AF Load - ✓ Successfully loaded: ID: 126 | 2025-10-29 14:32:15
|
||||
|
||||
## 🔗 Common Workflow Patterns
|
||||
|
||||
### Pattern 1: AI-Assisted with History Backup
|
||||
### AI-Assisted with History Backup with the "AF - Save Prompt History" Node
|
||||
```
|
||||
[LLM] → [Edit Prompt] ┬ → [CLIP Encode] → [KSampler]
|
||||
└ → [Save History]
|
||||
```
|
||||
|
||||
### Pattern 2: Load & Compare Previous Prompts
|
||||
### "AF - Load Prompt History" Node, Compare Previous Prompts
|
||||
```
|
||||
[Load History: index=0] → [Edit] → [CLIP] ┐
|
||||
[Load History: index=5] → [Edit] → [CLIP] ├→ [KSampler]
|
||||
[Load History: index=10]→ [Edit] → [CLIP] ┘
|
||||
```
|
||||
|
||||
### Pattern 3: Multi-File Workflow
|
||||
```
|
||||
[Load: FileA.json] → [Edit Global+] → ┐
|
||||
[Load: FileB.json] → [Edit Local+] → ├→ [CLIP Encode]
|
||||
[Load: FileC.json] → [Edit Global-] → ┘
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 🔧 Troubleshooting
|
||||
@@ -211,7 +204,7 @@ AF Load - ✓ Successfully loaded: ID: 126 | 2025-10-29 14:32:15
|
||||
- Look for error messages in console
|
||||
|
||||
### Directory not found
|
||||
- Use relative path from ComfyUI root: `AF-PromptHistory`
|
||||
- Use relative path from ComfyUI root e.g.: `AF-PromptHistory`
|
||||
- Or absolute path: `/full/path/to/directory`
|
||||
- Check folder exists and has read/write permissions
|
||||
|
||||
@@ -232,7 +225,7 @@ AF Load - ✓ Successfully loaded: ID: 126 | 2025-10-29 14:32:15
|
||||
|
||||
- ComfyUI (recent version recommended)
|
||||
- No external dependencies required
|
||||
- Works with any LLM/text generation nodes
|
||||
- Works with any LLM/text generation nodes, or your manual prompting text nodes
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user