工作流 /
矢量 /
Recraft 4.1:文本转矢量

Recraft 4.1:文本转矢量
Recraft 4.1: Text to Vector
使用Recraft V4.1从文本提示词生成一个干净、扁平的矢量标志,无需文件输入即可产生一个可缩放的SVG输出。非常适合品牌和标志设计、矢量插图项目,以及为演示文稿或商品创建一致的扁平颜色图形。
矢量
6 个节点 40 次使用 ComfyUI ≥ 0.29.0 ComfyUI 6 KB
节点构成
RecraftColorRGB
× 2
RecraftControls
× 1
MarkdownNote
× 1
SaveSVGNode
× 1
RecraftV4TextToVectorNode
× 1
官方标注的模型
Recraft
工作流 JSON
和上面「下载工作流 JSON」是同一份文件。
1{
2 "id": "dc0c4b4f-b566-42d0-9e41-5b80748b6dac",
3 "revision": 0,
4 "last_node_id": 14,
5 "last_link_id": 10,
6 "nodes": [
7 {
8 "id": 7,
9 "type": "RecraftColorRGB",
10 "pos": [
11 230,
12 260
13 ],
14 "size": [
15 270,
16 150
17 ],
18 "flags": [],
19 "order": 0,
20 "mode": 4,
21 "inputs": [
22 {
23 "name": "recraft_color",
24 "shape": 7,
25 "type": "RECRAFT_COLOR",
26 "link": null
27 }
28 ],
29 "outputs": [
30 {
31 "name": "recraft_color",
32 "type": "RECRAFT_COLOR",
33 "links": [
34 5
35 ]
36 }
37 ],
38 "properties": {
39 "Node name for S&R": "RecraftColorRGB"
40 },
41 "widgets_values": [
42 0,
43 0,
44 0
45 ]
46 },
47 {
48 "id": 6,
49 "type": "RecraftColorRGB",
50 "pos": [
51 230,
52 460
53 ],
54 "size": [
55 270,
56 150
57 ],
58 "flags": [],
59 "order": 1,
60 "mode": 4,
61 "inputs": [
62 {
63 "name": "recraft_color",
64 "shape": 7,
65 "type": "RECRAFT_COLOR",
66 "link": null
67 }
68 ],
69 "outputs": [
70 {
71 "name": "recraft_color",
72 "type": "RECRAFT_COLOR",
73 "links": [
74 4
75 ]
76 }
77 ],
78 "properties": {
79 "Node name for S&R": "RecraftColorRGB"
80 },
81 "widgets_values": [
82 0,
83 0,
84 0
85 ]
86 },
87 {
88 "id": 4,
89 "type": "RecraftControls",
90 "pos": [
91 520,
92 260
93 ],
94 "size": [
95 250,
96 80
97 ],
98 "flags": [],
99 "order": 3,
100 "mode": 4,
101 "inputs": [
102 {
103 "name": "colors",
104 "shape": 7,
105 "type": "RECRAFT_COLOR",
106 "link": 5
107 },
108 {
109 "name": "background_color",
110 "shape": 7,
111 "type": "RECRAFT_COLOR",
112 "link": 4
113 }
114 ],
115 "outputs": [
116 {
117 "name": "recraft_controls",
118 "type": "RECRAFT_CONTROLS",
119 "links": [
120 10
121 ]
122 }
123 ],
124 "properties": {
125 "Node name for S&R": "RecraftControls"
126 },
127 "widgets_values": []
128 },
129 {
130 "id": 11,
131 "type": "MarkdownNote",
132 "pos": [
133 530,
134 410
135 ],
136 "size": [
137 250,
138 230
139 ],
140 "flags": [],
141 "order": 2,
142 "mode": 0,
143 "inputs": [],
144 "outputs": [],
145 "properties": [],
146 "widgets_values": [
147 "If you want more precise control over the image:\n- Use the `Recraft Controls` node for more precise color control.\n- You can chain multiple `Recraft Color RGB` nodes to provide multiple control colors."
148 ],
149 "color": "#222",
150 "bgcolor": "#000"
151 },
152 {
153 "id": 14,
154 "type": "SaveSVGNode",
155 "pos": [
156 1290,
157 260
158 ],
159 "size": [
160 620,
161 410
162 ],
163 "flags": [],
164 "order": 5,
165 "mode": 0,
166 "inputs": [
167 {
168 "name": "svg",
169 "type": "SVG",
170 "link": 9
171 }
172 ],
173 "outputs": [
174 {
175 "name": "svg",
176 "type": "SVG",
177 "links": null
178 }
179 ],
180 "properties": {
181 "Node name for S&R": "SaveSVGNode"
182 },
183 "widgets_values": [
184 "svg/Recraft_v4.1_t2v"
185 ]
186 },
187 {
188 "id": 13,
189 "type": "RecraftV4TextToVectorNode",
190 "pos": [
191 840,
192 260
193 ],
194 "size": [
195 400,
196 306
197 ],
198 "flags": [],
199 "order": 4,
200 "mode": 0,
201 "inputs": [
202 {
203 "name": "recraft_controls",
204 "shape": 7,
205 "type": "RECRAFT_CONTROLS",
206 "link": 10
207 }
208 ],
209 "outputs": [
210 {
211 "name": "SVG",
212 "type": "SVG",
213 "links": [
214 9
215 ]
216 }
217 ],
218 "properties": {
219 "Node name for S&R": "RecraftV4TextToVectorNode"
220 },
221 "widgets_values": [
222 "SVG vector graphic, flat geometric whimsical illustration, centered full-body young creative girl, she is focused working on open laptop on lap, shoulder-length blue hair, gentle smile, simple stylized facial features, oversized colorful casual outfit, thick clean black contour lines, pure solid color blocks, NO gradients, no soft shadows, vibrant bold saturated color palette, bright hot pink background.\nSurreal imaginative creative workspace scene, abundant floating surrounding elements swirling around character: wireless laptop, graphic drawing tablet, stylus pens, stacked sketch notebooks, paper documents, coffee mug, glowing idea lightbulbs, curve cloud doodles, twisted colorful ribbon streamers, small cute puppy, tiny rainbow, confetti dots, curved squiggle lines, geometric ring decorations, plant sprigs, erasers, paint tubes.\nBalanced dense composition without clutter, elements orbit around the girl, retro screen print texture, modern folk graphic illustration, crisp vector shapes, sharp outlines, suitable for SVG export, lively inspirational creative office vibe",
223 "",
224 "recraftv4_1_vector",
225 "1024x1024",
226 1,
227 517164800406508,
228 "randomize"
229 ],
230 "color": "#432",
231 "bgcolor": "#653"
232 }
233 ],
234 "links": [
235 [
236 4,
237 6,
238 0,
239 4,
240 1,
241 "RECRAFT_COLOR"
242 ],
243 [
244 5,
245 7,
246 0,
247 4,
248 0,
249 "RECRAFT_COLOR"
250 ],
251 [
252 9,
253 13,
254 0,
255 14,
256 0,
257 "SVG"
258 ],
259 [
260 10,
261 4,
262 0,
263 13,
264 0,
265 "RECRAFT_CONTROLS"
266 ]
267 ],
268 "groups": [
269 {
270 "id": 1,
271 "title": "Recraft Toolset(Select and Ctrl-B to enable)",
272 "bounding": [
273 220,
274 180,
275 590,
276 480
277 ],
278 "color": "#3f789e",
279 "flags": []
280 }
281 ],
282 "config": [],
283 "extra": {
284 "ds": {
285 "scale": 0.8521378559533023,
286 "offset": [
287 209.22996971943388,
288 93.43345237450895
289 ]
290 },
291 "frontendVersion": "1.49.0",
292 "workflowRendererVersion": "LG",
293 "VHS_latentpreview": false,
294 "VHS_latentpreviewrate": 0,
295 "VHS_MetadataImage": true,
296 "VHS_KeepIntermediate": true
297 },
298 "version": 0.4
299}