Files
smthemex-ComfyUI_UniBlockSwap/example_workflows/swap.json
T
2026-07-11 19:09:33 +08:00

227 lines
3.9 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"id": "2fa1d458-8be8-457d-a668-1dd644c0bb5b",
"revision": 0,
"last_node_id": 7,
"last_link_id": 3,
"nodes": [
{
"id": 1,
"type": "UniBlockSwap",
"pos": [
-511.19826672433953,
-559.2462742688843
],
"size": [
270,
58
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": null
}
],
"outputs": [
{
"name": "model",
"type": "MODEL",
"links": [
3
]
}
],
"properties": {
"Node name for S&R": "UniBlockSwap"
},
"widgets_values": [
-1
]
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
-206.90968023988427,
-294.6207627698586
],
"size": [
400,
200
],
"flags": {},
"order": 4,
"mode": 4,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 2
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": null
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
""
]
},
{
"id": 2,
"type": "UniBlockSwapTE",
"pos": [
-513.2589774346382,
-423.2385275422951
],
"size": [
270,
58
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": null
}
],
"outputs": [
{
"name": "clip",
"type": "CLIP",
"links": [
2
]
}
],
"properties": {
"Node name for S&R": "UniBlockSwapTE"
},
"widgets_values": [
-1
]
},
{
"id": 7,
"type": "KSampler",
"pos": [
-111.79192520543442,
-663.3957184350177
],
"size": [
270,
262
],
"flags": {},
"order": 3,
"mode": 4,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 3
},
{
"name": "positive",
"type": "CONDITIONING",
"link": null
},
{
"name": "negative",
"type": "CONDITIONING",
"link": null
},
{
"name": "latent_image",
"type": "LATENT",
"link": null
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": null
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
0,
"randomize",
20,
8,
"euler",
"simple",
1
]
},
{
"id": 3,
"type": "Note",
"pos": [
-932.5809513043333,
-504.6948802123293
],
"size": [
387.9139985819452,
118.79381870375221
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"example\n\nafter -- ksampler 放在模型采样前\n \nafter -- clip text encoder 放在文本编码前\n\n-1 swap all ,0 ,don't swap ,>0 ,swap (num_blocks) "
],
"color": "#432",
"bgcolor": "#653"
}
],
"links": [
[
2,
2,
0,
6,
0,
"CLIP"
],
[
3,
1,
0,
7,
0,
"MODEL"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 1.0866445684427732,
"offset": [
1086.4630635449782,
851.4249437030855
]
},
"frontendVersion": "1.45.20"
},
"version": 0.4
}