diff --git a/templates/README.md b/templates/README.md new file mode 100644 index 0000000..6170a9c --- /dev/null +++ b/templates/README.md @@ -0,0 +1,62 @@ +# wyrde's template sharing +Rather than complete workflows, _templates_ are collections of nodes used to mtake building workflows quicker. There isn't (yet) a way to share templates directly between users, but importing them is fairly easy. + +How to add templates +* Download one of these json files. + * Click the file in the list above. + * Click the RAW button in the upper right. + * CTRL-S to save the result. +* In ComfyUI, click the Clear button to empty the workspace. + * Click the Load button + * Select the json file from before +* In the workflow, highlight the nodes + * right click on the empty workflow and select "Save selected as template" + * Give it a name +* it should now be in the template list! + + + + + +## some heading + +* A node to set custom savefile (uses a was node). +* the above, but with a matching save image node + + +This workflow +* more +* stuff + * here + +## another heading + +## Versions + +## Example Results + +* images + + +## resources + + + +Model +* https://civitai.com/models/4384/dreamshaper + +Lora +* https://civitai.com/models/8858/maplestory2game-chibi-style-hn +* https://civitai.com/models/21670/astrobabes +* https://civitai.com/models/25803/battle-angels + +Embeds +* EasyNegative https://civitai.com/models/7808/easynegative +* bad-hands-5 https://huggingface.co/yesyeahvh/bad-hands-5/tree/main + +Custom Nodes +* [WAS Suite](https://github.com/WASasquatch/was-node-suite-comfyui) + + + +

[back] [home]

