From 8588dad9e6593db8ed538cdcca33036c753e9a94 Mon Sep 17 00:00:00 2001 From: ExponentialML <59846140+ExponentialML@users.noreply.github.com> Date: Fri, 15 Mar 2024 09:54:19 -0700 Subject: [PATCH] Add basic workflow --- VisualStylePrompting.json | 809 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 809 insertions(+) create mode 100644 VisualStylePrompting.json diff --git a/VisualStylePrompting.json b/VisualStylePrompting.json new file mode 100644 index 0000000..6cd8119 --- /dev/null +++ b/VisualStylePrompting.json @@ -0,0 +1,809 @@ +{ + "last_node_id": 37, + "last_link_id": 103, + "nodes": [ + { + "id": 8, + "type": "VAEDecode", + "pos": [ + 1674, + -278 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 7 + }, + { + "name": "vae", + "type": "VAE", + "link": 8 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 9 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEDecode" + } + }, + { + "id": 36, + "type": "ControlNetLoader", + "pos": [ + 900, + -510 + ], + "size": { + "0": 315, + "1": 58 + }, + "flags": {}, + "order": 0, + "mode": 0, + "outputs": [ + { + "name": "CONTROL_NET", + "type": "CONTROL_NET", + "links": [ + 92 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "ControlNetLoader" + }, + "widgets_values": [ + "control_v11f1p_sd15_depth.pth" + ] + }, + { + "id": 3, + "type": "KSampler", + "pos": [ + 1335, + -281 + ], + "size": { + "0": 315, + "1": 474 + }, + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 74 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 94 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 76 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 77 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 7 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "KSampler" + }, + "widgets_values": [ + 406380072519433, + "randomize", + 25, + 7, + "dpmpp_2m", + "karras", + 1 + ] + }, + { + "id": 35, + "type": "MiDaS-DepthMapPreprocessor", + "pos": [ + 478, + -133 + ], + "size": { + "0": 315, + "1": 106 + }, + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 101 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 91 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "MiDaS-DepthMapPreprocessor" + }, + "widgets_values": [ + 6.283185307179586, + 0.1, + 512 + ] + }, + { + "id": 4, + "type": "CheckpointLoaderSimple", + "pos": [ + 464, + 34 + ], + "size": { + "0": 315, + "1": 98 + }, + "flags": {}, + "order": 1, + "mode": 0, + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 78 + ], + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 3, + 5, + 31 + ], + "slot_index": 1 + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + 8, + 79 + ], + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "CheckpointLoaderSimple" + }, + "widgets_values": [ + "realisticVisionV60B1_v51VAE.safetensors" + ] + }, + { + "id": 31, + "type": "ControlNetApply", + "pos": [ + 900, + -420 + ], + "size": { + "0": 317.4000244140625, + "1": 98 + }, + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "conditioning", + "type": "CONDITIONING", + "link": 97 + }, + { + "name": "control_net", + "type": "CONTROL_NET", + "link": 92, + "slot_index": 1 + }, + { + "name": "image", + "type": "IMAGE", + "link": 91, + "slot_index": 2 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 98 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ControlNetApply" + }, + "widgets_values": [ + 1 + ] + }, + { + "id": 9, + "type": "SaveImage", + "pos": [ + 1663, + -185 + ], + "size": [ + 1134.5834550781233, + 870.3174650878898 + ], + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 9 + } + ], + "properties": {}, + "widgets_values": [ + "ComfyUI" + ] + }, + { + "id": 14, + "type": "ImageScale", + "pos": [ + 111, + -222 + ], + "size": { + "0": 315, + "1": 130 + }, + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 17 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 103 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ImageScale" + }, + "widgets_values": [ + "nearest-exact", + 512, + 768, + "center" + ] + }, + { + "id": 12, + "type": "LoadImage", + "pos": [ + 122, + -583 + ], + "size": { + "0": 315, + "1": 314 + }, + "flags": {}, + "order": 2, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 17 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "pasted/image (121).png", + "image" + ] + }, + { + "id": 30, + "type": "ApplyVisualStyle", + "pos": [ + 892, + -278 + ], + "size": { + "0": 393, + "1": 178 + }, + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 78 + }, + { + "name": "vae", + "type": "VAE", + "link": 79 + }, + { + "name": "reference_image", + "type": "IMAGE", + "link": 103 + }, + { + "name": "conditioning_prompt", + "type": "CONDITIONING", + "link": 98 + }, + { + "name": "reference_image_prompt", + "type": "CONDITIONING", + "link": 100 + }, + { + "name": "negative_prompt", + "type": "CONDITIONING", + "link": 83 + }, + { + "name": "advanced_options", + "type": "advanded_options", + "link": null, + "slot_index": 6 + } + ], + "outputs": [ + { + "name": "model", + "type": "MODEL", + "links": [ + 74 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "positive", + "type": "CONDITIONING", + "links": [ + 94 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "negative", + "type": "CONDITIONING", + "links": [ + 76 + ], + "shape": 3, + "slot_index": 2 + }, + { + "name": "latents", + "type": "LATENT", + "links": [ + 77 + ], + "shape": 3, + "slot_index": 3 + } + ], + "properties": { + "Node name for S&R": "ApplyVisualStyle" + }, + "widgets_values": [ + true + ] + }, + { + "id": 6, + "type": "CLIPTextEncode", + "pos": [ + 876, + -58 + ], + "size": { + "0": 422.84503173828125, + "1": 164.31304931640625 + }, + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 3 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 100 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "bright blue fire" + ] + }, + { + "id": 7, + "type": "CLIPTextEncode", + "pos": [ + 878, + 156 + ], + "size": { + "0": 425.27801513671875, + "1": 180.6060791015625 + }, + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 5 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 83 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "bad quality, poor quality" + ] + }, + { + "id": 16, + "type": "CLIPTextEncode", + "pos": [ + 462, + -423 + ], + "size": { + "0": 422.84503173828125, + "1": 164.31304931640625 + }, + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 31 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 97 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "an angry super hero made of blue flames in a marble white room, unreal engine 5, epic lighting, portrait, ultra realistic, bright and vivid colors, 4k, global illumination, raytracing, super saiyan hair" + ] + }, + { + "id": 37, + "type": "LoadImage", + "pos": [ + 42, + -55 + ], + "size": [ + 404.26498948632764, + 776.4664231367178 + ], + "flags": {}, + "order": 3, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 101 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "pasted/image (120).png", + "image" + ] + } + ], + "links": [ + [ + 3, + 4, + 1, + 6, + 0, + "CLIP" + ], + [ + 5, + 4, + 1, + 7, + 0, + "CLIP" + ], + [ + 7, + 3, + 0, + 8, + 0, + "LATENT" + ], + [ + 8, + 4, + 2, + 8, + 1, + "VAE" + ], + [ + 9, + 8, + 0, + 9, + 0, + "IMAGE" + ], + [ + 17, + 12, + 0, + 14, + 0, + "IMAGE" + ], + [ + 31, + 4, + 1, + 16, + 0, + "CLIP" + ], + [ + 74, + 30, + 0, + 3, + 0, + "MODEL" + ], + [ + 76, + 30, + 2, + 3, + 2, + "CONDITIONING" + ], + [ + 77, + 30, + 3, + 3, + 3, + "LATENT" + ], + [ + 78, + 4, + 0, + 30, + 0, + "MODEL" + ], + [ + 79, + 4, + 2, + 30, + 1, + "VAE" + ], + [ + 83, + 7, + 0, + 30, + 5, + "CONDITIONING" + ], + [ + 91, + 35, + 0, + 31, + 2, + "IMAGE" + ], + [ + 92, + 36, + 0, + 31, + 1, + "CONTROL_NET" + ], + [ + 94, + 30, + 1, + 3, + 1, + "CONDITIONING" + ], + [ + 97, + 16, + 0, + 31, + 0, + "CONDITIONING" + ], + [ + 98, + 31, + 0, + 30, + 3, + "CONDITIONING" + ], + [ + 100, + 6, + 0, + 30, + 4, + "CONDITIONING" + ], + [ + 101, + 37, + 0, + 35, + 0, + "IMAGE" + ], + [ + 103, + 14, + 0, + 30, + 2, + "IMAGE" + ] + ], + "groups": [], + "config": {}, + "extra": {}, + "version": 0.4 +} \ No newline at end of file