From ac3e6459090dc6a19f73e6bbb0d1029b3469a2ee Mon Sep 17 00:00:00 2001 From: lum3on Date: Tue, 11 Feb 2025 01:31:35 +0100 Subject: [PATCH] Comfy Smart Assistant.json --- example/Comfy Smart Assistant.json | 163 ++++++++++++++++------------- 1 file changed, 90 insertions(+), 73 deletions(-) diff --git a/example/Comfy Smart Assistant.json b/example/Comfy Smart Assistant.json index 6c09f5a..ab989fe 100644 --- a/example/Comfy Smart Assistant.json +++ b/example/Comfy Smart Assistant.json @@ -2,68 +2,6 @@ "last_node_id": 79, "last_link_id": 82, "nodes": [ - { - "id": 41, - "type": "polymath_chat", - "pos": [ - 1815.6025390625, - -584.7335205078125 - ], - "size": [ - 430.873046875, - 627.7433471679688 - ], - "flags": {}, - "order": 2, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": null, - "shape": 7 - }, - { - "name": "additional_text", - "type": "STRING", - "link": 82, - "widget": { - "name": "additional_text" - } - } - ], - "outputs": [ - { - "name": "STRING", - "type": "STRING", - "links": [ - 79 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "polymath_chat" - }, - "widgets_values": [ - "explain this comfyui workflow to me.", - "", - 551, - "randomize", - "gpt-4o-mini", - "None", - false, - true, - 7, - true, - false, - "soft", - true - ], - "color": "#c1a12f", - "bgcolor": "#000000", - "shape": 2 - }, { "id": 77, "type": "json2text", @@ -98,8 +36,16 @@ } ], "properties": { - "Node name for S&R": "json2text" - } + "Node name for S&R": "json2text", + "ttNbgOverride": { + "color": "#222", + "bgcolor": "#000", + "groupcolor": "#444" + } + }, + "widgets_values": [], + "color": "#222", + "bgcolor": "#000" }, { "id": 74, @@ -176,10 +122,72 @@ }, "widgets_values": [ "C:/Users/RAIIN Studios/Downloads/Flux Schnell.json", - "{\n \"last_node_id\": 36,\n \"last_link_id\": 58,\n \"nodes\": [\n {\n \"id\": 33,\n \"type\": \"CLIPTextEncode\",\n \"pos\": [\n 390,\n 400\n ],\n \"size\": [\n 422.84503173828125,\n 164.31304931640625\n ],\n \"flags\": {\n \"collapsed\": true\n },\n \"order\": 4,\n \"mode\": 0,\n \"inputs\": [\n {\n \"name\": \"clip\",\n \"type\": \"CLIP\",\n \"link\": 54,\n \"slot_index\": 0\n }\n ],\n \"outputs\": [\n {\n \"name\": \"CONDITIONING\",\n \"type\": \"CONDITIONING\",\n \"links\": [\n 55\n ],\n \"slot_index\": 0\n }\n ],\n \"title\": \"CLIP Text Encode (Negative Prompt)\",\n \"properties\": {\n \"Node name for S&R\": \"CLIPTextEncode\"\n },\n \"widgets_values\": [\n \"\"\n ],\n \"color\": \"#322\",\n \"bgcolor\": \"#533\"\n },\n {\n \"id\": 27,\n \"type\": \"EmptySD3LatentImage\",\n \"pos\": [\n 471,\n 455\n ],\n \"size\": [\n 315,\n 106\n ],\n \"flags\": {},\n \"order\": 0,\n \"mode\": 0,\n \"inputs\": [],\n \"outputs\": [\n {\n \"name\": \"LATENT\",\n \"type\": \"LATENT\",\n \"links\": [\n 51\n ],\n \"slot_index\": 0,\n \"shape\": 3\n }\n ],\n \"properties\": {\n \"Node name for S&R\": \"EmptySD3LatentImage\"\n },\n \"widgets_values\": [\n 1024,\n 1024,\n 1\n ],\n \"color\": \"#323\",\n \"bgcolor\": \"#535\"\n },\n {\n \"id\": 8,\n \"type\": \"VAEDecode\",\n \"pos\": [\n 1151,\n 195\n ],\n \"size\": [\n 210,\n 46\n ],\n \"flags\": {},\n \"order\": 6,\n \"mode\": 0,\n \"inputs\": [\n {\n \"name\": \"samples\",\n \"type\": \"LATENT\",\n \"link\": 52\n },\n {\n \"name\": \"vae\",\n \"type\": \"VAE\",\n \"link\": 46\n }\n ],\n \"outputs\": [\n {\n \"name\": \"IMAGE\",\n \"type\": \"IMAGE\",\n \"links\": [\n 9\n ],\n \"slot_index\": 0\n }\n ],\n \"properties\": {\n \"Node name for S&R\": \"VAEDecode\"\n },\n \"widgets_values\": []\n },\n {\n \"id\": 9,\n \"type\": \"SaveImage\",\n \"pos\": [\n 1375,\n 194\n ],\n \"size\": [\n 985.3012084960938,\n 1060.3828125\n ],\n \"flags\": {},\n \"order\": 7,\n \"mode\": 0,\n \"inputs\": [\n {\n \"name\": \"images\",\n \"type\": \"IMAGE\",\n \"link\": 9\n }\n ],\n \"outputs\": [],\n \"properties\": {\n \"Node name for S&R\": \"SaveImage\"\n },\n \"widgets_values\": [\n \"ComfyUI\"\n ]\n },\n {\n \"id\": 31,\n \"type\": \"KSampler\",\n \"pos\": [\n 816,\n 192\n ],\n \"size\": [\n 315,\n 262\n ],\n \"flags\": {},\n \"order\": 5,\n \"mode\": 0,\n \"inputs\": [\n {\n \"name\": \"model\",\n \"type\": \"MODEL\",\n \"link\": 47\n },\n {\n \"name\": \"positive\",\n \"type\": \"CONDITIONING\",\n \"link\": 58\n },\n {\n \"name\": \"negative\",\n \"type\": \"CONDITIONING\",\n \"link\": 55\n },\n {\n \"name\": \"latent_image\",\n \"type\": \"LATENT\",\n \"link\": 51\n }\n ],\n \"outputs\": [\n {\n \"name\": \"LATENT\",\n \"type\": \"LATENT\",\n \"links\": [\n 52\n ],\n \"slot_index\": 0,\n \"shape\": 3\n }\n ],\n \"properties\": {\n \"Node name for S&R\": \"KSampler\"\n },\n \"widgets_values\": [\n 173805153958730,\n \"randomize\",\n 4,\n 1,\n \"euler\",\n \"simple\",\n 1\n ]\n },\n {\n \"id\": 30,\n \"type\": \"CheckpointLoaderSimple\",\n \"pos\": [\n 48,\n 192\n ],\n \"size\": [\n 315,\n 98\n ],\n \"flags\": {},\n \"order\": 1,\n \"mode\": 0,\n \"inputs\": [],\n \"outputs\": [\n {\n \"name\": \"MODEL\",\n \"type\": \"MODEL\",\n \"links\": [\n 47\n ],\n \"slot_index\": 0,\n \"shape\": 3\n },\n {\n \"name\": \"CLIP\",\n \"type\": \"CLIP\",\n \"links\": [\n 45,\n 54\n ],\n \"slot_index\": 1,\n \"shape\": 3\n },\n {\n \"name\": \"VAE\",\n \"type\": \"VAE\",\n \"links\": [\n 46\n ],\n \"slot_index\": 2,\n \"shape\": 3\n }\n ],\n \"properties\": {\n \"Node name for S&R\": \"CheckpointLoaderSimple\"\n },\n \"widgets_values\": [\n \"flux1-schnell-fp8.safetensors\"\n ]\n },\n {\n \"id\": 6,\n \"type\": \"CLIPTextEncode\",\n \"pos\": [\n 384,\n 192\n ],\n \"size\": [\n 422.84503173828125,\n 164.31304931640625\n ],\n \"flags\": {},\n \"order\": 3,\n \"mode\": 0,\n \"inputs\": [\n {\n \"name\": \"clip\",\n \"type\": \"CLIP\",\n \"link\": 45\n }\n ],\n \"outputs\": [\n {\n \"name\": \"CONDITIONING\",\n \"type\": \"CONDITIONING\",\n \"links\": [\n 58\n ],\n \"slot_index\": 0\n }\n ],\n \"title\": \"CLIP Text Encode (Positive Prompt)\",\n \"properties\": {\n \"Node name for S&R\": \"CLIPTextEncode\"\n },\n \"widgets_values\": [\n \"a bottle with a beautiful rainbow galaxy inside it on top of a wooden table in the middle of a modern kitchen beside a plate of vegetables and mushrooms and a wine glasse that contains a planet earth with a plate with a half eaten apple pie on it\"\n ],\n \"color\": \"#232\",\n \"bgcolor\": \"#353\"\n },\n {\n \"id\": 34,\n \"type\": \"Note\",\n \"pos\": [\n 831,\n 501\n ],\n \"size\": [\n 282.8617858886719,\n 164.08004760742188\n ],\n \"flags\": {},\n \"order\": 2,\n \"mode\": 0,\n \"inputs\": [],\n \"outputs\": [],\n \"properties\": {\n \"text\": \"\"\n },\n \"widgets_values\": [\n \"Note that Flux dev and schnell do not have any negative prompt so CFG should be set to 1.0. Setting CFG to 1.0 means the negative prompt is ignored.\\n\\nThe schnell model is a distilled model that can generate a good image with only 4 steps.\"\n ],\n \"color\": \"#432\",\n \"bgcolor\": \"#653\"\n }\n ],\n \"links\": [\n [\n 9,\n 8,\n 0,\n 9,\n 0,\n \"IMAGE\"\n ],\n [\n 45,\n 30,\n 1,\n 6,\n 0,\n \"CLIP\"\n ],\n [\n 46,\n 30,\n 2,\n 8,\n 1,\n \"VAE\"\n ],\n [\n 47,\n 30,\n 0,\n 31,\n 0,\n \"MODEL\"\n ],\n [\n 51,\n 27,\n 0,\n 31,\n 3,\n \"LATENT\"\n ],\n [\n 52,\n 31,\n 0,\n 8,\n 0,\n \"LATENT\"\n ],\n [\n 54,\n 30,\n 1,\n 33,\n 0,\n \"CLIP\"\n ],\n [\n 55,\n 33,\n 0,\n 31,\n 2,\n \"CONDITIONING\"\n ],\n [\n 58,\n 6,\n 0,\n 31,\n 1,\n \"CONDITIONING\"\n ]\n ],\n \"groups\": [],\n \"config\": {},\n \"extra\": {\n \"ds\": {\n \"scale\": 0.42409761837248483,\n \"offset\": [\n 1317.6176784551706,\n 456.77572487745584\n ]\n },\n \"node_versions\": {\n \"comfy-core\": \"0.3.13\"\n }\n },\n \"version\": 0.4\n}" + "C:/Users/RAIIN Studios/Downloads/Flux Schnell.json" ], "color": "#49a528", "bgcolor": "#000000" + }, + { + "id": 41, + "type": "polymath_chat", + "pos": [ + 1815.6025390625, + -584.7335205078125 + ], + "size": [ + 430.873046875, + 627.7433471679688 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": null, + "shape": 7 + }, + { + "name": "additional_text", + "type": "STRING", + "link": 82, + "widget": { + "name": "additional_text" + } + } + ], + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": [ + 79 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "polymath_chat" + }, + "widgets_values": [ + "explain this comfyui workflow to me.", + "", + 551, + "randomize", + "gpt-4o-mini", + "None", + false, + true, + 7, + false, + false, + "soft", + true + ], + "color": "#c1a12f", + "bgcolor": "#000000", + "shape": 2 } ], "links": [ @@ -226,18 +234,27 @@ "config": {}, "extra": { "ds": { - "scale": 1.553522046476931, + "scale": 1.7449402268886445, "offset": [ - -1707.0737864334271, - 838.959857971072 + -1824.893573345847, + 464.8039152587694 ] }, "node_versions": { - "comfyui-LLM-Polymath": "6702f642e4051ea811238a12909ad1f15bbbb6f0", - "comfyui_llm_party": "1.2.0", - "ComfyUI-Universal-Styler": "bfe88489ff250a84bc25c210d84a58135f9a8a8f", - "ComfyUI-Crystools": "03a61d690379f22c6bffc42ea4845f797deb316c" + "comfyui_llm_party": "abe39b7d34a612f0d01dfe10b34bcb9c42f75fa4", + "comfyui-custom-scripts": "1.1.0", + "comfyui-crystools": "1.22.0", + "comfyui_LLM_Polymath": "7ad85e7feac114997edeaf96773ee88616b22731" + }, + "info": { + "name": "workflow", + "author": "", + "description": "", + "version": "1", + "created": "2025-02-11T00:30:35.295Z", + "modified": "2025-02-11T00:30:35.295Z", + "software": "ComfyUI" } }, "version": 0.4 -} \ No newline at end of file +}