diff --git a/example/texture.json b/example/texture.json new file mode 100644 index 0000000..e1ff583 --- /dev/null +++ b/example/texture.json @@ -0,0 +1,416 @@ +{ + "last_node_id": 10, + "last_link_id": 32, + "nodes": [ + { + "id": 8, + "type": "LoadImage", + "pos": [ + 467, + 580 + ], + "size": { + "0": 345.8467712402344, + "1": 314 + }, + "flags": {}, + "order": 0, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 30 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "123.png", + "image" + ] + }, + { + "id": 10, + "type": "Pops_Sampler", + "pos": [ + 1245, + 359 + ], + "size": { + "0": 317.4000244140625, + "1": 418 + }, + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 26 + }, + { + "name": "clip", + "type": "CLIP", + "link": 27 + }, + { + "name": "tokenizer", + "type": "MODEL", + "link": 28 + }, + { + "name": "image_a", + "type": "IMAGE", + "link": 30 + }, + { + "name": "image_b", + "type": "IMAGE", + "link": 29 + }, + { + "name": "embeds_a", + "type": "STRING", + "link": null, + "widget": { + "name": "embeds_a" + } + }, + { + "name": "embeds_b", + "type": "STRING", + "link": null, + "widget": { + "name": "embeds_b" + } + } + ], + "outputs": [ + { + "name": "positive_emb", + "type": "CONDITIONING", + "links": [ + 31 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "ng_image_embeds", + "type": "CONDITIONING", + "links": [ + 32 + ], + "shape": 3 + }, + { + "name": "img_emb_file", + "type": "STRING", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "Pops_Sampler" + }, + "widgets_values": [ + "smooth", + false, + false, + 1, + 1039840458, + "randomize", + 25, + 768, + 768, + false, + "", + "", + "" + ] + }, + { + "id": 9, + "type": "LoadImage", + "pos": [ + 854, + 595 + ], + "size": { + "0": 345.8467712402344, + "1": 314 + }, + "flags": {}, + "order": 1, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 29 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "u=3498925566,2454775461&fm=253&fmt=auto&app=138&f=JPEG.jpg", + "image" + ] + }, + { + "id": 3, + "type": "Pops_Decoder", + "pos": [ + 1640, + 244 + ], + "size": { + "0": 315, + "1": 218 + }, + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "vae", + "type": "VAE", + "link": 20 + }, + { + "name": "positive_emb", + "type": "CONDITIONING", + "link": 31 + }, + { + "name": "negative_emb", + "type": "CONDITIONING", + "link": 32, + "slot_index": 2 + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": [ + 8 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "Pops_Decoder" + }, + "widgets_values": [ + 98328831, + "randomize", + 25, + 1, + 768, + 768 + ] + }, + { + "id": 4, + "type": "SaveImage", + "pos": [ + 1617, + 514 + ], + "size": { + "0": 356.2532653808594, + "1": 363.0325012207031 + }, + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 8 + } + ], + "properties": {}, + "widgets_values": [ + "ComfyUI" + ] + }, + { + "id": 7, + "type": "Pops_Repo_Loader", + "pos": [ + 862, + 238 + ], + "size": { + "0": 315, + "1": 238 + }, + "flags": {}, + "order": 2, + "mode": 0, + "outputs": [ + { + "name": "model", + "type": "MODEL", + "links": [ + 26 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "clip", + "type": "CLIP", + "links": [ + 27 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "vae", + "type": "VAE", + "links": [ + 20 + ], + "shape": 3, + "slot_index": 2 + }, + { + "name": "tokenizer", + "type": "MODEL", + "links": [ + 28 + ], + "shape": 3, + "slot_index": 3 + } + ], + "properties": { + "Node name for S&R": "Pops_Repo_Loader" + }, + "widgets_values": [ + "none", + "F:/test/ComfyUI/models/diffusers/kandinsky-community/kandinsky-2-2-prior", + "none", + "F:/test/ComfyUI/models/diffusers/kandinsky-community/kandinsky-2-2-decoder", + "texturing_learned_prior.pth", + "Binary" + ] + } + ], + "links": [ + [ + 8, + 3, + 0, + 4, + 0, + "IMAGE" + ], + [ + 20, + 7, + 2, + 3, + 0, + "VAE" + ], + [ + 26, + 7, + 0, + 10, + 0, + "MODEL" + ], + [ + 27, + 7, + 1, + 10, + 1, + "CLIP" + ], + [ + 28, + 7, + 3, + 10, + 2, + "MODEL" + ], + [ + 29, + 9, + 0, + 10, + 4, + "IMAGE" + ], + [ + 30, + 8, + 0, + 10, + 3, + "IMAGE" + ], + [ + 31, + 10, + 0, + 3, + 1, + "CONDITIONING" + ], + [ + 32, + 10, + 1, + 3, + 2, + "CONDITIONING" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 1, + "offset": [ + -367.2631449639393, + -101.05427359054971 + ] + } + }, + "version": 0.4 +} \ No newline at end of file diff --git a/example/texture.png b/example/texture.png new file mode 100644 index 0000000..f4006b3 Binary files /dev/null and b/example/texture.png differ