ComfyPilotComfyPilot
工作流 / 矢量 / Recraft:矢量生成
Recraft:矢量生成

Recraft:矢量生成

Recraft: Vector Generation

使用Recraft的AI矢量生成器从文本提示生成高质量矢量图像。

矢量 8 个节点 33 次使用 ComfyUI ≥ 0.3.34 ComfyUI 8 KB

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

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

节点构成

RecraftColorRGB × 4
RecraftControls × 1
RecraftTextToVectorNode × 1
SaveSVGNode × 1
MarkdownNote × 1

官方标注的模型

Recraft

工作流 JSON

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

1{
2 "id": "23f22777-724e-432f-bd47-5edc7f13156e",
3 "revision": 0,
4 "last_node_id": 33,
5 "last_link_id": 31,
6 "nodes": [
7 {
8 "id": 27,
9 "type": "RecraftColorRGB",
10 "pos": [
11 -441.6960754394531,
12 463.4327392578125
13 ],
14 "size": [
15 276.515380859375,
16 106
17 ],
18 "flags": [],
19 "order": 3,
20 "mode": 4,
21 "inputs": [
22 {
23 "name": "recraft_color",
24 "shape": 7,
25 "type": "RECRAFT_COLOR",
26 "link": 25
27 }
28 ],
29 "outputs": [
30 {
31 "name": "recraft_color",
32 "type": "RECRAFT_COLOR",
33 "links": [
34 26
35 ]
36 }
37 ],
38 "properties": {
39 "Node name for S&R": "RecraftColorRGB"
40 },
41 "widgets_values": [
42 241,
43 44,
44 208
45 ]
46 },
47 {
48 "id": 28,
49 "type": "RecraftColorRGB",
50 "pos": [
51 -441.6960754394531,
52 613.4322509765625
53 ],
54 "size": [
55 276.515380859375,
56 106
57 ],
58 "flags": [],
59 "order": 4,
60 "mode": 4,
61 "inputs": [
62 {
63 "name": "recraft_color",
64 "shape": 7,
65 "type": "RECRAFT_COLOR",
66 "link": 26
67 }
68 ],
69 "outputs": [
70 {
71 "name": "recraft_color",
72 "type": "RECRAFT_COLOR",
73 "links": [
74 27
75 ]
76 }
77 ],
78 "properties": {
79 "Node name for S&R": "RecraftColorRGB"
80 },
81 "widgets_values": [
82 241,
83 255,
84 65
85 ]
86 },
87 {
88 "id": 26,
89 "type": "RecraftColorRGB",
90 "pos": [
91 -441.6960754394531,
92 303.43304443359375
93 ],
94 "size": [
95 276.515380859375,
96 106
97 ],
98 "flags": [],
99 "order": 0,
100 "mode": 4,
101 "inputs": [
102 {
103 "name": "recraft_color",
104 "shape": 7,
105 "type": "RECRAFT_COLOR",
106 "link": null
107 }
108 ],
109 "outputs": [
110 {
111 "name": "recraft_color",
112 "type": "RECRAFT_COLOR",
113 "links": [
114 25
115 ]
116 }
117 ],
118 "properties": {
119 "Node name for S&R": "RecraftColorRGB"
120 },
121 "widgets_values": [
122 24,
123 44,
124 196
125 ]
126 },
127 {
128 "id": 30,
129 "type": "RecraftColorRGB",
130 "pos": [
131 -441.78997802734375,
132 825.3909912109375
133 ],
134 "size": [
135 276.515380859375,
136 106
137 ],
138 "flags": [],
139 "order": 1,
140 "mode": 4,
141 "inputs": [
142 {
143 "name": "recraft_color",
144 "shape": 7,
145 "type": "RECRAFT_COLOR",
146 "link": null
147 }
148 ],
149 "outputs": [
150 {
151 "name": "recraft_color",
152 "type": "RECRAFT_COLOR",
153 "links": [
154 30
155 ]
156 }
157 ],
158 "properties": {
159 "Node name for S&R": "RecraftColorRGB"
160 },
161 "widgets_values": [
162 24,
163 44,
164 196
165 ]
166 },
167 {
168 "id": 29,
169 "type": "RecraftControls",
170 "pos": [
171 -124.96234893798828,
172 544.3023071289062
173 ],
174 "size": [
175 287.4034118652344,
176 55.30767059326172
177 ],
178 "flags": [],
179 "order": 5,
180 "mode": 4,
181 "inputs": [
182 {
183 "name": "colors",
184 "shape": 7,
185 "type": "RECRAFT_COLOR",
186 "link": 27
187 },
188 {
189 "name": "background_color",
190 "shape": 7,
191 "type": "RECRAFT_COLOR",
192 "link": 30
193 }
194 ],
195 "outputs": [
196 {
197 "name": "recraft_controls",
198 "type": "RECRAFT_CONTROLS",
199 "links": [
200 29
201 ]
202 }
203 ],
204 "properties": {
205 "Node name for S&R": "RecraftControls"
206 },
207 "widgets_values": []
208 },
209 {
210 "id": 3,
211 "type": "RecraftTextToVectorNode",
212 "pos": [
213 179.61141967773438,
214 532.3265991210938
215 ],
216 "size": [
217 400,
218 300.3140563964844
219 ],
220 "flags": [],
221 "order": 6,
222 "mode": 0,
223 "inputs": [
224 {
225 "name": "negative_prompt",
226 "shape": 7,
227 "type": "STRING",
228 "link": null
229 },
230 {
231 "name": "recraft_controls",
232 "shape": 7,
233 "type": "RECRAFT_CONTROLS",
234 "link": 29
235 }
236 ],
237 "outputs": [
238 {
239 "name": "SVG",
240 "type": "SVG",
241 "links": [
242 31
243 ]
244 }
245 ],
246 "properties": {
247 "Node name for S&R": "RecraftTextToVectorNode"
248 },
249 "widgets_values": [
250 "A magical academy crest design, featuring a central emblem of a mystical creature, such as a dragon or phoenix, surrounded by arcane symbols, ancient runes, and magical elements. The design should be intricate and ornate, with multiple layers of detail. Incorporate a variety of vibrant colors like deep blues, purples, golds, and silvers, to represent different magical elements like fire, water, and air. The emblem should have a shield-like structure with flowing ribbons, stars, and enchanted accents. The overall style should be grand and regal, evoking a sense of mysticism and wisdom, suitable for a prestigious magical institution.",
251 "None",
252 "1024x1024",
253 1,
254 201681460468869,
255 "randomize"
256 ],
257 "color": "#432",
258 "bgcolor": "#653"
259 },
260 {
261 "id": 33,
262 "type": "SaveSVGNode",
263 "pos": [
264 600,
265 530
266 ],
267 "size": [
268 410,
269 300
270 ],
271 "flags": [],
272 "order": 7,
273 "mode": 0,
274 "inputs": [
275 {
276 "name": "svg",
277 "type": "SVG",
278 "link": 31
279 }
280 ],
281 "outputs": [],
282 "properties": {
283 "Node name for S&R": "SaveSVGNode"
284 },
285 "widgets_values": [
286 "svg/ComfyUI"
287 ]
288 },
289 {
290 "id": 31,
291 "type": "MarkdownNote",
292 "pos": [
293 -860,
294 260
295 ],
296 "size": [
297 400,
298 210
299 ],
300 "flags": [],
301 "order": 2,
302 "mode": 0,
303 "inputs": [],
304 "outputs": [],
305 "title": "About API Node",
306 "properties": [],
307 "widgets_values": [
308 "[About API Node](https://docs.comfy.org/tutorials/partner-nodes/overview) \n\nTo use the API, you must be in a secure network environment:\n\n- Allows access from `127.0.0.1` or `localhost`.\n\n- Use our API Node in website services starting with `https`\n\n- Make sure you can normally connect to our API services (some regions may need a proxy).\n\n- Make sure you are logged in in the settings and that your account still has enough credits to cover the consumption of API calls.\n\n- On non-whitelisted sites or local area networks (LANs), please try to [log in using an API Key](https://docs.comfy.org/interface/user#logging-in-with-an-api-key).\n"
309 ],
310 "color": "#222",
311 "bgcolor": "#000"
312 }
313 ],
314 "links": [
315 [
316 25,
317 26,
318 0,
319 27,
320 0,
321 "RECRAFT_COLOR"
322 ],
323 [
324 26,
325 27,
326 0,
327 28,
328 0,
329 "RECRAFT_COLOR"
330 ],
331 [
332 27,
333 28,
334 0,
335 29,
336 0,
337 "RECRAFT_COLOR"
338 ],
339 [
340 29,
341 29,
342 0,
343 3,
344 1,
345 "RECRAFT_CONTROLS"
346 ],
347 [
348 30,
349 30,
350 0,
351 29,
352 1,
353 "RECRAFT_COLOR"
354 ],
355 [
356 31,
357 3,
358 0,
359 33,
360 0,
361 "SVG"
362 ]
363 ],
364 "groups": [
365 {
366 "id": 1,
367 "title": "Color",
368 "bounding": [
369 -450,
370 230,
371 296.515380859375,
372 499.6000061035156
373 ],
374 "color": "#3f789e",
375 "font_size": 24,
376 "flags": []
377 },
378 {
379 "id": 2,
380 "title": "Background Color",
381 "bounding": [
382 -450,
383 750,
384 296.515380859375,
385 189.60000610351562
386 ],
387 "color": "#3f789e",
388 "font_size": 24,
389 "flags": []
390 }
391 ],
392 "config": [],
393 "extra": {
394 "frontendVersion": "1.28.6",
395 "ds": {
396 "scale": 0.5850817701469782,
397 "offset": [
398 1193.542355746831,
399 540.2662644158544
400 ]
401 }
402 },
403 "version": 0.4
404}