From 97dcb946d8a3816a751ba619346ed8f9534a06f6 Mon Sep 17 00:00:00 2001 From: smthemex <138738845+smthemex@users.noreply.github.com> Date: Fri, 21 Jun 2024 20:45:04 +0800 Subject: [PATCH] Add files via upload add --- example/txt2img (1).json | 565 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 565 insertions(+) create mode 100644 example/txt2img (1).json diff --git a/example/txt2img (1).json b/example/txt2img (1).json new file mode 100644 index 0000000..e51810e --- /dev/null +++ b/example/txt2img (1).json @@ -0,0 +1,565 @@ +{ + "last_node_id": 20, + "last_link_id": 18, + "nodes": [ + { + "id": 7, + "type": "SaveImage", + "pos": [ + 2863, + 418 + ], + "size": { + "0": 664.7562866210938, + "1": 678.5906372070312 + }, + "flags": {}, + "order": 8, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 7, + "label": "images" + } + ], + "properties": {}, + "widgets_values": [ + "ComfyUI" + ] + }, + { + "id": 12, + "type": "ImageBatch", + "pos": [ + 1601, + 141 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 3, + "mode": 4, + "inputs": [ + { + "name": "image1", + "type": "IMAGE", + "link": 9, + "label": "image1", + "slot_index": 0 + }, + { + "name": "image2", + "type": "IMAGE", + "link": 10, + "label": "image2", + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 8 + ], + "shape": 3, + "label": "IMAGE", + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ImageBatch" + } + }, + { + "id": 13, + "type": "LoadImage", + "pos": [ + 1455, + 248 + ], + "size": { + "0": 315, + "1": 314 + }, + "flags": {}, + "order": 0, + "mode": 4, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 9 + ], + "shape": 3, + "label": "IMAGE" + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3, + "label": "MASK" + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "gakki.png", + "image" + ] + }, + { + "id": 14, + "type": "LoadImage", + "pos": [ + 1456, + 683 + ], + "size": { + "0": 315, + "1": 314 + }, + "flags": {}, + "order": 1, + "mode": 4, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 10 + ], + "shape": 3, + "label": "IMAGE" + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3, + "label": "MASK" + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "lecun.png", + "image" + ] + }, + { + "id": 11, + "type": "Comic_Type", + "pos": [ + 2490, + 126 + ], + "size": { + "0": 400, + "1": 200 + }, + "flags": {}, + "order": 7, + "mode": 4, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 5, + "label": "image" + }, + { + "name": "prompt_array", + "type": "STRING", + "link": 6, + "widget": { + "name": "prompt_array" + }, + "label": "prompt_array" + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 7 + ], + "shape": 3, + "label": "IMAGE", + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "Comic_Type" + }, + "widgets_values": [ + "", + "Inkfree.ttf", + 40, + "Four_Pannel", + ";" + ] + }, + { + "id": 10, + "type": "Storydiffusion_Img2Img", + "pos": [ + 1900, + 153 + ], + "size": { + "0": 520.8131103515625, + "1": 840.9295654296875 + }, + "flags": {}, + "order": 5, + "mode": 4, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 8, + "label": "image", + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": [ + 5 + ], + "shape": 3, + "label": "image", + "slot_index": 0 + }, + { + "name": "prompt_array", + "type": "STRING", + "links": [ + 6 + ], + "shape": 3, + "label": "prompt_array", + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "Storydiffusion_Img2Img" + }, + "widgets_values": [ + "SDXL", + "0SDXL\\Hyper-SDXL-1step-Unet-Comfyui.fp16.safetensors", + "photomaker-v1.bin", + "0sdxl\\stonetoss_xl.safetensors", + "F:/test/ComfyUI/models/clip_vision/laion/CLIP-ViT-bigG-14-laion2B-39B-b160k", + 0.8, + "stonetoss", + "[Gakki]a woman img, wearing a white T-shirt, blue loose hair;\n[Lecun]a man img, wearing a blue suit,black hair;\n", + "[Gakki]wake up in the bed;\n[Gakki]have breakfast by the window;\n[Lecun]is walking on the road, go to company;\n(Lecun and Gakki)have lunch;\n[Lecun]work in the company.", + 2, + "bad anatomy, bad hands, missing fingers, extra fingers, three hands, three legs, bad arms, missing legs, missing arms, poorly drawn face, bad face, fused face, cloned face, three crus, fused feet, fused thigh, extra crus, ugly fingers, horn amputation, disconnected limbs", + "Euler", + "No_style", + 0.5, + 0.5, + 1720076415, + "randomize", + 20, + 7, + 0.5, + 20, + 768, + 768 + ] + }, + { + "id": 19, + "type": "Hi_Sampler", + "pos": [ + 4955, + 386 + ], + "size": { + "0": 466.0849609375, + "1": 481.4928894042969 + }, + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 14, + "label": "image" + }, + { + "name": "control_image", + "type": "IMAGE", + "link": 15, + "label": "control_image" + }, + { + "name": "model", + "type": "MODEL", + "link": 16, + "label": "model" + }, + { + "name": "model_info", + "type": "STRING", + "link": 17, + "widget": { + "name": "model_info" + }, + "label": "model_info" + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": [ + 18 + ], + "shape": 3, + "label": "image", + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "Hi_Sampler" + }, + "widgets_values": [ + "", + "a girl,smile,8k,best quality", + "blurry, ugly, duplicate, poorly drawn face, deformed, mosaic, artifacts, bad limbs", + 0.5, + 2, + 427849513563426, + "randomize", + 40, + 3, + 1984, + 2048 + ] + }, + { + "id": 20, + "type": "SaveImage", + "pos": [ + 5447, + 388 + ], + "size": { + "0": 315, + "1": 270 + }, + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 18, + "label": "images" + } + ], + "properties": {}, + "widgets_values": [ + "ComfyUI" + ] + }, + { + "id": 18, + "type": "HI_Diffusers_Model_Loader", + "pos": [ + 4587, + 387 + ], + "size": { + "0": 315, + "1": 314 + }, + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": [ + 14, + 15 + ], + "shape": 3, + "label": "image", + "slot_index": 0 + }, + { + "name": "model", + "type": "MODEL", + "links": [ + 16 + ], + "shape": 3, + "label": "model", + "slot_index": 1 + }, + { + "name": "model_info", + "type": "STRING", + "links": [ + 17 + ], + "shape": 3, + "label": "model_info", + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "HI_Diffusers_Model_Loader" + }, + "widgets_values": [ + "stabilityai\\stable-diffusion-xl-base-1.0", + "", + "none", + "none", + "", + "txt2img", + "DPM2 Karras", + "none", + 0.8, + "sketche" + ] + } + ], + "links": [ + [ + 5, + 10, + 0, + 11, + 0, + "IMAGE" + ], + [ + 6, + 10, + 1, + 11, + 1, + "STRING" + ], + [ + 7, + 11, + 0, + 7, + 0, + "IMAGE" + ], + [ + 8, + 12, + 0, + 10, + 0, + "IMAGE" + ], + [ + 9, + 13, + 0, + 12, + 0, + "IMAGE" + ], + [ + 10, + 14, + 0, + 12, + 1, + "IMAGE" + ], + [ + 14, + 18, + 0, + 19, + 0, + "IMAGE" + ], + [ + 15, + 18, + 0, + 19, + 1, + "IMAGE" + ], + [ + 16, + 18, + 1, + 19, + 2, + "MODEL" + ], + [ + 17, + 18, + 2, + 19, + 3, + "STRING" + ], + [ + 18, + 19, + 0, + 20, + 0, + "IMAGE" + ] + ], + "groups": [ + { + "title": "Group", + "bounding": [ + 1426, + -54, + 2135, + 1225 + ], + "color": "#3f789e", + "font_size": 24, + "locked": false + } + ], + "config": {}, + "extra": { + "ds": { + "scale": 1.228459735736729, + "offset": [ + -4094.8042332975074, + -3.5325990687733224 + ] + } + }, + "version": 0.4 +} \ No newline at end of file