工作流 /
图像 /
Recraft v4:文生图

Recraft v4:文生图
Recraft v4: Text to Image
输入文本提示词以生成高分辨率图像。使用Recraft V4模型增强真实感、文本准确性和详细的矢量图形。根据您选择的版本输出1024x1024或2048x2048的图像。
图像
6 个节点 9 次使用 ComfyUI ≥ 0.14.1 ComfyUI 5 KB
节点构成
RecraftColorRGB
× 2
RecraftControls
× 1
MarkdownNote
× 1
RecraftV4TextToImageNode
× 1
SaveImage
× 1
官方标注的模型
Recraft
工作流 JSON
和上面「下载工作流 JSON」是同一份文件。
1{
2 "id": "dc0c4b4f-b566-42d0-9e41-5b80748b6dac",
3 "revision": 0,
4 "last_node_id": 12,
5 "last_link_id": 8,
6 "nodes": [
7 {
8 "id": 7,
9 "type": "RecraftColorRGB",
10 "pos": [
11 480.0000017660635,
12 280.0000003532127
13 ],
14 "size": [
15 270,
16 168
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": 4,
49 "type": "RecraftControls",
50 "pos": [
51 490,
52 720
53 ],
54 "size": [
55 250,
56 96
57 ],
58 "flags": [],
59 "order": 4,
60 "mode": 4,
61 "inputs": [
62 {
63 "name": "colors",
64 "shape": 7,
65 "type": "RECRAFT_COLOR",
66 "link": 5
67 },
68 {
69 "name": "background_color",
70 "shape": 7,
71 "type": "RECRAFT_COLOR",
72 "link": 4
73 }
74 ],
75 "outputs": [
76 {
77 "name": "recraft_controls",
78 "type": "RECRAFT_CONTROLS",
79 "links": []
80 }
81 ],
82 "properties": {
83 "Node name for S&R": "RecraftControls"
84 },
85 "widgets_values": []
86 },
87 {
88 "id": 6,
89 "type": "RecraftColorRGB",
90 "pos": [
91 480.0000017660635,
92 500.00000017660636
93 ],
94 "size": [
95 270,
96 168
97 ],
98 "flags": [],
99 "order": 1,
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 4
115 ]
116 }
117 ],
118 "properties": {
119 "Node name for S&R": "RecraftColorRGB"
120 },
121 "widgets_values": [
122 0,
123 0,
124 0
125 ]
126 },
127 {
128 "id": 11,
129 "type": "MarkdownNote",
130 "pos": [
131 470,
132 900
133 ],
134 "size": [
135 300,
136 180
137 ],
138 "flags": [],
139 "order": 2,
140 "mode": 0,
141 "inputs": [],
142 "outputs": [],
143 "properties": [],
144 "widgets_values": [
145 "If you want more precise control over the image:\n- Use the `Recraft Controls' node for more precise color control."
146 ],
147 "color": "#222",
148 "bgcolor": "#000"
149 },
150 {
151 "id": 12,
152 "type": "RecraftV4TextToImageNode",
153 "pos": [
154 849.9999929357458,
155 259.9999985871492
156 ],
157 "size": [
158 450,
159 341.328125
160 ],
161 "flags": [],
162 "order": 3,
163 "mode": 0,
164 "inputs": [
165 {
166 "name": "recraft_controls",
167 "shape": 7,
168 "type": "RECRAFT_CONTROLS",
169 "link": null
170 }
171 ],
172 "outputs": [
173 {
174 "name": "IMAGE",
175 "type": "IMAGE",
176 "links": [
177 8
178 ]
179 }
180 ],
181 "properties": {
182 "Node name for S&R": "RecraftV4TextToImageNode"
183 },
184 "widgets_values": [
185 "Full-length stunning model in long black dress, with thin belt, black hat and boots high fashion, face is bowed down, hat is covering her entire face, leading a sleek white horse; dress trailing in wind; low 35-45mm, eye-level, side sunlight or hard key 45°, shadows clean, desert as a backdrop, decisive stride tyle by helmut newton.",
186 "",
187 "recraftv4",
188 "1024x1024",
189 1,
190 1042812226196519,
191 "randomize"
192 ],
193 "color": "#432",
194 "bgcolor": "#653"
195 },
196 {
197 "id": 5,
198 "type": "SaveImage",
199 "pos": [
200 1319.999992935746,
201 259.9999985871492
202 ],
203 "size": [
204 540,
205 440
206 ],
207 "flags": [],
208 "order": 5,
209 "mode": 0,
210 "inputs": [
211 {
212 "name": "images",
213 "type": "IMAGE",
214 "link": 8
215 }
216 ],
217 "outputs": [],
218 "properties": [],
219 "widgets_values": [
220 "Recraft_v4_t2i"
221 ]
222 }
223 ],
224 "links": [
225 [
226 4,
227 6,
228 0,
229 4,
230 1,
231 "RECRAFT_COLOR"
232 ],
233 [
234 5,
235 7,
236 0,
237 4,
238 0,
239 "RECRAFT_COLOR"
240 ],
241 [
242 8,
243 12,
244 0,
245 5,
246 0,
247 "IMAGE"
248 ]
249 ],
250 "groups": [
251 {
252 "id": 1,
253 "title": "Recraft Toolset",
254 "bounding": [
255 470,
256 200,
257 290,
258 650
259 ],
260 "color": "#3f789e",
261 "font_size": 24,
262 "flags": []
263 }
264 ],
265 "config": [],
266 "extra": {
267 "ds": {
268 "scale": 0.5907718343638156,
269 "offset": [
270 619.1107638031403,
271 386.92071391251113
272 ]
273 },
274 "frontendVersion": "1.42.15",
275 "workflowRendererVersion": "LG"
276 },
277 "version": 0.4
278}