- Fixed an error on the "Edit Generated Prompt" node (invalid prompt: {'type': 'prompt_no_outputs', 'message': 'Prompt has no outputs', 'details': '', 'extra_info': {}} )
- Added a "Show Text" node, so folks don't have to install any other custom nodes to run the example workflow (Yeah ComfyUI does NOT have a simple show text node...)
- Updated the workflow example to use my own "Show Text" node
1 line
3.7 KiB
JSON
1 line
3.7 KiB
JSON
{"id":"b2be4688-a078-42ef-bd09-bcd14a89bde2","revision":0,"last_node_id":53,"last_link_id":24,"nodes":[{"id":13,"type":"MarkdownNote","pos":[180,410],"size":[550,580],"flags":{},"order":0,"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"},{"id":52,"type":"AF_Edit_Generated_Prompt","pos":[1424,410],"size":[930,430],"flags":{},"order":3,"mode":0,"inputs":[{"localized_name":"input_text","name":"input_text","shape":7,"type":"STRING","link":22},{"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":[24]}],"properties":{"cnr_id":"comfyui-af-pack-prompt-nodes","ver":"1ef593a4557747eb6a1467f6457b7a77fb471c79","Node name for S&R":"AF_Edit_Generated_Prompt","ue_properties":{"widget_ue_connectable":{},"input_ue_unconnectable":{},"version":"7.4.1"}},"widgets_values":["","","","",""],"color":"#232","bgcolor":"#353"},{"id":48,"type":"PrimitiveStringMultiline","pos":[782,410],"size":[590,300],"flags":{},"order":1,"mode":0,"inputs":[{"localized_name":"value","name":"value","type":"STRING","widget":{"name":"value"},"link":null}],"outputs":[{"localized_name":"STRING","name":"STRING","type":"STRING","links":[22]}],"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":53,"type":"AF_Show_Text","pos":[2406,410],"size":[590,300],"flags":{},"order":2,"mode":0,"inputs":[{"localized_name":"text","name":"text","type":"STRING","widget":{"name":"text"},"link":24}],"outputs":[{"localized_name":"STRING","name":"STRING","type":"STRING","links":null}],"properties":{"cnr_id":"comfyui-af-pack-prompt-nodes","ver":"1ef593a4557747eb6a1467f6457b7a77fb471c79","ue_properties":{"widget_ue_connectable":{},"input_ue_unconnectable":{}},"Node name for S&R":"AF_Show_Text"},"widgets_values":["No input connected"],"color":"#232","bgcolor":"#353"}],"links":[[22,48,0,52,0,"STRING"],[24,52,0,53,0,"STRING"]],"groups":[],"config":{},"extra":{"ds":{"scale":0.8397231976969297,"offset":[-107.66053782726424,9.794563874284888]},"ue_links":[],"links_added_by_ue":[]},"version":0.4} |