{ "37": { "inputs": { "aspect_ratio": "9:16 (Portrait Widescreen)", "megapixels": 1, "multiple": 8 }, "class_type": "ResolutionSelector", "_meta": { "title": "Resolution Selector" } }, "158": { "inputs": { "filename_prefix": "Ideogram_4.0", "images": [ "300", 0 ] }, "class_type": "SaveImage", "_meta": { "title": "Save Image" } }, "267": { "inputs": { "width": [ "307", 0 ], "height": [ "308", 0 ], "high_level_description": "INPUTPROMPT", "background": "", "style": "photo", "style.photo": "Realsitic", "aesthetics": "", "lighting": "realistic", "medium": "", "style_palette_data": "", "elements_data": "", "bg_brightness": 51, "import_mode": "when empty", "output_format": "compact", "coord_mode": "normalized", "bbox_order": "yx" }, "class_type": "Ideogram4PromptBuilderKJ", "_meta": { "title": "Ideogram 4 Prompt Builder KJ" } }, "296": { "inputs": { "vae_name": "split_files/vae/flux2-vae.safetensors" }, "class_type": "VAELoader", "_meta": { "title": "Load VAE" } }, "297": { "inputs": { "conditioning": [ "305", 0 ] }, "class_type": "ConditioningZeroOut", "_meta": { "title": "Conditioning Zero Out" } }, "298": { "inputs": { "width": [ "309", 1 ], "height": [ "310", 1 ], "batch_size": 1 }, "class_type": "EmptyFlux2LatentImage", "_meta": { "title": "Empty Flux 2 Latent" } }, "299": { "inputs": { "noise": [ "303", 0 ], "guider": [ "321", 0 ], "sampler": [ "301", 0 ], "sigmas": [ "302", 0 ], "latent_image": [ "298", 0 ] }, "class_type": "SamplerCustomAdvanced", "_meta": { "title": "SamplerCustomAdvanced" } }, "300": { "inputs": { "samples": [ "299", 0 ], "vae": [ "296", 0 ] }, "class_type": "VAEDecode", "_meta": { "title": "VAE Decode" } }, "301": { "inputs": { "sampler_name": "euler" }, "class_type": "KSamplerSelect", "_meta": { "title": "KSamplerSelect" } }, "302": { "inputs": { "steps": [ "318", 1 ], "width": [ "309", 1 ], "height": [ "310", 1 ], "mu": [ "311", 0 ], "std": [ "313", 0 ] }, "class_type": "Ideogram4Scheduler", "_meta": { "title": "Ideogram 4 Scheduler" } }, "303": { "inputs": { "noise_seed": 655607360941634 }, "class_type": "RandomNoise", "_meta": { "title": "RandomNoise" } }, "304": { "inputs": { "unet_name": "ideogram4_fp8_scaled.safetensors", "weight_dtype": "default" }, "class_type": "UNETLoader", "_meta": { "title": "Load Diffusion Model" } }, "305": { "inputs": { "text": [ "267", 0 ], "clip": [ "306", 0 ] }, "class_type": "CLIPTextEncode", "_meta": { "title": "CLIP Text Encode (Positive Prompt)" } }, "306": { "inputs": { "clip_name": "text_encoders/qwen3vl_8b_fp8_scaled.safetensors", "type": "ideogram4", "device": "default" }, "class_type": "CLIPLoader", "_meta": { "title": "Load CLIP" } }, "307": { "inputs": { "value": [ "37", 0 ] }, "class_type": "PrimitiveInt", "_meta": { "title": "Int (Width)" } }, "308": { "inputs": { "value": [ "37", 1 ] }, "class_type": "PrimitiveInt", "_meta": { "title": "Int (Height)" } }, "309": { "inputs": { "expression": "max(((a + 15) // 16) * 16, 256)", "values.a": [ "307", 0 ] }, "class_type": "ComfyMathExpression", "_meta": { "title": "Math Expression" } }, "310": { "inputs": { "expression": "max(((a + 15) // 16) * 16, 256)", "values.a": [ "308", 0 ] }, "class_type": "ComfyMathExpression", "_meta": { "title": "Math Expression" } }, "311": { "inputs": { "value": [ "312", 0 ] }, "class_type": "ComfyNumberConvert", "_meta": { "title": "Convert Number" } }, "312": { "inputs": { "json_string": [ "315", 0 ], "key": "mu" }, "class_type": "JsonExtractString", "_meta": { "title": "Extract Text from JSON" } }, "313": { "inputs": { "value": [ "317", 0 ] }, "class_type": "ComfyNumberConvert", "_meta": { "title": "Convert Number" } }, "314": { "inputs": { "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}", "key": [ "322", 0 ] }, "class_type": "JsonExtractString", "_meta": { "title": "Extract Text from JSON" } }, "315": { "inputs": { "string": [ "314", 0 ], "find": "'", "replace": "\"" }, "class_type": "StringReplace", "_meta": { "title": "Replace Text" } }, "316": { "inputs": { "json_string": [ "315", 0 ], "key": "num_steps" }, "class_type": "JsonExtractString", "_meta": { "title": "Extract Text from JSON" } }, "317": { "inputs": { "json_string": [ "315", 0 ], "key": "std" }, "class_type": "JsonExtractString", "_meta": { "title": "Extract Text from JSON" } }, "318": { "inputs": { "value": [ "316", 0 ] }, "class_type": "ComfyNumberConvert", "_meta": { "title": "Convert Number" } }, "319": { "inputs": { "unet_name": "diffusion_models/ideogram4_unconditional_fp8_scaled.safetensors", "weight_dtype": "default" }, "class_type": "UNETLoader", "_meta": { "title": "Load Diffusion Model" } }, "320": { "inputs": { "cfg": 3, "start_percent": 0.7, "end_percent": 1, "model": [ "304", 0 ] }, "class_type": "CFGOverride", "_meta": { "title": "CFG Override" } }, "321": { "inputs": { "cfg": 7, "model": [ "320", 0 ], "positive": [ "305", 0 ], "model_negative": [ "319", 0 ], "negative": [ "297", 0 ] }, "class_type": "DualModelGuider", "_meta": { "title": "Dual Model CFG Guider" } }, "322": { "inputs": { "choice": "Turbo", "index": 2, "option1": "Quality", "option2": "Default", "option3": "Turbo", "option4": "" }, "class_type": "CustomCombo", "_meta": { "title": "Custom Combo" } } }