ComfyPilotComfyPilot
工作流 / 图像 / 应用故障与失真效果
应用故障与失真效果

应用故障与失真效果

Apply Glitch And Distortion Effects

为图像添加可自定义的故障与撕裂效果,可控制失真强度、色差与图案随机性,输出风格化失真图像。

图像 4 个节点 1 个输入 2 次使用 ComfyUI ≥ 0.0.1 PurzBeats 4 KB

下载工作流 JSON 查看官方来源

下载后把文件拖进 ComfyUI 窗口即可打开。

节点构成

FL_Glitch × 1
LoadImage × 1
SaveImage × 1
MarkdownNote × 1

官方标注的模型

None

工作流 JSON

和上面「下载工作流 JSON」是同一份文件。

1{
2 "id": "e0ab763d-c8dc-411b-bf7b-b3b86bf72a30",
3 "revision": 0,
4 "last_node_id": 5,
5 "last_link_id": 4,
6 "nodes": [
7 {
8 "id": 1,
9 "type": "FL_Glitch",
10 "pos": [
11 -321.2002152967507,
12 4697.199648657304
13 ],
14 "size": [
15 324,
16 348.484375
17 ],
18 "flags": [],
19 "order": 2,
20 "mode": 0,
21 "inputs": [
22 {
23 "name": "images",
24 "type": "IMAGE",
25 "link": 1
26 },
27 {
28 "name": "mask",
29 "shape": 7,
30 "type": "IMAGE",
31 "link": null
32 }
33 ],
34 "outputs": [
35 {
36 "name": "IMAGE",
37 "type": "IMAGE",
38 "links": [
39 2
40 ]
41 }
42 ],
43 "properties": {
44 "Node name for S&R": "FL_Glitch"
45 },
46 "widgets_values": [
47 "",
48 1,
49 false,
50 4,
51 "Disable",
52 89,
53 "randomize"
54 ],
55 "color": "#16727c",
56 "bgcolor": "#4F0074"
57 },
58 {
59 "id": 2,
60 "type": "LoadImage",
61 "pos": [
62 -705.2001904008312,
63 4697.199648657304
64 ],
65 "size": [
66 339.28125,
67 407.734375
68 ],
69 "flags": [],
70 "order": 0,
71 "mode": 0,
72 "inputs": [],
73 "outputs": [
74 {
75 "name": "IMAGE",
76 "type": "IMAGE",
77 "links": [
78 1
79 ]
80 },
81 {
82 "name": "MASK",
83 "type": "MASK",
84 "links": []
85 }
86 ],
87 "properties": {
88 "Node name for S&R": "LoadImage",
89 "image": "947422dfbe122ccd9795cc0a527571e0b0aed40ed2b6725876da4b361040a54f.png [input]"
90 },
91 "widgets_values": [
92 "comfy_cat.png",
93 "image"
94 ]
95 },
96 {
97 "id": 3,
98 "type": "SaveImage",
99 "pos": [
100 38.799792734191215,
101 4697.199648657304
102 ],
103 "size": [
104 324,
105 378.9375
106 ],
107 "flags": [],
108 "order": 3,
109 "mode": 0,
110 "inputs": [
111 {
112 "name": "images",
113 "type": "IMAGE",
114 "link": 2
115 }
116 ],
117 "outputs": [],
118 "properties": [],
119 "widgets_values": [
120 "ComfyUI"
121 ]
122 },
123 {
124 "id": 5,
125 "type": "MarkdownNote",
126 "pos": [
127 -1557.1997743980555,
128 4697.199648657304
129 ],
130 "size": [
131 817.5,
132 555.84375
133 ],
134 "flags": [],
135 "order": 1,
136 "mode": 0,
137 "inputs": [],
138 "outputs": [],
139 "properties": [],
140 "widgets_values": [
141 "# FL Glitch\n\nApplies glitch/distortion effects to images.\n\n## Parameters\n\n| Parameter | Default | Notes |\n|---|---|---|\n| `envelope_json` | — | Leave blank. |\n| `blend_intensity` | 1.00 | Mask blend strength. Only active when a mask is connected. |\n| `invert` | Off | Inverts the mask area. |\n| `glitch_amount` | 4.00 | Main distortion intensity. Higher = more tearing. |\n| `color_offset` | Disable | Adds chromatic aberration. |\n| `seed` | 61 | Controls glitch pattern randomness. |"
142 ],
143 "color": "#222",
144 "bgcolor": "#000"
145 }
146 ],
147 "links": [
148 [
149 1,
150 2,
151 0,
152 1,
153 0,
154 "IMAGE"
155 ],
156 [
157 2,
158 1,
159 0,
160 3,
161 0,
162 "IMAGE"
163 ]
164 ],
165 "groups": [],
166 "config": [],
167 "extra": {
168 "ds": {
169 "scale": 0.6894959144840414,
170 "offset": [
171 1757.6977210856112,
172 -4195.285015820077
173 ]
174 },
175 "frontendVersion": "1.41.13",
176 "workflowRendererVersion": "Vue",
177 "linearData": {
178 "inputs": [
179 [
180 "2",
181 "image"
182 ],
183 [
184 "1",
185 "glitch_amount"
186 ],
187 [
188 "1",
189 "color_offset"
190 ]
191 ],
192 "outputs": [
193 "3"
194 ]
195 },
196 "VHS_KeepIntermediate": true,
197 "VHS_MetadataImage": true,
198 "VHS_latentpreview": false,
199 "VHS_latentpreviewrate": 0,
200 "linearMode": false
201 },
202 "version": 0.4
203}