diff --git a/example_workflows/example1009.png b/example_workflows/example1009.png new file mode 100644 index 0000000..2d04e2a Binary files /dev/null and b/example_workflows/example1009.png differ diff --git a/example_workflows/lucidflux.json b/example_workflows/lucidflux.json new file mode 100644 index 0000000..91b1489 --- /dev/null +++ b/example_workflows/lucidflux.json @@ -0,0 +1,539 @@ +{ + "id": "6e50dd9c-3346-49b3-b8fe-69c77b45da78", + "revision": 0, + "last_node_id": 33, + "last_link_id": 67, + "nodes": [ + { + "id": 31, + "type": "LucidFlux_SM_KSampler", + "pos": [ + 1917.68115234375, + 111.96649169921875 + ], + "size": [ + 270, + 170 + ], + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "LucidFlux_SM", + "link": 63 + }, + { + "name": "vae", + "type": "VAE", + "link": 60 + }, + { + "name": "condition", + "type": "CONDITIONING", + "link": 67 + } + ], + "outputs": [ + { + "name": "Image", + "type": "IMAGE", + "links": [ + 58 + ] + } + ], + "properties": { + "Node name for S&R": "LucidFlux_SM_KSampler" + }, + "widgets_values": [ + 8, + 1637228678, + "randomize", + 4 + ] + }, + { + "id": 28, + "type": "CheckpointLoaderSimple", + "pos": [ + 955.4044799804688, + -35.34019088745117 + ], + "size": [ + 270, + 98 + ], + "flags": {}, + "order": 0, + "mode": 4, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [] + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [] + }, + { + "name": "VAE", + "type": "VAE", + "links": [] + } + ], + "properties": { + "Node name for S&R": "CheckpointLoaderSimple" + }, + "widgets_values": [ + "flux1-dev-fp8.safetensors" + ] + }, + { + "id": 8, + "type": "DualCLIPLoader", + "pos": [ + 630.3765869140625, + 14.808533668518066 + ], + "size": [ + 270, + 130 + ], + "flags": {}, + "order": 1, + "mode": 4, + "inputs": [], + "outputs": [ + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 59 + ] + } + ], + "properties": { + "Node name for S&R": "DualCLIPLoader" + }, + "widgets_values": [ + "clip_l.safetensors", + "t5xxl_fp8_e4m3fn.safetensors", + "flux", + "default" + ] + }, + { + "id": 5, + "type": "LoadImage", + "pos": [ + 986.8596801757812, + 422.98687744140625 + ], + "size": [ + 348.0098876953125, + 408.2619323730469 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 65 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "4.png", + "image" + ] + }, + { + "id": 24, + "type": "VAELoader", + "pos": [ + 1923.68359375, + -12.729696273803711 + ], + "size": [ + 270, + 58 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 60 + ] + } + ], + "properties": { + "Node name for S&R": "VAELoader" + }, + "widgets_values": [ + "ae.safetensors" + ] + }, + { + "id": 25, + "type": "SaveImage", + "pos": [ + 1370.97607421875, + 390.47821044921875 + ], + "size": [ + 808.5562133789062, + 733.180419921875 + ], + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 58 + } + ], + "outputs": [], + "properties": {}, + "widgets_values": [ + "ComfyUI" + ] + }, + { + "id": 1, + "type": "LucidFlux_SM_Model", + "pos": [ + 1277.8031005859375, + -25.313249588012695 + ], + "size": [ + 270, + 102 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "cf_model", + "shape": 7, + "type": "MODEL", + "link": null + } + ], + "outputs": [ + { + "name": "LucidFlux_SM", + "type": "LucidFlux_SM", + "links": [ + 62 + ] + }, + { + "name": "LucidFlux_SD", + "type": "LucidFlux_SD", + "links": [ + 64 + ] + } + ], + "properties": { + "Node name for S&R": "LucidFlux_SM_Model" + }, + "widgets_values": [ + "lucidflux.pth", + "flux1-kj-dev-fp8.safetensors" + ] + }, + { + "id": 7, + "type": "CLIPTextEncode", + "pos": [ + 959.9752807617188, + 135.83877563476562 + ], + "size": [ + 210, + 115 + ], + "flags": {}, + "order": 6, + "mode": 4, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 59 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [] + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "restore this image into high-quality, clean, high-resolution result" + ] + }, + { + "id": 32, + "type": "LucidFlux_SM_Cond", + "pos": [ + 1616.003662109375, + -22.490707397460938 + ], + "size": [ + 270, + 130 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "LucidFlux_SM", + "link": 62 + } + ], + "outputs": [ + { + "name": "LucidFlux_SM", + "type": "LucidFlux_SM", + "links": [ + 63 + ] + } + ], + "properties": { + "Node name for S&R": "LucidFlux_SM_Cond" + }, + "widgets_values": [ + "flux-turbo.safetensors", + "FLUX\\flux_realism_lora.safetensors", + 1, + 1 + ] + }, + { + "id": 9, + "type": "CLIPVisionLoader", + "pos": [ + 1244.38525390625, + 208.05926513671875 + ], + "size": [ + 270, + 58 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CLIP_VISION", + "type": "CLIP_VISION", + "links": [ + 66 + ] + } + ], + "properties": { + "Node name for S&R": "CLIPVisionLoader" + }, + "widgets_values": [ + "siglip2-so400m-patch16-512.safetensors" + ] + }, + { + "id": 33, + "type": "LucidFlux_SM_Encode", + "pos": [ + 1606.3424072265625, + 150.3069610595703 + ], + "size": [ + 270, + 190 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "state_dict", + "type": "LucidFlux_SD", + "link": 64 + }, + { + "name": "image", + "type": "IMAGE", + "link": 65 + }, + { + "name": "CLIP_VISION", + "type": "CLIP_VISION", + "link": 66 + }, + { + "name": "positive", + "shape": 7, + "type": "CONDITIONING", + "link": null + } + ], + "outputs": [ + { + "name": "condition", + "type": "CONDITIONING", + "links": [ + 67 + ] + } + ], + "properties": { + "Node name for S&R": "LucidFlux_SM_Encode" + }, + "widgets_values": [ + "general_swinir_v1.ckpt", + 896, + 1280, + "prompt_embeddings.pt" + ] + } + ], + "links": [ + [ + 58, + 31, + 0, + 25, + 0, + "IMAGE" + ], + [ + 59, + 8, + 0, + 7, + 0, + "CLIP" + ], + [ + 60, + 24, + 0, + 31, + 1, + "VAE" + ], + [ + 62, + 1, + 0, + 32, + 0, + "LucidFlux_SM" + ], + [ + 63, + 32, + 0, + 31, + 0, + "LucidFlux_SM" + ], + [ + 64, + 1, + 1, + 33, + 0, + "LucidFlux_SD" + ], + [ + 65, + 5, + 0, + 33, + 1, + "IMAGE" + ], + [ + 66, + 9, + 0, + 33, + 2, + "CLIP_VISION" + ], + [ + 67, + 33, + 0, + 31, + 2, + "CONDITIONING" + ] + ], + "groups": [ + { + "id": 1, + "title": "Group", + "bounding": [ + 630.3541870117188, + -91.60552215576172, + 1539.6795654296875, + 772.519287109375 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + } + ], + "config": {}, + "extra": { + "ds": { + "scale": 0.6046743927003373, + "offset": [ + -107.58204427920244, + 205.38870104530116 + ] + }, + "frontendVersion": "1.26.13", + "VHS_latentpreview": false, + "VHS_latentpreviewrate": 0, + "VHS_MetadataImage": true, + "VHS_KeepIntermediate": true + }, + "version": 0.4 +} \ No newline at end of file