diff --git a/demo/example.json b/demo/example.json new file mode 100644 index 0000000..764635a --- /dev/null +++ b/demo/example.json @@ -0,0 +1,212 @@ +{ + "last_node_id": 10, + "last_link_id": 10, + "nodes": [ + { + "id": 8, + "type": "LoadImage", + "pos": [ + 636, + 109 + ], + "size": { + "0": 315, + "1": 314 + }, + "flags": {}, + "order": 0, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 8 + ], + "shape": 3, + "label": "图像", + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3, + "label": "遮罩" + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "gakki.png", + "image" + ] + }, + { + "id": 7, + "type": "ID_Repo_Choice", + "pos": [ + 715, + 529 + ], + "size": { + "0": 315, + "1": 130 + }, + "flags": {}, + "order": 1, + "mode": 0, + "outputs": [ + { + "name": "repo_id", + "type": "STRING", + "links": [ + 10 + ], + "shape": 3, + "label": "repo_id", + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ID_Repo_Choice" + }, + "widgets_values": [ + "stable-diffusion-v1-5", + "", + "1SD1.5\\DreamShaper_8_pruned.safetensors", + "mm_sd_v15_v2.ckpt" + ] + }, + { + "id": 10, + "type": "ID_Animator", + "pos": [ + 1133, + 354 + ], + "size": [ + 423.5861962980666, + 494.66712251607464 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 8, + "label": "image" + }, + { + "name": "repo_id", + "type": "STRING", + "link": 10, + "widget": { + "name": "repo_id" + } + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": [ + 9 + ], + "shape": 3, + "label": "image", + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ID_Animator" + }, + "widgets_values": [ + "", + "Iron Man soars through the clouds, his repulsors blazing", + "semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime, text, close up, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck", + "DDIM", + "v3_sd15_adapter.ckpt", + 1, + "2d3dstyle\\3DMM_V11.safetensors", + 0.8, + 30, + 251618243807904, + "randomize", + 8, + 512, + 512, + 16, + 0.8 + ] + }, + { + "id": 9, + "type": "SaveImage", + "pos": [ + 1651, + 435 + ], + "size": { + "0": 315, + "1": 270 + }, + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 9, + "label": "图像" + } + ], + "properties": {}, + "widgets_values": [ + "ComfyUI" + ] + } + ], + "links": [ + [ + 8, + 8, + 0, + 10, + 0, + "IMAGE" + ], + [ + 9, + 10, + 0, + 9, + 0, + "IMAGE" + ], + [ + 10, + 7, + 0, + 10, + 1, + "STRING" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 1.2100000000000004, + "offset": [ + -434.98589577214676, + -11.138948211041045 + ] + } + }, + "version": 0.4 +} \ No newline at end of file diff --git a/demo/example.png b/demo/example.png new file mode 100644 index 0000000..b328e5f Binary files /dev/null and b/demo/example.png differ