From 7972589c035b27e0f6d381e976f74631c9aa30f2 Mon Sep 17 00:00:00 2001 From: smthemex <138738845+smthemex@users.noreply.github.com> Date: Sat, 29 Nov 2025 18:29:00 +0800 Subject: [PATCH] init --- example_workflows/grag.json | 591 ++++++++++++++++++++++++++++++++++++ 1 file changed, 591 insertions(+) create mode 100644 example_workflows/grag.json diff --git a/example_workflows/grag.json b/example_workflows/grag.json new file mode 100644 index 0000000..3e9dcca --- /dev/null +++ b/example_workflows/grag.json @@ -0,0 +1,591 @@ +{ + "id": "362dbf13-d0cd-4bbf-959e-5cc9a16a87a3", + "revision": 0, + "last_node_id": 13, + "last_link_id": 19, + "nodes": [ + { + "id": 1, + "type": "Qwen_Edit_GRAG_SM_Model", + "pos": [ + 3278.5674596178287, + 944.5528134829161 + ], + "size": [ + 292.09921875, + 82 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "model", + "type": "Qwen_Edit_GRAG_SM_Model", + "links": [ + 1 + ] + } + ], + "properties": { + "Node name for S&R": "Qwen_Edit_GRAG_SM_Model" + }, + "widgets_values": [ + "none", + "qwen-image-edit-q6_k.gguf" + ] + }, + { + "id": 2, + "type": "Qwen_Edit_GRAG_SM_KSampler", + "pos": [ + 3726.856011210847, + 926.1772496981262 + ], + "size": [ + 315.437109375, + 266 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "Qwen_Edit_GRAG_SM_Model", + "link": 1 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 17 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 18 + } + ], + "outputs": [ + { + "name": "latent", + "type": "LATENT", + "links": [ + 2 + ] + }, + { + "name": "latents", + "type": "LATENT", + "links": [ + 10 + ] + } + ], + "properties": { + "Node name for S&R": "Qwen_Edit_GRAG_SM_KSampler" + }, + "widgets_values": [ + "wanqwen\\Qwen-Image-Edit-Lightning-8steps-V1.0-bf16.safetensors", + 8, + 1, + 1487597530, + "randomize", + 1, + 1.1, + 5 + ] + }, + { + "id": 9, + "type": "VAEDecode", + "pos": [ + 4144.2988951101315, + 962.5264307927719 + ], + "size": [ + 140, + 46 + ], + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 10 + }, + { + "name": "vae", + "type": "VAE", + "link": 11 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 14 + ] + } + ], + "properties": { + "Node name for S&R": "VAEDecode" + }, + "widgets_values": [] + }, + { + "id": 6, + "type": "VAELoader", + "pos": [ + 2869.471522685459, + 1278.2584160799624 + ], + "size": [ + 270, + 58 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 9, + 11, + 16 + ] + } + ], + "properties": { + "Node name for S&R": "VAELoader" + }, + "widgets_values": [ + "qwen_image_vae.safetensors" + ] + }, + { + "id": 3, + "type": "VAEDecode", + "pos": [ + 3684.926771486949, + 1246.9549577170362 + ], + "size": [ + 140, + 46 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 2 + }, + { + "name": "vae", + "type": "VAE", + "link": 9 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 8 + ] + } + ], + "properties": { + "Node name for S&R": "VAEDecode" + }, + "widgets_values": [] + }, + { + "id": 8, + "type": "SaveImage", + "pos": [ + 3299.9605300016055, + 1400.9197714942366 + ], + "size": [ + 310, + 318.88885498046875 + ], + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 8 + } + ], + "outputs": [], + "properties": {}, + "widgets_values": [ + "ComfyUI" + ] + }, + { + "id": 10, + "type": "CreateVideo", + "pos": [ + 4145.723220394224, + 1061.6173074240744 + ], + "size": [ + 270, + 78 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": null + }, + { + "name": "audio", + "shape": 7, + "type": "AUDIO", + "link": null + } + ], + "outputs": [ + { + "name": "VIDEO", + "type": "VIDEO", + "links": [ + 13 + ] + } + ], + "properties": { + "Node name for S&R": "CreateVideo" + }, + "widgets_values": [ + 8 + ] + }, + { + "id": 11, + "type": "SaveVideo", + "pos": [ + 4096.440452283425, + 1324.849694481293 + ], + "size": [ + 544.9999999999995, + 392.4444519042968 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "video", + "type": "VIDEO", + "link": 13 + } + ], + "outputs": [], + "properties": {}, + "widgets_values": [ + "video/ComfyUI", + "auto", + "auto" + ] + }, + { + "id": 12, + "type": "SaveImage", + "pos": [ + 3661.743279875754, + 1383.1931513738266 + ], + "size": [ + 404.242453835227, + 356.888916015625 + ], + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 14 + } + ], + "outputs": [], + "properties": {}, + "widgets_values": [ + "ComfyUI" + ] + }, + { + "id": 5, + "type": "CLIPLoader", + "pos": [ + 2869.471415873932, + 1118.3694451326971 + ], + "size": [ + 270, + 106 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 15 + ] + } + ], + "properties": { + "Node name for S&R": "CLIPLoader" + }, + "widgets_values": [ + "qwen_2.5_vl_7b_fp8_scaled.safetensors", + "qwen_image", + "default" + ] + }, + { + "id": 13, + "type": "Qwen_Edit_GRAG_SM_Encode", + "pos": [ + 3190.286015407823, + 1089.3169496209416 + ], + "size": [ + 400, + 230 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 15 + }, + { + "name": "vae", + "type": "VAE", + "link": 16 + }, + { + "name": "image", + "type": "IMAGE", + "link": 19 + } + ], + "outputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "links": [ + 17 + ] + }, + { + "name": "negative", + "type": "CONDITIONING", + "links": [ + 18 + ] + } + ], + "properties": { + "Node name for S&R": "Qwen_Edit_GRAG_SM_Encode" + }, + "widgets_values": [ + 1024, + 1024, + "Turn the real birds to origami birds.", + "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" + ] + }, + { + "id": 7, + "type": "LoadImage", + "pos": [ + 3006.058478970681, + 1388.6276844685826 + ], + "size": [ + 270, + 314 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 19 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "000000000020.jpg", + "image" + ] + } + ], + "links": [ + [ + 1, + 1, + 0, + 2, + 0, + "Qwen_Edit_GRAG_SM_Model" + ], + [ + 2, + 2, + 0, + 3, + 0, + "LATENT" + ], + [ + 8, + 3, + 0, + 8, + 0, + "IMAGE" + ], + [ + 9, + 6, + 0, + 3, + 1, + "VAE" + ], + [ + 10, + 2, + 1, + 9, + 0, + "LATENT" + ], + [ + 11, + 6, + 0, + 9, + 1, + "VAE" + ], + [ + 13, + 10, + 0, + 11, + 0, + "VIDEO" + ], + [ + 14, + 9, + 0, + 12, + 0, + "IMAGE" + ], + [ + 15, + 5, + 0, + 13, + 0, + "CLIP" + ], + [ + 16, + 6, + 0, + 13, + 1, + "VAE" + ], + [ + 17, + 13, + 0, + 2, + 1, + "CONDITIONING" + ], + [ + 18, + 13, + 1, + 2, + 2, + "CONDITIONING" + ], + [ + 19, + 7, + 0, + 13, + 2, + "IMAGE" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 1.1, + "offset": [ + -2768.063780855268, + -838.8118837029729 + ] + }, + "workflowRendererVersion": "LG", + "frontendVersion": "1.32.9", + "VHS_latentpreview": false, + "VHS_latentpreviewrate": 0, + "VHS_MetadataImage": true, + "VHS_KeepIntermediate": true + }, + "version": 0.4 +} \ No newline at end of file