ComfyPilotComfyPilot
工作流 / LLM / Claude: Sonnet 5
Claude: Sonnet 5

Claude: Sonnet 5

Claude: Sonnet 5

利用Claude Sonnet 5执行高价值自主任务,以较低成本弥合与旗舰性能的差距。输入任何文本提示词或脚本,即可生成精确的图像描述、自动化工作流脚本、镜头序列日志或节点逻辑修正。适用于批次生产任务、调试ComfyUI节点逻辑以及在重复性生成工作流中保持一致的输出质量。

LLM 6 个节点 1 个输入 29 次使用 ComfyUI ≥ 0.28.3 ComfyUI 12 KB

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

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

节点构成

ClaudeNode × 1
LoadImage × 1
SaveText × 1
PrimitiveStringMultiline × 1
PreviewAny × 1
1d28f9d1-7c68-4b3b-99f5-2bf7fe0615c5 × 1

官方标注的模型

Claude

工作流 JSON

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

1{
2 "id": "ac859c0d-0942-4e39-9252-fa689a086457",
3 "revision": 0,
4 "last_node_id": 10,
5 "last_link_id": 21,
6 "nodes": [
7 {
8 "id": 1,
9 "type": "ClaudeNode",
10 "pos": [
11 -140,
12 -10
13 ],
14 "size": [
15 410,
16 290
17 ],
18 "flags": [],
19 "order": 2,
20 "mode": 0,
21 "showAdvanced": false,
22 "inputs": [
23 {
24 "label": "image_1",
25 "name": "images.image_1",
26 "shape": 7,
27 "type": "IMAGE",
28 "link": 1
29 },
30 {
31 "label": "image_2",
32 "name": "images.image_2",
33 "shape": 7,
34 "type": "IMAGE",
35 "link": null
36 },
37 {
38 "name": "prompt",
39 "type": "STRING",
40 "widget": {
41 "name": "prompt"
42 },
43 "link": 5
44 }
45 ],
46 "outputs": [
47 {
48 "name": "STRING",
49 "type": "STRING",
50 "links": [
51 10
52 ]
53 }
54 ],
55 "properties": {
56 "Node name for S&R": "ClaudeNode"
57 },
58 "widgets_values": [
59 "",
60 "Sonnet 5",
61 32768,
62 "off",
63 354388829,
64 "randomize",
65 ""
66 ],
67 "color": "#432",
68 "bgcolor": "#653"
69 },
70 {
71 "id": 2,
72 "type": "LoadImage",
73 "pos": [
74 -520,
75 -10
76 ],
77 "size": [
78 290,
79 370
80 ],
81 "flags": [],
82 "order": 0,
83 "mode": 0,
84 "inputs": [],
85 "outputs": [
86 {
87 "name": "IMAGE",
88 "type": "IMAGE",
89 "links": [
90 1
91 ]
92 },
93 {
94 "name": "MASK",
95 "type": "MASK",
96 "links": null
97 }
98 ],
99 "properties": {
100 "Node name for S&R": "LoadImage"
101 },
102 "widgets_values": [
103 "blue_poppies_field.png",
104 "image"
105 ]
106 },
107 {
108 "id": 3,
109 "type": "SaveText",
110 "pos": [
111 940,
112 -10
113 ],
114 "size": [
115 400,
116 420
117 ],
118 "flags": [],
119 "order": 5,
120 "mode": 0,
121 "inputs": [
122 {
123 "name": "text",
124 "type": "STRING",
125 "link": 17
126 }
127 ],
128 "outputs": [
129 {
130 "name": "text",
131 "type": "STRING",
132 "links": null
133 }
134 ],
135 "properties": {
136 "Node name for S&R": "SaveText"
137 },
138 "widgets_values": [
139 "Claude/sonnet_5",
140 "txt"
141 ]
142 },
143 {
144 "id": 5,
145 "type": "PrimitiveStringMultiline",
146 "pos": [
147 -640,
148 420
149 ],
150 "size": [
151 410,
152 360
153 ],
154 "flags": {
155 "collapsed": false
156 },
157 "order": 1,
158 "mode": 0,
159 "inputs": [],
160 "outputs": [
161 {
162 "name": "STRING",
163 "type": "STRING",
164 "links": [
165 5,
166 21
167 ]
168 }
169 ],
170 "title": "Text (User Prompt)",
171 "properties": {
172 "Node name for S&R": "PrimitiveStringMultiline"
173 },
174 "widgets_values": [
175 "Analyze all visual features of the image, generate standard AI art positive prompt.\nExtract subject, character pose, composition, camera angle, lighting, color palette, texture, art style, rendering type, background and details.\nArrange content in order: subject, composition & camera, lighting & color, texture & style, image quality. Separate words with commas.\nOnly output positive prompt, no extra explanations, no negative prompts."
176 ]
177 },
178 {
179 "id": 9,
180 "type": "PreviewAny",
181 "pos": [
182 300,
183 -10
184 ],
185 "size": [
186 270,
187 290
188 ],
189 "flags": [],
190 "order": 3,
191 "mode": 0,
192 "inputs": [
193 {
194 "name": "source",
195 "type": "*",
196 "link": 10
197 }
198 ],
199 "outputs": [
200 {
201 "name": "STRING",
202 "type": "STRING",
203 "links": [
204 20
205 ]
206 }
207 ],
208 "properties": {
209 "Node name for S&R": "PreviewAny"
210 },
211 "widgets_values": []
212 },
213 {
214 "id": 10,
215 "type": "1d28f9d1-7c68-4b3b-99f5-2bf7fe0615c5",
216 "pos": [
217 630,
218 -10
219 ],
220 "size": [
221 250,
222 280
223 ],
224 "flags": [],
225 "order": 4,
226 "mode": 0,
227 "inputs": [
228 {
229 "label": "prompt",
230 "name": "string_b",
231 "type": "STRING",
232 "widget": {
233 "name": "string_b"
234 },
235 "link": 21
236 },
237 {
238 "label": "output",
239 "name": "string_b_1",
240 "type": "STRING",
241 "widget": {
242 "name": "string_b_1"
243 },
244 "link": 20
245 }
246 ],
247 "outputs": [
248 {
249 "name": "STRING",
250 "type": "STRING",
251 "links": [
252 17
253 ]
254 }
255 ],
256 "properties": {
257 "previewExposures": []
258 },
259 "widgets_values": [
260 "",
261 ""
262 ]
263 }
264 ],
265 "links": [
266 [
267 1,
268 2,
269 0,
270 1,
271 0,
272 "IMAGE"
273 ],
274 [
275 5,
276 5,
277 0,
278 1,
279 2,
280 "STRING"
281 ],
282 [
283 10,
284 1,
285 0,
286 9,
287 0,
288 "STRING"
289 ],
290 [
291 17,
292 10,
293 0,
294 3,
295 0,
296 "STRING"
297 ],
298 [
299 20,
300 9,
301 0,
302 10,
303 1,
304 "STRING"
305 ],
306 [
307 21,
308 5,
309 0,
310 10,
311 0,
312 "STRING"
313 ]
314 ],
315 "groups": [],
316 "definitions": {
317 "subgraphs": [
318 {
319 "id": "1d28f9d1-7c68-4b3b-99f5-2bf7fe0615c5",
320 "version": 1,
321 "state": {
322 "lastGroupId": 0,
323 "lastNodeId": 10,
324 "lastLinkId": 21,
325 "lastRerouteId": 0
326 },
327 "revision": 0,
328 "config": [],
329 "name": "Format Output",
330 "inputNode": {
331 "id": -10,
332 "bounding": [
333 492,
334 251,
335 128,
336 88
337 ]
338 },
339 "outputNode": {
340 "id": -20,
341 "bounding": [
342 1630,
343 261,
344 128,
345 68
346 ]
347 },
348 "inputs": [
349 {
350 "id": "98b260aa-97cb-4c0c-a23b-c112110a86ab",
351 "name": "string_b",
352 "type": "STRING",
353 "linkIds": [
354 18
355 ],
356 "label": "prompt",
357 "pos": [
358 596,
359 275
360 ]
361 },
362 {
363 "id": "5fd17593-37c5-450a-8928-72d2971fca23",
364 "name": "string_b_1",
365 "type": "STRING",
366 "linkIds": [
367 19
368 ],
369 "label": "output",
370 "pos": [
371 596,
372 295
373 ]
374 }
375 ],
376 "outputs": [
377 {
378 "id": "3e51d9a9-eada-4386-bd38-a856b8a32500",
379 "name": "STRING",
380 "type": "STRING",
381 "linkIds": [
382 14
383 ],
384 "localized_name": "STRING",
385 "pos": [
386 1654,
387 285
388 ]
389 }
390 ],
391 "widgets": [],
392 "nodes": [
393 {
394 "id": 7,
395 "type": "StringConcatenate",
396 "pos": [
397 680,
398 30
399 ],
400 "size": [
401 400,
402 250
403 ],
404 "flags": [],
405 "order": 1,
406 "mode": 0,
407 "inputs": [
408 {
409 "localized_name": "string_b",
410 "name": "string_b",
411 "type": "STRING",
412 "widget": {
413 "name": "string_b"
414 },
415 "link": 19
416 }
417 ],
418 "outputs": [
419 {
420 "localized_name": "STRING",
421 "name": "STRING",
422 "type": "STRING",
423 "links": [
424 9
425 ]
426 }
427 ],
428 "properties": {
429 "Node name for S&R": "StringConcatenate"
430 },
431 "widgets_values": [
432 "\n\nOUTPUT:\n\n",
433 "",
434 ""
435 ]
436 },
437 {
438 "id": 6,
439 "type": "StringConcatenate",
440 "pos": [
441 690,
442 340
443 ],
444 "size": [
445 400,
446 250
447 ],
448 "flags": [],
449 "order": 0,
450 "mode": 0,
451 "inputs": [
452 {
453 "localized_name": "string_b",
454 "name": "string_b",
455 "type": "STRING",
456 "widget": {
457 "name": "string_b"
458 },
459 "link": 18
460 }
461 ],
462 "outputs": [
463 {
464 "localized_name": "STRING",
465 "name": "STRING",
466 "type": "STRING",
467 "links": [
468 13
469 ]
470 }
471 ],
472 "properties": {
473 "Node name for S&R": "StringConcatenate"
474 },
475 "widgets_values": [
476 "USER PROMPT:\n\n",
477 "",
478 ""
479 ]
480 },
481 {
482 "id": 8,
483 "type": "StringConcatenate",
484 "pos": [
485 1170,
486 30
487 ],
488 "size": [
489 400,
490 250
491 ],
492 "flags": [],
493 "order": 2,
494 "mode": 0,
495 "inputs": [
496 {
497 "localized_name": "string_a",
498 "name": "string_a",
499 "type": "STRING",
500 "widget": {
501 "name": "string_a"
502 },
503 "link": 13
504 },
505 {
506 "localized_name": "string_b",
507 "name": "string_b",
508 "type": "STRING",
509 "widget": {
510 "name": "string_b"
511 },
512 "link": 9
513 }
514 ],
515 "outputs": [
516 {
517 "localized_name": "STRING",
518 "name": "STRING",
519 "type": "STRING",
520 "links": [
521 14
522 ]
523 }
524 ],
525 "properties": {
526 "Node name for S&R": "StringConcatenate"
527 },
528 "widgets_values": [
529 "",
530 "",
531 ""
532 ]
533 }
534 ],
535 "groups": [],
536 "links": [
537 {
538 "id": 13,
539 "origin_id": 6,
540 "origin_slot": 0,
541 "target_id": 8,
542 "target_slot": 0,
543 "type": "STRING"
544 },
545 {
546 "id": 9,
547 "origin_id": 7,
548 "origin_slot": 0,
549 "target_id": 8,
550 "target_slot": 1,
551 "type": "STRING"
552 },
553 {
554 "id": 14,
555 "origin_id": 8,
556 "origin_slot": 0,
557 "target_id": -20,
558 "target_slot": 0,
559 "type": "STRING"
560 },
561 {
562 "id": 18,
563 "origin_id": -10,
564 "origin_slot": 0,
565 "target_id": 6,
566 "target_slot": 0,
567 "type": "STRING"
568 },
569 {
570 "id": 19,
571 "origin_id": -10,
572 "origin_slot": 1,
573 "target_id": 7,
574 "target_slot": 0,
575 "type": "STRING"
576 }
577 ],
578 "extra": []
579 }
580 ]
581 },
582 "config": [],
583 "extra": {
584 "ds": {
585 "scale": 0.8887500235438353,
586 "offset": [
587 983.6165501858868,
588 318.56950687027745
589 ]
590 },
591 "frontendVersion": "1.48.3"
592 },
593 "version": 0.4
594}