工作流 /
图像 /
线稿上色

线稿上色
Add Color to Line Art Illustration
输入黑白线稿,为线稿填色。
图像
3 个节点 1 个输入 12 次使用 ComfyUI ≥ 0.3.71 hellorob 3 KB
节点构成
SaveImage
× 1
GeminiImage2Node
× 1
LoadImage
× 1
官方标注的模型
Gemini3 Pro Image PreviewGoogleNano Banana Pro
工作流 JSON
和上面「下载工作流 JSON」是同一份文件。
1{
2 "id": "8fc8ec48-061e-4764-976a-af56e9481a1f",
3 "revision": 0,
4 "last_node_id": 16,
5 "last_link_id": 17,
6 "nodes": [
7 {
8 "id": 11,
9 "type": "SaveImage",
10 "pos": [
11 1310,
12 130
13 ],
14 "size": [
15 540,
16 670
17 ],
18 "flags": [],
19 "order": 2,
20 "mode": 0,
21 "inputs": [
22 {
23 "name": "images",
24 "type": "IMAGE",
25 "link": 10
26 }
27 ],
28 "outputs": [],
29 "properties": {
30 "Node name for S&R": "SaveImage",
31 "cnr_id": "comfy-core",
32 "ver": "0.4.0"
33 },
34 "widgets_values": [
35 "ComfyUI-color_illustration"
36 ]
37 },
38 {
39 "id": 12,
40 "type": "GeminiImage2Node",
41 "pos": [
42 820,
43 130
44 ],
45 "size": [
46 430,
47 670
48 ],
49 "flags": [],
50 "order": 1,
51 "mode": 0,
52 "inputs": [
53 {
54 "name": "images",
55 "shape": 7,
56 "type": "IMAGE",
57 "link": 11
58 },
59 {
60 "name": "files",
61 "shape": 7,
62 "type": "GEMINI_INPUT_FILES",
63 "link": null
64 }
65 ],
66 "outputs": [
67 {
68 "name": "IMAGE",
69 "type": "IMAGE",
70 "links": [
71 10
72 ]
73 },
74 {
75 "name": "STRING",
76 "type": "STRING",
77 "links": []
78 }
79 ],
80 "properties": {
81 "Node name for S&R": "GeminiImage2Node",
82 "cnr_id": "comfy-core",
83 "ver": "0.3.76"
84 },
85 "widgets_values": [
86 "Color this image",
87 "gemini-3-pro-image-preview",
88 563362989397284,
89 "randomize",
90 "auto",
91 "1K",
92 "IMAGE",
93 "You are an expert image-generation engine. You must ALWAYS produce an image.\nInterpret all user input—regardless of format, intent, or abstraction—as literal visual directives for image composition.\nIf a prompt is conversational or lacks specific visual details, you must creatively invent a concrete visual scenario that depicts the concept.\nPrioritize generating the visual representation above any text, formatting, or conversational requests."
94 ],
95 "color": "#432",
96 "bgcolor": "#653"
97 },
98 {
99 "id": 10,
100 "type": "LoadImage",
101 "pos": [
102 300,
103 130
104 ],
105 "size": [
106 460,
107 670
108 ],
109 "flags": [],
110 "order": 0,
111 "mode": 0,
112 "inputs": [],
113 "outputs": [
114 {
115 "name": "IMAGE",
116 "type": "IMAGE",
117 "links": [
118 11
119 ]
120 },
121 {
122 "name": "MASK",
123 "type": "MASK",
124 "links": null
125 }
126 ],
127 "properties": {
128 "Node name for S&R": "LoadImage",
129 "cnr_id": "comfy-core",
130 "ver": "0.3.76"
131 },
132 "widgets_values": [
133 "illustration_bw.png",
134 "image"
135 ],
136 "color": "#232",
137 "bgcolor": "#353"
138 }
139 ],
140 "links": [
141 [
142 10,
143 12,
144 0,
145 11,
146 0,
147 "IMAGE"
148 ],
149 [
150 11,
151 10,
152 0,
153 12,
154 0,
155 "IMAGE"
156 ]
157 ],
158 "groups": [],
159 "config": [],
160 "extra": {
161 "ds": {
162 "scale": 0.653217990048648,
163 "offset": [
164 471.06808811323253,
165 273.7785513923791
166 ]
167 },
168 "frontendVersion": "1.36.7",
169 "workflowRendererVersion": "LG",
170 "VHS_latentpreview": false,
171 "VHS_latentpreviewrate": 0,
172 "VHS_MetadataImage": true,
173 "VHS_KeepIntermediate": true
174 },
175 "version": 0.4
176}