TechCarbasa commited on
Commit
531be5b
·
verified ·
1 Parent(s): a9ecf5c

Upload workflows/image_ideogram4_V1 with KJ Prompt BuilderAPI.json

Browse files
workflows/image_ideogram4_V1 with KJ Prompt BuilderAPI.json ADDED
@@ -0,0 +1,437 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "37": {
3
+ "inputs": {
4
+ "aspect_ratio": "9:16 (Portrait Widescreen)",
5
+ "megapixels": 1,
6
+ "multiple": 8
7
+ },
8
+ "class_type": "ResolutionSelector",
9
+ "_meta": {
10
+ "title": "Resolution Selector"
11
+ }
12
+ },
13
+ "158": {
14
+ "inputs": {
15
+ "filename_prefix": "Ideogram_4.0",
16
+ "images": [
17
+ "300",
18
+ 0
19
+ ]
20
+ },
21
+ "class_type": "SaveImage",
22
+ "_meta": {
23
+ "title": "Save Image"
24
+ }
25
+ },
26
+ "267": {
27
+ "inputs": {
28
+ "width": [
29
+ "307",
30
+ 0
31
+ ],
32
+ "height": [
33
+ "308",
34
+ 0
35
+ ],
36
+ "high_level_description": "INPUTPROMPT",
37
+ "background": "",
38
+ "style": "photo",
39
+ "style.photo": "Realsitic",
40
+ "aesthetics": "",
41
+ "lighting": "realistic",
42
+ "medium": "",
43
+ "style_palette_data": "",
44
+ "elements_data": "",
45
+ "bg_brightness": 51,
46
+ "import_mode": "when empty",
47
+ "output_format": "compact",
48
+ "coord_mode": "normalized",
49
+ "bbox_order": "yx"
50
+ },
51
+ "class_type": "Ideogram4PromptBuilderKJ",
52
+ "_meta": {
53
+ "title": "Ideogram 4 Prompt Builder KJ"
54
+ }
55
+ },
56
+ "296": {
57
+ "inputs": {
58
+ "vae_name": "split_files/vae/flux2-vae.safetensors"
59
+ },
60
+ "class_type": "VAELoader",
61
+ "_meta": {
62
+ "title": "Load VAE"
63
+ }
64
+ },
65
+ "297": {
66
+ "inputs": {
67
+ "conditioning": [
68
+ "305",
69
+ 0
70
+ ]
71
+ },
72
+ "class_type": "ConditioningZeroOut",
73
+ "_meta": {
74
+ "title": "Conditioning Zero Out"
75
+ }
76
+ },
77
+ "298": {
78
+ "inputs": {
79
+ "width": [
80
+ "309",
81
+ 1
82
+ ],
83
+ "height": [
84
+ "310",
85
+ 1
86
+ ],
87
+ "batch_size": 1
88
+ },
89
+ "class_type": "EmptyFlux2LatentImage",
90
+ "_meta": {
91
+ "title": "Empty Flux 2 Latent"
92
+ }
93
+ },
94
+ "299": {
95
+ "inputs": {
96
+ "noise": [
97
+ "303",
98
+ 0
99
+ ],
100
+ "guider": [
101
+ "321",
102
+ 0
103
+ ],
104
+ "sampler": [
105
+ "301",
106
+ 0
107
+ ],
108
+ "sigmas": [
109
+ "302",
110
+ 0
111
+ ],
112
+ "latent_image": [
113
+ "298",
114
+ 0
115
+ ]
116
+ },
117
+ "class_type": "SamplerCustomAdvanced",
118
+ "_meta": {
119
+ "title": "SamplerCustomAdvanced"
120
+ }
121
+ },
122
+ "300": {
123
+ "inputs": {
124
+ "samples": [
125
+ "299",
126
+ 0
127
+ ],
128
+ "vae": [
129
+ "296",
130
+ 0
131
+ ]
132
+ },
133
+ "class_type": "VAEDecode",
134
+ "_meta": {
135
+ "title": "VAE Decode"
136
+ }
137
+ },
138
+ "301": {
139
+ "inputs": {
140
+ "sampler_name": "euler"
141
+ },
142
+ "class_type": "KSamplerSelect",
143
+ "_meta": {
144
+ "title": "KSamplerSelect"
145
+ }
146
+ },
147
+ "302": {
148
+ "inputs": {
149
+ "steps": [
150
+ "318",
151
+ 1
152
+ ],
153
+ "width": [
154
+ "309",
155
+ 1
156
+ ],
157
+ "height": [
158
+ "310",
159
+ 1
160
+ ],
161
+ "mu": [
162
+ "311",
163
+ 0
164
+ ],
165
+ "std": [
166
+ "313",
167
+ 0
168
+ ]
169
+ },
170
+ "class_type": "Ideogram4Scheduler",
171
+ "_meta": {
172
+ "title": "Ideogram 4 Scheduler"
173
+ }
174
+ },
175
+ "303": {
176
+ "inputs": {
177
+ "noise_seed": 655607360941634
178
+ },
179
+ "class_type": "RandomNoise",
180
+ "_meta": {
181
+ "title": "RandomNoise"
182
+ }
183
+ },
184
+ "304": {
185
+ "inputs": {
186
+ "unet_name": "ideogram4_fp8_scaled.safetensors",
187
+ "weight_dtype": "default"
188
+ },
189
+ "class_type": "UNETLoader",
190
+ "_meta": {
191
+ "title": "Load Diffusion Model"
192
+ }
193
+ },
194
+ "305": {
195
+ "inputs": {
196
+ "text": [
197
+ "267",
198
+ 0
199
+ ],
200
+ "clip": [
201
+ "306",
202
+ 0
203
+ ]
204
+ },
205
+ "class_type": "CLIPTextEncode",
206
+ "_meta": {
207
+ "title": "CLIP Text Encode (Positive Prompt)"
208
+ }
209
+ },
210
+ "306": {
211
+ "inputs": {
212
+ "clip_name": "text_encoders/qwen3vl_8b_fp8_scaled.safetensors",
213
+ "type": "ideogram4",
214
+ "device": "default"
215
+ },
216
+ "class_type": "CLIPLoader",
217
+ "_meta": {
218
+ "title": "Load CLIP"
219
+ }
220
+ },
221
+ "307": {
222
+ "inputs": {
223
+ "value": [
224
+ "37",
225
+ 0
226
+ ]
227
+ },
228
+ "class_type": "PrimitiveInt",
229
+ "_meta": {
230
+ "title": "Int (Width)"
231
+ }
232
+ },
233
+ "308": {
234
+ "inputs": {
235
+ "value": [
236
+ "37",
237
+ 1
238
+ ]
239
+ },
240
+ "class_type": "PrimitiveInt",
241
+ "_meta": {
242
+ "title": "Int (Height)"
243
+ }
244
+ },
245
+ "309": {
246
+ "inputs": {
247
+ "expression": "max(((a + 15) // 16) * 16, 256)",
248
+ "values.a": [
249
+ "307",
250
+ 0
251
+ ]
252
+ },
253
+ "class_type": "ComfyMathExpression",
254
+ "_meta": {
255
+ "title": "Math Expression"
256
+ }
257
+ },
258
+ "310": {
259
+ "inputs": {
260
+ "expression": "max(((a + 15) // 16) * 16, 256)",
261
+ "values.a": [
262
+ "308",
263
+ 0
264
+ ]
265
+ },
266
+ "class_type": "ComfyMathExpression",
267
+ "_meta": {
268
+ "title": "Math Expression"
269
+ }
270
+ },
271
+ "311": {
272
+ "inputs": {
273
+ "value": [
274
+ "312",
275
+ 0
276
+ ]
277
+ },
278
+ "class_type": "ComfyNumberConvert",
279
+ "_meta": {
280
+ "title": "Convert Number"
281
+ }
282
+ },
283
+ "312": {
284
+ "inputs": {
285
+ "json_string": [
286
+ "315",
287
+ 0
288
+ ],
289
+ "key": "mu"
290
+ },
291
+ "class_type": "JsonExtractString",
292
+ "_meta": {
293
+ "title": "Extract Text from JSON"
294
+ }
295
+ },
296
+ "313": {
297
+ "inputs": {
298
+ "value": [
299
+ "317",
300
+ 0
301
+ ]
302
+ },
303
+ "class_type": "ComfyNumberConvert",
304
+ "_meta": {
305
+ "title": "Convert Number"
306
+ }
307
+ },
308
+ "314": {
309
+ "inputs": {
310
+ "json_string": "{\n \"Quality\": {\n \"num_steps\": 48,\n \"mu\": 0.0,\n \"std\": 1.5,\n \"preset_id\": \"V4_QUALITY_48\"\n },\n \"Default\": {\n \"num_steps\": 20,\n \"mu\": 0.0,\n \"std\": 1.75,\n \"preset_id\": \"V4_DEFAULT_20\"\n },\n \"Turbo\": {\n \"num_steps\": 12,\n \"mu\": 0.5,\n \"std\": 1.75,\n \"preset_id\": \"V4_TURBO_12\"\n }\n}",
311
+ "key": [
312
+ "322",
313
+ 0
314
+ ]
315
+ },
316
+ "class_type": "JsonExtractString",
317
+ "_meta": {
318
+ "title": "Extract Text from JSON"
319
+ }
320
+ },
321
+ "315": {
322
+ "inputs": {
323
+ "string": [
324
+ "314",
325
+ 0
326
+ ],
327
+ "find": "'",
328
+ "replace": "\""
329
+ },
330
+ "class_type": "StringReplace",
331
+ "_meta": {
332
+ "title": "Replace Text"
333
+ }
334
+ },
335
+ "316": {
336
+ "inputs": {
337
+ "json_string": [
338
+ "315",
339
+ 0
340
+ ],
341
+ "key": "num_steps"
342
+ },
343
+ "class_type": "JsonExtractString",
344
+ "_meta": {
345
+ "title": "Extract Text from JSON"
346
+ }
347
+ },
348
+ "317": {
349
+ "inputs": {
350
+ "json_string": [
351
+ "315",
352
+ 0
353
+ ],
354
+ "key": "std"
355
+ },
356
+ "class_type": "JsonExtractString",
357
+ "_meta": {
358
+ "title": "Extract Text from JSON"
359
+ }
360
+ },
361
+ "318": {
362
+ "inputs": {
363
+ "value": [
364
+ "316",
365
+ 0
366
+ ]
367
+ },
368
+ "class_type": "ComfyNumberConvert",
369
+ "_meta": {
370
+ "title": "Convert Number"
371
+ }
372
+ },
373
+ "319": {
374
+ "inputs": {
375
+ "unet_name": "diffusion_models/ideogram4_unconditional_fp8_scaled.safetensors",
376
+ "weight_dtype": "default"
377
+ },
378
+ "class_type": "UNETLoader",
379
+ "_meta": {
380
+ "title": "Load Diffusion Model"
381
+ }
382
+ },
383
+ "320": {
384
+ "inputs": {
385
+ "cfg": 3,
386
+ "start_percent": 0.7,
387
+ "end_percent": 1,
388
+ "model": [
389
+ "304",
390
+ 0
391
+ ]
392
+ },
393
+ "class_type": "CFGOverride",
394
+ "_meta": {
395
+ "title": "CFG Override"
396
+ }
397
+ },
398
+ "321": {
399
+ "inputs": {
400
+ "cfg": 7,
401
+ "model": [
402
+ "320",
403
+ 0
404
+ ],
405
+ "positive": [
406
+ "305",
407
+ 0
408
+ ],
409
+ "model_negative": [
410
+ "319",
411
+ 0
412
+ ],
413
+ "negative": [
414
+ "297",
415
+ 0
416
+ ]
417
+ },
418
+ "class_type": "DualModelGuider",
419
+ "_meta": {
420
+ "title": "Dual Model CFG Guider"
421
+ }
422
+ },
423
+ "322": {
424
+ "inputs": {
425
+ "choice": "Turbo",
426
+ "index": 2,
427
+ "option1": "Quality",
428
+ "option2": "Default",
429
+ "option3": "Turbo",
430
+ "option4": ""
431
+ },
432
+ "class_type": "CustomCombo",
433
+ "_meta": {
434
+ "title": "Custom Combo"
435
+ }
436
+ }
437
+ }