ComfyPilotComfyPilot
工作流 / 图像 / Ideogram P-Image: 文生图
Ideogram P-Image: 文生图

Ideogram P-Image: 文生图

Ideogram P-Image: Text to Image

使用Ideogram的快速P-Image模型从文本描述生成图像,该模型在显著降低成本和延迟的同时,提供与领先图像模型相当的质量。接受一个文本提示词并输出一个图像,支持质量级别和分辨率控制。非常适合设计工作流中的快速迭代、高容量内容生产以及成本敏感的视觉概念A/B测试。

图像 5 个节点 15 次使用 ComfyUI ≥ 0.29.2 ComfyUI 12 KB

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

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

节点构成

PreviewAny × 1
CreateBoundingBoxes × 1
IdeogramPImage × 1
BuildJsonPromptIdeogram × 1
SaveImageAdvanced × 1

官方标注的模型

Ideogram

工作流 JSON

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

1{
2 "id": "7d136772-0647-4a55-bd62-7e9c36c41a0b",
3 "revision": 0,
4 "last_node_id": 13,
5 "last_link_id": 12,
6 "nodes": [
7 {
8 "id": 4,
9 "type": "PreviewAny",
10 "pos": [
11 -1850,
12 220
13 ],
14 "size": [
15 600,
16 520
17 ],
18 "flags": [],
19 "order": 2,
20 "mode": 0,
21 "inputs": [
22 {
23 "name": "source",
24 "type": "*",
25 "link": 8
26 }
27 ],
28 "outputs": [
29 {
30 "name": "STRING",
31 "type": "STRING",
32 "links": [
33 7
34 ]
35 }
36 ],
37 "properties": {
38 "Node name for S&R": "PreviewAny"
39 },
40 "widgets_values": [],
41 "widgets_values_named": []
42 },
43 {
44 "id": 9,
45 "type": "CreateBoundingBoxes",
46 "pos": [
47 -2780,
48 200
49 ],
50 "size": [
51 420,
52 830
53 ],
54 "flags": [],
55 "order": 0,
56 "mode": 0,
57 "inputs": [
58 {
59 "name": "background",
60 "shape": 7,
61 "type": "IMAGE",
62 "link": null
63 },
64 {
65 "name": "bboxes",
66 "shape": 7,
67 "type": "BOUNDING_BOX,ARRAY,STRING",
68 "link": null
69 }
70 ],
71 "outputs": [
72 {
73 "name": "preview",
74 "type": "IMAGE",
75 "links": null
76 },
77 {
78 "name": "bboxes",
79 "type": "BOUNDING_BOX",
80 "links": null
81 },
82 {
83 "name": "elements",
84 "type": "ARRAY",
85 "links": [
86 11
87 ]
88 }
89 ],
90 "properties": {
91 "Node name for S&R": "CreateBoundingBoxes"
92 },
93 "widgets_values": [
94 1024,
95 1024,
96 [
97 {
98 "x": 128,
99 "y": 32,
100 "width": 824,
101 "height": 124,
102 "metadata": {
103 "type": "text",
104 "text": "Ideogram P-Image",
105 "desc": "Large elegant white display serif title at the top center of the cover. Decorative swash flourishes extend from the letters. Bold upright letterforms with high contrast against the dark background.",
106 "palette": [
107 "#ffffff"
108 ]
109 }
110 },
111 {
112 "x": 32,
113 "y": 96,
114 "width": 992,
115 "height": 928,
116 "metadata": {
117 "type": "obj",
118 "text": "",
119 "desc": "Figure in theatrical Renaissance-inspired high-fashion costume, waist-up. Smooth matte white porcelain mask with small dark circular eye holes and neutral melancholy expression. Antique-gold sculpted floral crown headpiece with off-white draped veil flowing over the shoulders. Dark black textured bodice with intricate gold embroidery and a large gold tassel pendant at the chest center. Extremely voluminous deep red silk ruffled sleeves. One gloved hand raised near the face in a delicate theatrical gesture.",
120 "palette": [
121 "#ffffff",
122 "#8b0000",
123 "#c9a227",
124 "#1a1a1a"
125 ]
126 }
127 },
128 {
129 "x": 22,
130 "y": 300,
131 "width": 88,
132 "height": 300,
133 "metadata": {
134 "type": "text",
135 "text": "CUSTOM\nNODES\n\"Extend what\nyou can build.\"",
136 "desc": "Small white sans-serif side label stacked vertically along the left margin. Section header in medium weight with a short editorial quote beneath in lighter weight, left-aligned.",
137 "palette": [
138 "#ffffff"
139 ]
140 }
141 },
142 {
143 "x": 914,
144 "y": 300,
145 "width": 88,
146 "height": 300,
147 "metadata": {
148 "type": "text",
149 "text": "WORKFLOW\n\"Drag. Connect.\nGenerate.\"",
150 "desc": "Small white sans-serif side label stacked vertically along the right margin. Section header in medium weight with a short editorial quote beneath in lighter weight, right-aligned.",
151 "palette": [
152 "#ffffff"
153 ]
154 }
155 },
156 {
157 "x": 64,
158 "y": 800,
159 "width": 928,
160 "height": 192,
161 "metadata": {
162 "type": "text",
163 "text": "CONNECT NODES. BUILD WORLDS. COMFYUI MAKES IT FLOW.",
164 "desc": "Wide white sans-serif editorial quote in all capitals spanning the bottom of the cover. Medium weight, centered, with generous letter-spacing across two lines.",
165 "palette": [
166 "#ffffff"
167 ]
168 }
169 }
170 ],
171 []
172 ],
173 "widgets_values_named": {
174 "width": 1024,
175 "height": 1024,
176 "editor_state": [
177 {
178 "x": 128,
179 "y": 32,
180 "width": 824,
181 "height": 124,
182 "metadata": {
183 "type": "text",
184 "text": "Ideogram P-Image",
185 "desc": "Large elegant white display serif title at the top center of the cover. Decorative swash flourishes extend from the letters. Bold upright letterforms with high contrast against the dark background.",
186 "palette": [
187 "#ffffff"
188 ]
189 }
190 },
191 {
192 "x": 32,
193 "y": 96,
194 "width": 992,
195 "height": 928,
196 "metadata": {
197 "type": "obj",
198 "text": "",
199 "desc": "Figure in theatrical Renaissance-inspired high-fashion costume, waist-up. Smooth matte white porcelain mask with small dark circular eye holes and neutral melancholy expression. Antique-gold sculpted floral crown headpiece with off-white draped veil flowing over the shoulders. Dark black textured bodice with intricate gold embroidery and a large gold tassel pendant at the chest center. Extremely voluminous deep red silk ruffled sleeves. One gloved hand raised near the face in a delicate theatrical gesture.",
200 "palette": [
201 "#ffffff",
202 "#8b0000",
203 "#c9a227",
204 "#1a1a1a"
205 ]
206 }
207 },
208 {
209 "x": 22,
210 "y": 300,
211 "width": 88,
212 "height": 300,
213 "metadata": {
214 "type": "text",
215 "text": "CUSTOM\nNODES\n\"Extend what\nyou can build.\"",
216 "desc": "Small white sans-serif side label stacked vertically along the left margin. Section header in medium weight with a short editorial quote beneath in lighter weight, left-aligned.",
217 "palette": [
218 "#ffffff"
219 ]
220 }
221 },
222 {
223 "x": 914,
224 "y": 300,
225 "width": 88,
226 "height": 300,
227 "metadata": {
228 "type": "text",
229 "text": "WORKFLOW\n\"Drag. Connect.\nGenerate.\"",
230 "desc": "Small white sans-serif side label stacked vertically along the right margin. Section header in medium weight with a short editorial quote beneath in lighter weight, right-aligned.",
231 "palette": [
232 "#ffffff"
233 ]
234 }
235 },
236 {
237 "x": 64,
238 "y": 800,
239 "width": 928,
240 "height": 192,
241 "metadata": {
242 "type": "text",
243 "text": "CONNECT NODES. BUILD WORLDS. COMFYUI MAKES IT FLOW.",
244 "desc": "Wide white sans-serif editorial quote in all capitals spanning the bottom of the cover. Medium weight, centered, with generous letter-spacing across two lines.",
245 "palette": [
246 "#ffffff"
247 ]
248 }
249 }
250 ],
251 "last_incoming": []
252 }
253 },
254 {
255 "id": 11,
256 "type": "IdeogramPImage",
257 "pos": [
258 -1190,
259 230
260 ],
261 "size": [
262 400,
263 510
264 ],
265 "flags": [],
266 "order": 3,
267 "mode": 0,
268 "inputs": [
269 {
270 "name": "prompt",
271 "type": "STRING",
272 "widget": {
273 "name": "prompt"
274 },
275 "link": 7
276 }
277 ],
278 "outputs": [
279 {
280 "name": "IMAGE",
281 "type": "IMAGE",
282 "links": [
283 10
284 ]
285 },
286 {
287 "name": "final_prompt",
288 "type": "STRING",
289 "links": null
290 }
291 ],
292 "properties": {
293 "Node name for S&R": "IdeogramPImage"
294 },
295 "widgets_values": [
296 "",
297 "MEDIUM",
298 "1K",
299 "1:1",
300 "AUTO",
301 1290088285,
302 "randomize"
303 ],
304 "widgets_values_named": {
305 "prompt": "",
306 "quality": "MEDIUM",
307 "resolution": "1K",
308 "aspect_ratio": "1:1",
309 "prompt_upsampling": "AUTO",
310 "seed": 1290088285,
311 "control_after_generate": "randomize"
312 },
313 "color": "#432",
314 "bgcolor": "#653"
315 },
316 {
317 "id": 12,
318 "type": "BuildJsonPromptIdeogram",
319 "pos": [
320 -2310,
321 220
322 ],
323 "size": [
324 400,
325 394
326 ],
327 "flags": [],
328 "order": 1,
329 "mode": 0,
330 "inputs": [
331 {
332 "name": "element",
333 "type": "ARRAY",
334 "link": 11
335 }
336 ],
337 "outputs": [
338 {
339 "name": "prompt",
340 "type": "DICT",
341 "links": [
342 8
343 ]
344 }
345 ],
346 "properties": {
347 "Node name for S&R": "BuildJsonPromptIdeogram"
348 },
349 "widgets_values": [
350 "An avant-garde high-fashion magazine cover titled 'Ideogram P-Image' featuring a masked figure in ornate Renaissance-inspired costume with voluminous red silk sleeves against a dark navy backdrop with subtle concentric graphic lines.",
351 "dark",
352 "photo",
353 "editorial",
354 "High-fashion avant-garde editorial aesthetic with dramatic contrast and ornate costume details.",
355 "Dramatic directional chiaroscuro lighting highlighting red silk and gold embroidery with deep shadows across the backdrop.",
356 "",
357 [
358 "#0a1628",
359 "#ffffff",
360 "#8b0000",
361 "#c9a227"
362 ]
363 ],
364 "widgets_values_named": {
365 "high_level_description": "An avant-garde high-fashion magazine cover titled 'Ideogram P-Image' featuring a masked figure in ornate Renaissance-inspired costume with voluminous red silk sleeves against a dark navy backdrop with subtle concentric graphic lines.",
366 "background": "dark",
367 "style": "photo",
368 "style.photo": "editorial",
369 "aesthetics": "High-fashion avant-garde editorial aesthetic with dramatic contrast and ornate costume details.",
370 "lighting": "Dramatic directional chiaroscuro lighting highlighting red silk and gold embroidery with deep shadows across the backdrop.",
371 "medium": "",
372 "color_palette": [
373 "#0a1628",
374 "#ffffff",
375 "#8b0000",
376 "#c9a227"
377 ]
378 }
379 },
380 {
381 "id": 13,
382 "type": "SaveImageAdvanced",
383 "pos": [
384 -750,
385 230
386 ],
387 "size": [
388 470,
389 146
390 ],
391 "flags": [],
392 "order": 4,
393 "mode": 0,
394 "inputs": [
395 {
396 "name": "images",
397 "type": "IMAGE",
398 "link": 10
399 }
400 ],
401 "outputs": [
402 {
403 "name": "images",
404 "type": "IMAGE",
405 "links": null
406 }
407 ],
408 "properties": [],
409 "widgets_values": [
410 "Ideogram_P-Image",
411 "png",
412 "8-bit",
413 "sRGB"
414 ],
415 "widgets_values_named": {
416 "filename_prefix": "Ideogram_P-Image",
417 "format": "png",
418 "format.bit_depth": "8-bit",
419 "format.input_color_space": "sRGB"
420 }
421 }
422 ],
423 "links": [
424 [
425 7,
426 4,
427 0,
428 11,
429 0,
430 "STRING"
431 ],
432 [
433 8,
434 12,
435 0,
436 4,
437 0,
438 "DICT"
439 ],
440 [
441 10,
442 11,
443 0,
444 13,
445 0,
446 "IMAGE"
447 ],
448 [
449 11,
450 9,
451 2,
452 12,
453 0,
454 "ARRAY"
455 ]
456 ],
457 "groups": [],
458 "config": [],
459 "extra": {
460 "ds": {
461 "scale": 0.6087426944454611,
462 "offset": [
463 2255.416237676962,
464 490.75070431172776
465 ]
466 },
467 "frontendVersion": "1.49.1"
468 },
469 "version": 0.4
470}