jiaxiangc / comfyui-resadapter Goto Github PK
View Code? Open in Web Editor NEWComfyUI extension for ResAdapter.
License: Apache License 2.0
ComfyUI extension for ResAdapter.
License: Apache License 2.0
ResAdapter does not unload from a workflow once removed or bypassed. It continues to have an affect until you have fully restarted a given instance of ComfyUI.
This makes it quite difficult to create comparisons between On and Off.
If it's not possible to avoid the global-implementation (in contrast to a node-implementation) then perhaps a boolean toggle for On/Off to apply or remove effects on the node would be an alternative solution for the interim.
gogogo
It's good node! thanks!
我安装了ComfyUI-ResAdapter,但找不到这个节点,在comfyUI里搜索ResAdapter也没有这个节点。请问怎么解决???
If you're delayed from releasing code, or don't plan on releasing code,
DON'T OPEN A REPOSITORY. It's EXTREMELY ABUSIVE TO GITHUB'S PURPOSE.
GITHUB IS NOT YOUR FREE ADVERTISEMENT PLATFORM.
NO ONE ENJOYS SEEING AN EMPTY REPOSITORY THAT IS LABELED AS CONTAINING IMPORTANT TECHNOLOGY
THANKS
我把项目放到 custom_nodes 下后,下载了https://huggingface.co/jiaxiangc/res-adapter/tree/main,但是导入workflow.json后无反应,页面不显示东西,后端也不报错。
{ "last_node_id": 19, "last_link_id": 36, "nodes": [ { "id": 7, "type": "VAEDecode", "pos": [ 1720, 140 ], "size": { "0": 210, "1": 46 }, "flags": {}, "order": 10, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 9, "label": "Latent" }, { "name": "vae", "type": "VAE", "link": 13, "label": "VAE" } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 8 ], "shape": 3, "label": "图像" } ], "properties": { "Node name for S&R": "VAEDecode" } }, { "id": 9, "type": "SaveImage", "pos": [ 2011, 221 ], "size": { "0": 322.2373046875, "1": 365.31610107421875 }, "flags": {}, "order": 12, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 8, "label": "图像" } ], "properties": {}, "widgets_values": [ "ComfyUI" ] }, { "id": 13, "type": "VAEDecode", "pos": [ 1733, -196 ], "size": { "0": 210, "1": 46 }, "flags": {}, "order": 13, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 23, "label": "Latent" }, { "name": "vae", "type": "VAE", "link": 22, "label": "VAE" } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 24 ], "shape": 3, "slot_index": 0, "label": "图像" } ], "properties": { "Node name for S&R": "VAEDecode" } }, { "id": 6, "type": "EmptyLatentImage", "pos": [ 570, 240 ], "size": { "0": 315, "1": 106 }, "flags": {}, "order": 0, "mode": 0, "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 7, 21 ], "shape": 3, "slot_index": 0, "label": "Latent" } ], "properties": { "Node name for S&R": "EmptyLatentImage" }, "widgets_values": [ 576, 1152, 2 ] }, { "id": 18, "type": "VideoLinearCFGGuidance", "pos": [ 529, -75 ], "size": { "0": 315, "1": 58 }, "flags": {}, "order": 3, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 31, "label": "模型" } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 32 ], "shape": 3, "label": "模型", "slot_index": 0 } ], "properties": { "Node name for S&R": "VideoLinearCFGGuidance" }, "widgets_values": [ 4 ] }, { "id": 17, "type": "VideoLinearCFGGuidance", "pos": [ 879.2442671864294, -199.20584403841656 ], "size": { "0": 315, "1": 58 }, "flags": {}, "order": 9, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 29, "label": "模型" } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 30 ], "shape": 3, "label": "模型", "slot_index": 0 } ], "properties": { "Node name for S&R": "VideoLinearCFGGuidance" }, "widgets_values": [ 4 ] }, { "id": 14, "type": "SaveImage", "pos": [ 2003, -195 ], "size": { "0": 331.33795166015625, "1": 365.7622985839844 }, "flags": {}, "order": 14, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 24, "label": "图像" } ], "properties": {}, "widgets_values": [ "ComfyUI" ] }, { "id": 19, "type": "CR Seed", "pos": [ 918, -20 ], "size": { "0": 315, "1": 102 }, "flags": {}, "order": 1, "mode": 0, "outputs": [ { "name": "seed", "type": "INT", "links": [ 33, 34 ], "shape": 3, "label": "随机种", "slot_index": 0 }, { "name": "show_help", "type": "STRING", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "CR Seed" }, "widgets_values": [ 509489548871484, "randomize" ] }, { "id": 5, "type": "KSampler", "pos": [ 1421, 357 ], "size": { "0": 315, "1": 474 }, "flags": {}, "order": 8, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 32, "label": "模型" }, { "name": "positive", "type": "CONDITIONING", "link": 5, "label": "正面条件" }, { "name": "negative", "type": "CONDITIONING", "link": 6, "label": "负面条件" }, { "name": "latent_image", "type": "LATENT", "link": 7, "label": "Latent" }, { "name": "seed", "type": "INT", "link": 34, "widget": { "name": "seed" }, "label": "随机种" } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 9 ], "shape": 3, "label": "Latent" } ], "properties": { "Node name for S&R": "KSampler" }, "widgets_values": [ 693786953489814, "randomize", 30, 5, "euler_ancestral", "normal", 1 ] }, { "id": 10, "type": "ResAdapterLoader", "pos": [ 580, -520 ], "size": { "0": 315, "1": 126 }, "flags": {}, "order": 7, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 14, "label": "model" }, { "name": "clip", "type": "CLIP", "link": 16, "label": "clip" } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 29 ], "shape": 3, "slot_index": 0, "label": "MODEL" }, { "name": "CLIP", "type": "CLIP", "links": [], "shape": 3, "slot_index": 1, "label": "CLIP" } ], "properties": { "Node name for S&R": "ResAdapterLoader" }, "widgets_values": [ "resadapter_v1_sd1.5", 1, 1 ], "color": "#322", "bgcolor": "#533" }, { "id": 3, "type": "CLIPTextEncode", "pos": [ 913, 137 ], "size": { "0": 400, "1": 200 }, "flags": {}, "order": 5, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 2, "label": "CLIP" } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 5, 35 ], "shape": 3, "slot_index": 0, "label": "条件" } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "three of the image,(1asian_girl, full_body, standing, facing forward, hands_natural_down, white_background),A girl with a pink hat,yellow short-sleeves,carrying a colorful schoolbag,green shorts,red hair,and colorful sneakers,Realistic 3D cartoon style rendering,girl,whole body,standing,looking up,summer trendy fashion clothing,candy-colored clothes,new popular portrait,fashion illustration,bright colors,neon realistic,bubble mart production,glossy and delicate,clean background,3D rendering,OC rendering,8K,Maintain consistency and uniformity," ] }, { "id": 4, "type": "CLIPTextEncode", "pos": [ 930, 390 ], "size": { "0": 400, "1": 200 }, "flags": { "collapsed": false }, "order": 6, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 3, "label": "CLIP" } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 6, 36 ], "shape": 3, "slot_index": 0, "label": "条件" } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "" ] }, { "id": 2, "type": "CLIPSetLastLayer", "pos": [ 540, 100 ], "size": { "0": 315, "1": 58 }, "flags": {}, "order": 4, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 15, "label": "CLIP" } ], "outputs": [ { "name": "CLIP", "type": "CLIP", "links": [ 2, 3, 16 ], "shape": 3, "slot_index": 0, "label": "CLIP" } ], "properties": { "Node name for S&R": "CLIPSetLastLayer" }, "widgets_values": [ -1 ] }, { "id": 1, "type": "CheckpointLoaderSimple", "pos": [ 80, 90 ], "size": { "0": 375.30194091796875, "1": 107.8841781616211 }, "flags": {}, "order": 2, "mode": 0, "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 14, 31 ], "shape": 3, "slot_index": 0, "label": "模型" }, { "name": "CLIP", "type": "CLIP", "links": [ 15 ], "shape": 3, "slot_index": 1, "label": "CLIP" }, { "name": "VAE", "type": "VAE", "links": [ 13, 22 ], "shape": 3, "slot_index": 2, "label": "VAE" } ], "properties": { "Node name for S&R": "CheckpointLoaderSimple" }, "widgets_values": [ "chilloutmix_NiPrunedFp32Fix.safetensors" ] }, { "id": 12, "type": "KSampler", "pos": [ 1360, -390 ], "size": { "0": 315, "1": 474 }, "flags": {}, "order": 11, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 30, "label": "模型" }, { "name": "positive", "type": "CONDITIONING", "link": 35, "label": "正面条件" }, { "name": "negative", "type": "CONDITIONING", "link": 36, "label": "负面条件" }, { "name": "latent_image", "type": "LATENT", "link": 21, "label": "Latent" }, { "name": "seed", "type": "INT", "link": 33, "widget": { "name": "seed" }, "label": "随机种", "slot_index": 4 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 23 ], "shape": 3, "slot_index": 0, "label": "Latent" } ], "properties": { "Node name for S&R": "KSampler" }, "widgets_values": [ 663548888203913, "randomize", 30, 5, "euler_ancestral", "normal", 1 ] } ], "links": [ [ 2, 2, 0, 3, 0, "CLIP" ], [ 3, 2, 0, 4, 0, "CLIP" ], [ 5, 3, 0, 5, 1, "CONDITIONING" ], [ 6, 4, 0, 5, 2, "CONDITIONING" ], [ 7, 6, 0, 5, 3, "LATENT" ], [ 8, 7, 0, 9, 0, "IMAGE" ], [ 9, 5, 0, 7, 0, "LATENT" ], [ 13, 1, 2, 7, 1, "VAE" ], [ 14, 1, 0, 10, 0, "MODEL" ], [ 15, 1, 1, 2, 0, "CLIP" ], [ 16, 2, 0, 10, 1, "CLIP" ], [ 21, 6, 0, 12, 3, "LATENT" ], [ 22, 1, 2, 13, 1, "VAE" ], [ 23, 12, 0, 13, 0, "LATENT" ], [ 24, 13, 0, 14, 0, "IMAGE" ], [ 29, 10, 0, 17, 0, "MODEL" ], [ 30, 17, 0, 12, 0, "MODEL" ], [ 31, 1, 0, 18, 0, "MODEL" ], [ 32, 18, 0, 5, 0, "MODEL" ], [ 33, 19, 0, 12, 4, "INT" ], [ 34, 19, 0, 5, 4, "INT" ], [ 35, 3, 0, 12, 1, "CONDITIONING" ], [ 36, 4, 0, 12, 2, "CONDITIONING" ] ], "groups": [], "config": {}, "extra": {}, "version": 0.4 }
I provide a demo video, which is helpful for others to use ComfyUI-ResAdapter. @jiaxiangc
We will release more workflow, such as lcm-lora, controlnet, ip-adapter to teach users to use ComfyUI-ResAdapter.
@fengyuzzz If possible, you can put more demo video in this issue. I will make a gallery for these video.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.