diff --git a/examples/lotus_depth_g_example_01.json b/examples/lotus_depth_g_example_01.json new file mode 100644 index 0000000..fea0ca7 --- /dev/null +++ b/examples/lotus_depth_g_example_01.json @@ -0,0 +1,398 @@ +{ + "last_node_id": 15, + "last_link_id": 12, + "nodes": [ + { + "id": 10, + "type": "LoadImage", + "pos": { + "0": 484, + "1": 657 + }, + "size": { + "0": 290.0658874511719, + "1": 378.9219665527344 + }, + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 6 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "002_source.png", + "image" + ] + }, + { + "id": 9, + "type": "VAEEncode", + "pos": { + "0": 846, + "1": 731 + }, + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "pixels", + "type": "IMAGE", + "link": 6 + }, + { + "name": "vae", + "type": "VAE", + "link": 7 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 5 + ] + } + ], + "properties": { + "Node name for S&R": "VAEEncode" + }, + "widgets_values": [] + }, + { + "id": 11, + "type": "VAELoader", + "pos": { + "0": 481, + "1": 1095 + }, + "size": { + "0": 315, + "1": 58 + }, + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 7, + 9 + ] + } + ], + "properties": { + "Node name for S&R": "VAELoader" + }, + "widgets_values": [ + "vae-ft-mse-840000-ema-pruned.safetensors" + ] + }, + { + "id": 12, + "type": "Note", + "pos": { + "0": 490, + "1": 1200 + }, + "size": { + "0": 289.78192138671875, + "1": 58 + }, + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "Any SD1.5 / 2.0 VAE" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 8, + "type": "LotusSampler", + "pos": { + "0": 1120, + "1": 514 + }, + "size": { + "0": 315, + "1": 150 + }, + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "lotus_unet", + "type": "LOTUSUNET", + "link": 4 + }, + { + "name": "samples", + "type": "LATENT", + "link": 5 + } + ], + "outputs": [ + { + "name": "samples", + "type": "LATENT", + "links": [ + 8 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "LotusSampler" + }, + "widgets_values": [ + 3599967422, + "fixed", + 4, + false + ] + }, + { + "id": 14, + "type": "PreviewImage", + "pos": { + "0": 1295, + "1": 731 + }, + "size": { + "0": 499.8815002441406, + "1": 507.5718994140625 + }, + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 12 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [] + }, + { + "id": 7, + "type": "LoadLotusModel", + "pos": { + "0": 479, + "1": 515 + }, + "size": { + "0": 315, + "1": 82 + }, + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "lotus_unet", + "type": "LOTUSUNET", + "links": [ + 4 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "LoadLotusModel" + }, + "widgets_values": [ + "lotus-depth-g-v1-0-fp16.safetensors", + "fp16" + ] + }, + { + "id": 13, + "type": "VAEDecode", + "pos": { + "0": 1492, + "1": 523 + }, + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 8 + }, + { + "name": "vae", + "type": "VAE", + "link": 9 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 11 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEDecode" + }, + "widgets_values": [] + }, + { + "id": 15, + "type": "ImageInvert", + "pos": { + "0": 1485, + "1": 631 + }, + "size": { + "0": 210, + "1": 26 + }, + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 11 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 12 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ImageInvert" + } + } + ], + "links": [ + [ + 4, + 7, + 0, + 8, + 0, + "LOTUSUNET" + ], + [ + 5, + 9, + 0, + 8, + 1, + "LATENT" + ], + [ + 6, + 10, + 0, + 9, + 0, + "IMAGE" + ], + [ + 7, + 11, + 0, + 9, + 1, + "VAE" + ], + [ + 8, + 8, + 0, + 13, + 0, + "LATENT" + ], + [ + 9, + 11, + 0, + 13, + 1, + "VAE" + ], + [ + 11, + 13, + 0, + 15, + 0, + "IMAGE" + ], + [ + 12, + 15, + 0, + 14, + 0, + "IMAGE" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 0.7627768444387127, + "offset": [ + 165.4996922821213, + -136.75873788961735 + ] + } + }, + "version": 0.4 +} \ No newline at end of file diff --git a/examples/lotus_normal_g_example_01.json b/examples/lotus_normal_g_example_01.json new file mode 100644 index 0000000..0e9b0fd --- /dev/null +++ b/examples/lotus_normal_g_example_01.json @@ -0,0 +1,355 @@ +{ + "last_node_id": 14, + "last_link_id": 10, + "nodes": [ + { + "id": 7, + "type": "LoadLotusModel", + "pos": { + "0": 479, + "1": 515 + }, + "size": { + "0": 315, + "1": 82 + }, + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "lotus_unet", + "type": "LOTUSUNET", + "links": [ + 4 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "LoadLotusModel" + }, + "widgets_values": [ + "lotus-normal-g-v1-0-fp16.safetensors", + "fp16" + ] + }, + { + "id": 10, + "type": "LoadImage", + "pos": { + "0": 484, + "1": 657 + }, + "size": { + "0": 290.0658874511719, + "1": 378.9219665527344 + }, + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 6 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "002_source.png", + "image" + ] + }, + { + "id": 9, + "type": "VAEEncode", + "pos": { + "0": 846, + "1": 731 + }, + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "pixels", + "type": "IMAGE", + "link": 6 + }, + { + "name": "vae", + "type": "VAE", + "link": 7 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 5 + ] + } + ], + "properties": { + "Node name for S&R": "VAEEncode" + }, + "widgets_values": [] + }, + { + "id": 11, + "type": "VAELoader", + "pos": { + "0": 481, + "1": 1095 + }, + "size": { + "0": 315, + "1": 58 + }, + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 7, + 9 + ] + } + ], + "properties": { + "Node name for S&R": "VAELoader" + }, + "widgets_values": [ + "vae-ft-mse-840000-ema-pruned.safetensors" + ] + }, + { + "id": 12, + "type": "Note", + "pos": { + "0": 490, + "1": 1200 + }, + "size": { + "0": 289.78192138671875, + "1": 58 + }, + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "Any SD1.5 / 2.0 VAE" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 8, + "type": "LotusSampler", + "pos": { + "0": 1120, + "1": 514 + }, + "size": { + "0": 315, + "1": 150 + }, + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "lotus_unet", + "type": "LOTUSUNET", + "link": 4 + }, + { + "name": "samples", + "type": "LATENT", + "link": 5 + } + ], + "outputs": [ + { + "name": "samples", + "type": "LATENT", + "links": [ + 8 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "LotusSampler" + }, + "widgets_values": [ + 3599967422, + "fixed", + 4, + false + ] + }, + { + "id": 13, + "type": "VAEDecode", + "pos": { + "0": 1492, + "1": 523 + }, + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 8 + }, + { + "name": "vae", + "type": "VAE", + "link": 9 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 10 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEDecode" + }, + "widgets_values": [] + }, + { + "id": 14, + "type": "PreviewImage", + "pos": { + "0": 1295, + "1": 731 + }, + "size": { + "0": 499.8815002441406, + "1": 507.5718994140625 + }, + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 10 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [] + } + ], + "links": [ + [ + 4, + 7, + 0, + 8, + 0, + "LOTUSUNET" + ], + [ + 5, + 9, + 0, + 8, + 1, + "LATENT" + ], + [ + 6, + 10, + 0, + 9, + 0, + "IMAGE" + ], + [ + 7, + 11, + 0, + 9, + 1, + "VAE" + ], + [ + 8, + 8, + 0, + 13, + 0, + "LATENT" + ], + [ + 9, + 11, + 0, + 13, + 1, + "VAE" + ], + [ + 10, + 13, + 0, + 14, + 0, + "IMAGE" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 0.7627768444387127, + "offset": [ + 165.4996922821213, + -136.75873788961735 + ] + } + }, + "version": 0.4 +} \ No newline at end of file