ComfyPilotComfyPilot
工作流 / 图像 / GPT 图像 2:文生图
GPT 图像 2:文生图

GPT 图像 2:文生图

GPT Image 2: Text to Image

使用OpenAI的最新模型创建可用于宣传的海报、产品照片和多语言标牌。上传可选的参考图,编写详细的提示词,生成高质量、逼真的输出。

图像 2 个节点 99 次使用 ComfyUI ≥ 0.21.1 ComfyUI 3 KB

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

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

节点构成

SaveImage × 1
OpenAIGPTImageNodeV2 × 1

官方标注的模型

GPT Image 2

工作流 JSON

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

1{
2 "id": "0e9503b6-c16d-48e4-ae4a-b02534825a17",
3 "revision": 0,
4 "last_node_id": 271,
5 "last_link_id": 377,
6 "nodes": [
7 {
8 "id": 269,
9 "type": "SaveImage",
10 "pos": [
11 -330,
12 570
13 ],
14 "size": [
15 530,
16 460
17 ],
18 "flags": [],
19 "order": 1,
20 "mode": 0,
21 "inputs": [
22 {
23 "name": "images",
24 "type": "IMAGE",
25 "link": 377
26 }
27 ],
28 "outputs": [
29 {
30 "name": "images",
31 "type": "IMAGE",
32 "links": null
33 }
34 ],
35 "properties": {
36 "cnr_id": "comfy-core",
37 "ver": "0.19.3",
38 "Node name for S&R": "SaveImage",
39 "ue_properties": {
40 "widget_ue_connectable": [],
41 "input_ue_unconnectable": [],
42 "version": "7.7"
43 }
44 },
45 "widgets_values": [
46 "gpt-image-2"
47 ]
48 },
49 {
50 "id": 271,
51 "type": "OpenAIGPTImageNodeV2",
52 "pos": [
53 -820,
54 570
55 ],
56 "size": [
57 450,
58 460
59 ],
60 "flags": [],
61 "order": 0,
62 "mode": 0,
63 "inputs": [
64 {
65 "label": "image_1",
66 "name": "model.images.image_1",
67 "shape": 7,
68 "type": "IMAGE",
69 "link": null
70 },
71 {
72 "label": "mask",
73 "name": "model.mask",
74 "shape": 7,
75 "type": "MASK",
76 "link": null
77 }
78 ],
79 "outputs": [
80 {
81 "name": "IMAGE",
82 "type": "IMAGE",
83 "links": [
84 377
85 ]
86 }
87 ],
88 "properties": {
89 "cnr_id": "comfy-core",
90 "ver": "0.28.0",
91 "Node name for S&R": "OpenAIGPTImageNodeV2"
92 },
93 "widgets_values": [
94 "An extreme close-up, high-contrast portrait of a woman's face, partially obscured by deep black shadows. The word 'GPT IMAGE 2' is projected onto her face in brilliant, glowing orange neon light, with the text cutting directly across her eye and eyelashes. The image is designed as a futuristic poster with a vertical sidebar on the right containing graphic UI elements, technical symbols, a barcode, and minimalist typography. The overall color palette is dominated by intense red and black, capturing a moody, cinematic, and emotionally raw cyberpunk aesthetic, with professional graphic design overlays. The side bar text is promoting that it's Live in ComfyUI",
95 "gpt-image-2",
96 "auto",
97 1024,
98 1024,
99 "auto",
100 "low",
101 1,
102 0,
103 "randomize"
104 ],
105 "color": "#432",
106 "bgcolor": "#653"
107 }
108 ],
109 "links": [
110 [
111 377,
112 271,
113 0,
114 269,
115 0,
116 "IMAGE"
117 ]
118 ],
119 "groups": [],
120 "config": [],
121 "extra": {
122 "ds": {
123 "scale": 1.1902721933729044,
124 "offset": [
125 1309.005058674041,
126 -341.4810153030007
127 ]
128 },
129 "frontendVersion": "1.45.21",
130 "ue_links": [],
131 "links_added_by_ue": [],
132 "VHS_latentpreview": false,
133 "VHS_latentpreviewrate": 0,
134 "VHS_MetadataImage": true,
135 "VHS_KeepIntermediate": true
136 },
137 "version": 0.4
138}