diff --git a/templates/tem.reroute.nodes.1.json b/templates/tem.reroute.nodes.1.json new file mode 100644 index 0000000..0005bff --- /dev/null +++ b/templates/tem.reroute.nodes.1.json @@ -0,0 +1,496 @@ +{ + "last_node_id": 22, + "last_link_id": 15, + "nodes": [ + { + "id": 11, + "type": "Reroute", + "pos": [ + -660, + 630 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": null + } + ], + "outputs": [ + { + "name": "*", + "type": "*", + "links": [ + 14 + ] + } + ], + "properties": { + "showOutputText": true, + "horizontal": false + }, + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 12, + "type": "Reroute", + "pos": [ + -140, + 330 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 10 + } + ], + "outputs": [ + { + "name": "", + "type": "*", + "links": null + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + }, + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 13, + "type": "Reroute", + "pos": [ + -140, + 430 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 11 + } + ], + "outputs": [ + { + "name": "", + "type": "*", + "links": null + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + }, + "color": "#222", + "bgcolor": "#000" + }, + { + "id": 14, + "type": "Reroute", + "pos": [ + -140, + 230 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 12 + } + ], + "outputs": [ + { + "name": "*", + "type": "*", + "links": null + } + ], + "properties": { + "showOutputText": true, + "horizontal": false + }, + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 15, + "type": "Reroute", + "pos": [ + -660, + 330 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": null + } + ], + "outputs": [ + { + "name": "", + "type": "*", + "links": [ + 10 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + }, + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 16, + "type": "Reroute", + "pos": [ + -140, + 530 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 13, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "*", + "type": "*", + "links": null + } + ], + "title": "BEEEES", + "properties": { + "showOutputText": true, + "horizontal": false + }, + "color": "#233", + "bgcolor": "#355" + }, + { + "id": 18, + "type": "Reroute", + "pos": [ + -660, + 430 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": null + } + ], + "outputs": [ + { + "name": "", + "type": "*", + "links": [ + 11 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + }, + "color": "#222", + "bgcolor": "#000" + }, + { + "id": 19, + "type": "Reroute", + "pos": [ + -660, + 530 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": null + } + ], + "outputs": [ + { + "name": "*", + "type": "*", + "links": [ + 13 + ] + } + ], + "title": "Switch", + "properties": { + "showOutputText": true, + "horizontal": false + }, + "color": "#233", + "bgcolor": "#355" + }, + { + "id": 20, + "type": "Reroute", + "pos": [ + -140, + 630 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 14 + } + ], + "outputs": [ + { + "name": "*", + "type": "*", + "links": null + } + ], + "properties": { + "showOutputText": true, + "horizontal": false + }, + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 22, + "type": "Reroute", + "pos": [ + -140, + 130 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 15 + } + ], + "outputs": [ + { + "name": "*", + "type": "*", + "links": null + } + ], + "properties": { + "showOutputText": true, + "horizontal": false + }, + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 17, + "type": "Reroute", + "pos": [ + -660, + 230 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": null, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "*", + "type": "*", + "links": [ + 12 + ] + } + ], + "properties": { + "showOutputText": true, + "horizontal": false + }, + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 21, + "type": "Reroute", + "pos": [ + -660, + 130 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": null + } + ], + "outputs": [ + { + "name": "*", + "type": "*", + "links": [ + 15 + ] + } + ], + "properties": { + "showOutputText": true, + "horizontal": false + }, + "color": "#322", + "bgcolor": "#533" + } + ], + "links": [ + [ + 10, + 15, + 0, + 12, + 0, + "*" + ], + [ + 11, + 18, + 0, + 13, + 0, + "*" + ], + [ + 12, + 17, + 0, + 14, + 0, + "*" + ], + [ + 13, + 19, + 0, + 16, + 0, + "*" + ], + [ + 14, + 11, + 0, + 20, + 0, + "*" + ], + [ + 15, + 21, + 0, + 22, + 0, + "*" + ] + ], + "groups": [], + "config": {}, + "extra": {}, + "version": 0.4 +} \ No newline at end of file diff --git a/templates/tem.reroute.nodes.1.png b/templates/tem.reroute.nodes.1.png new file mode 100644 index 0000000..2ac6107 Binary files /dev/null and b/templates/tem.reroute.nodes.1.png differ diff --git a/templates/tem.savefile.prefix.1.json b/templates/tem.savefile.prefix.1.json new file mode 100644 index 0000000..402a715 --- /dev/null +++ b/templates/tem.savefile.prefix.1.json @@ -0,0 +1,73 @@ +{ + "last_node_id": 2, + "last_link_id": 0, + "nodes": [ + { + "id": 1, + "type": "SaveImage", + "pos": [ + 4380, + -80 + ], + "size": [ + 380, + 380 + ], + "flags": {}, + "order": 102, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": null + } + ], + "properties": {}, + "widgets_values": [ + "%WorkflowName.file_path%" + ], + "locked": true + }, + { + "id": 2, + "type": "Load Text File", + "pos": [ + -704.5779830310003, + 286.372071016821 + ], + "size": { + "0": 315, + "1": 102 + }, + "flags": {}, + "order": 5, + "mode": 0, + "outputs": [ + { + "name": "ASCII", + "type": "ASCII", + "links": null + }, + { + "name": "DICT", + "type": "DICT", + "links": null + } + ], + "title": "Save File Prefix", + "properties": { + "Node name for S&R": "WorkflowName" + }, + "widgets_values": [ + "compare-hrf-types", + "[filename]" + ] + } + ], + "links": [], + "groups": [], + "config": {}, + "extra": {}, + "version": 0.4 +} \ No newline at end of file diff --git a/templates/tem.savefile.prefix.1.png b/templates/tem.savefile.prefix.1.png new file mode 100644 index 0000000..5fcc42b Binary files /dev/null and b/templates/tem.savefile.prefix.1.png differ diff --git a/templates/tem.savefile.prefix.2.json b/templates/tem.savefile.prefix.2.json new file mode 100644 index 0000000..ffcbdf3 --- /dev/null +++ b/templates/tem.savefile.prefix.2.json @@ -0,0 +1,72 @@ +{ + "last_node_id": 13, + "last_link_id": 9, + "nodes": [ + { + "id": 11, + "type": "Load Text File", + "pos": [ + 82.3857119060616, + 169.84884002618628 + ], + "size": { + "0": 315, + "1": 102 + }, + "flags": {}, + "order": 0, + "mode": 0, + "outputs": [ + { + "name": "ASCII", + "type": "ASCII", + "links": null + }, + { + "name": "DICT", + "type": "DICT", + "links": null + } + ], + "title": "Set File Prefix in \"file path\"", + "properties": { + "Node name for S&R": "WorkflowName" + }, + "widgets_values": [ + "example-prefix", + "[filename]" + ] + }, + { + "id": 13, + "type": "SaveImage", + "pos": [ + 423.3857119060616, + 171.84884002618628 + ], + "size": { + "0": 370, + "1": 440 + }, + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": null + } + ], + "properties": {}, + "widgets_values": [ + "%WorkflowName.file_path%" + ] + } + ], + "links": [], + "groups": [], + "config": {}, + "extra": {}, + "version": 0.4 +} \ No newline at end of file diff --git a/templates/tem.savefile.prefix.2.png b/templates/tem.savefile.prefix.2.png new file mode 100644 index 0000000..130f659 Binary files /dev/null and b/templates/tem.savefile.prefix.2.png differ