artokun/comfyui-mcp/ideogram-ultra

Claude Code and agent skill by artokun/comfyui-mcp

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Build Ideogram 4 (Ideogram Ultra) txt2img and img2img workflows with the local open-weights model, dual conditional/unconditional models with DualModelGuider, Qwen3-VL text encoder, and structured JSON ("compositional deconstruction") prompts for strong text rendering and layout control

Install

npx vskill@latest install artokun/comfyui-mcp/ideogram-ultra

SKILL.md

The same SKILL.md was published earlier as artokun/comfyui-mcp/ideogram-ultra.

Ideogram 4 (Ideogram Ultra) Workflows

Overview

This is a LOCAL open-weights pipeline, NOT the hosted Ideogram API. There is no API key, no IdeogramGenerate API node, and no network call at generation time. Comfy-Org released the Ideogram 4 weights on Hugging Face and they run entirely on your GPU via standard UNETLoader / CLIPLoader / VAELoader nodes. (Note: ComfyUI also ships separate API/"partner" nodes that call the paid hosted Ideogram service. That is a different thing and is not what this workflow uses.)

Ideogram 4 is best known for text rendering / typography, poster and graphic-design layouts, and prompt adherence. The hallmark of this workflow is a structured JSON prompt (a "compositional deconstruction" caption with bounding boxes) instead of a plain text prompt. This is what gives precise control over where text and objects land in the frame.

Source workflow this skill is derived from: IDEOGRAM_ULTRA_WORKFLOW-V2.json (UI format, 66 nodes, 4 subgraphs), by Aitrepreneur. It provides both a TEXT TO IMAGE path and an IMAGE TO IMAGE path.

Two unusual things to know up front
  1. Dual models. Two UNETs are loaded: a conditional model (ideogram4_fp8_scaled) and an ..._unconditional_fp8_scaled model. A DualModelGuider node uses both to perform asymmetric classifier-free guidance; the unconditional model provides the CFG baseline. There is no negative text prompt; negative conditioning is ConditioningZeroOut.
  2. Two text models, different jobs.
  • qwen3vl_8b_fp8_scaled is the actual diffusion text encoder (loaded with CLIPLoader, type ideogram4).
  • gemma4_e4b_it_fp8_scaled is used only inside an optional prompt-builder subgraph (a TextGenerate node) that auto-writes the structured JSON from a plain idea. It is not the diffusion encoder.

Installation

Custom nodes

The workflow needs these four custom node packs (clone into ComfyUI/custom_nodes/). Exact repos from the installer scripts:

bash
git clone https://github.com/ltdrdata/ComfyUI-Manager.git
git clone https://github.com/rgthree/rgthree-comfy
git clone https://github.com/kijai/ComfyUI-KJNodes
git clone https://github.com/cubiq/ComfyUI_essentials
  • ComfyUI-KJNodes (kijai) provides Ideogram4PromptBuilderKJ, ImageSharpenKJ, TextGenerate, and the Ideogram 4 helper nodes. Required.
  • rgthree-comfy provides Power Lora Loader, Fast Groups Muter/Bypasser, Label, Any Switch. (Used for UI/convenience; the core pipeline still works without them.)
  • ComfyUI_essentials (cubiq) provides ImageResize+ (used in the img2img path).
  • ComfyUI-Manager handles node/model management; not required at run time.
The core nodes used in the simplified workflows below (UNETLoader, CLIPLoader, VAELoader, DualModelGuider, SamplerCustomAdvanced, ModelSamplingAuraFlow, BasicScheduler, EmptyFlux2LatentImage, CLIPTextEncode, ConditioningZeroOut, VAEDecode) are built into ComfyUI (recent versions). Only Ideogram4PromptBuilderKJ / ImageSharpenKJ require KJNodes.
Models

Five files. Folder layout and download URLs are taken verbatim from IDEOGRAM_ULTRA-MODELS-NODES_INSTALL.bat / ...RUNPOD.sh:

FileFolderSource URL
ideogram4_fp8_scaled.safetensorsmodels/diffusion_models/https://huggingface.co/Comfy-Org/Ideogram-4/resolve/main/diffusion_models/ideogram4_fp8_scaled.safetensors
ideogram4_unconditional_fp8_scaled.safetensorsmodels/diffusion_models/https://huggingface.co/Comfy-Org/Ideogram-4/resolve/main/diffusion_models/ideogram4_unconditional_fp8_scaled.safetensors
qwen3vl_8b_fp8_scaled.safetensorsmodels/text_encoders/https://huggingface.co/Aitrepreneur/FLX/resolve/main/qwen3vl_8b_fp8_scaled.safetensors
gemma4_e4b_it_fp8_scaled.safetensorsmodels/text_encoders/https://huggingface.co/Aitrepreneur/FLX/resolve/main/gemma4_e4b_it_fp8_scaled.safetensors
flux2-vae.safetensorsmodels/vae/https://huggingface.co/Aitrepreneur/FLX/resolve/main/flux2-vae.safetensors

Notes / things to verify:

  • The two diffusion models come from the official Comfy-Org/Ideogram-4 HF repo. The text encoders + VAE are mirrored from the third-party Aitrepreneur/FLX repo in these scripts; the official ones also live on Comfy-Org / Comfy-Org-adjacent repos. Both should be identical files but the FLX mirror is what the provided installer pulls.
  • File sizes are uncertain. The official ComfyUI docs page lists each diffusion model at ~13.8 GB, qwen3vl at ~8 GB, gemma4 at ~2 GB, vae at ~335 MB (~38.9 GB total). A web search result claimed ideogram4_fp8_scaled is ~9.28 GB. Treat sizes as approximate and confirm against the HF file listing.
  • flux2-vae.safetensors is the same VAE used by Flux 2 / Klein workflows.
Linux / RunPod note

IDEOGRAM_ULTRA-AUTO_INSTALL-RUNPOD.sh creates a venv and installs Torch 2.4.0 + cu121 by default (override via env vars CUDA_TAG, TORCH_VERSION, etc.). Same five model files, same four node repos.

JSON template pack (optional)

IDEOGRAM-TEMPLATES.zip contains 25 ready-made structured-JSON templates for the Ideogram4PromptBuilderKJ node (film poster, book cover, logo board, character sheet, magazine cover, etc.). Per its README, copy the .json files into:

ComfyUI/user/default/kjnodes/ideogram4/templates

then pick them from the template dropdown inside the prompt-builder node.

Key Nodes

CLIPLoader (text encoder)

Ideogram 4 uses Qwen3-VL as its diffusion text encoder. Load it with CLIPLoader and type `ideogram4`:

json
{
"class_type": "CLIPLoader",
"inputs": {
"clip_name": "qwen3vl_8b_fp8_scaled.safetensors",
"type": "ideogram4",
"device": "default"
}
}
UNETLoader x2 (conditional + unconditional)
json
{ "class_type": "UNETLoader", "inputs": { "unet_name": "ideogram4_fp8_scaled.safetensors", "weight_dtype": "default" }},
{ "class_type": "UNETLoader", "inputs": { "unet_name": "ideogram4_unconditional_fp8_scaled.safetensors", "weight_dtype": "default" }}
ModelSamplingAuraFlow (shift)

Applied to both models. In the source workflow shift = 5:

json
{ "class_type": "ModelSamplingAuraFlow", "inputs": { "model": ["<unet>", 0], "shift": 5 }}
DualModelGuider

The heart of the pipeline. Takes the (shifted) conditional model, the (shifted) unconditional model, positive conditioning, and negative conditioning, plus a CFG value (5 in the source). This replaces the usual CFGGuider.

json
{
"class_type": "DualModelGuider",
"inputs": {
"model": ["<conditional_model_sampling>", 0],
"model_negative": ["<unconditional_model_sampling>", 0],
"positive": ["<clip_text_encode>", 0],
"negative": ["<conditioning_zero_out>", 0],
"cfg": 5
}
}
Input names for DualModelGuider (model_negative, cfg) are inferred from the subgraph wiring and KJNodes; verify against your installed KJNodes version, since the exact widget/socket names may differ.
EmptyFlux2LatentImage

Ideogram 4 uses the Flux 2 latent format, so the empty latent is EmptyFlux2LatentImage (not EmptyLatentImage):

json
{ "class_type": "EmptyFlux2LatentImage", "inputs": { "width": 1024, "height": 1024, "batch_size": 1 }}
BasicScheduler + KSamplerSelect + RandomNoise + SamplerCustomAdvanced

Generation uses the modular sampler stack, not KSampler:

json
{ "class_type": "BasicScheduler", "inputs": { "model": ["<conditional_model_sampling>", 0], "scheduler": "simple", "steps": 28, "denoise": 1 }},
{ "class_type": "KSamplerSelect", "inputs": { "sampler_name": "euler" }},
{ "class_type": "RandomNoise", "inputs": { "noise_seed": 42 }},
{ "class_type": "SamplerCustomAdvanced", "inputs": {
"noise": ["<random_noise>", 0],
"guider": ["<dual_model_guider>", 0],
"sampler": ["<ksampler_select>", 0],
"sigmas": ["<basic_scheduler>", 0],
"latent_image": ["<empty_latent>", 0]
}}
Ideogram4PromptBuilderKJ (the JSON prompt builder)

A KJNodes node that outputs the structured caption JSON string (see "Prompt Style" below). On the canvas you draw bounding boxes for objects/text, set descriptions, a color palette, and background/style. Its string output feeds CLIPTextEncode. Source widget values include width 1920, height 1080, a high-level prompt, a background description, a color_palette array, and an elements array.

⚠️ Editing this node programmatically (panel_set_widget WILL NOT STICK)

This is the single most important thing to know about this node. Its elements_data / style_palette_data widgets are NOT the source of truth. They are serialized from a live in-browser array (node._boxes) inside the KJNodes editor JS. Two mechanisms defeat any external widget edit:

  • Queue-time re-serialization. In web/js/ideogram4_prompt_builder.js, elementsWidget.serializeValue() regenerates the value from node._boxes every time the graph is queued. So panel_set_widget(14, "elements_data", ...) sets the value, but ComfyUI overwrites it with the stale editor boxes the instant you run. The edit silently reverts on every run.
  • You can't reach `node._boxes`. It lives in the browser tab; no panel/MCP tool can touch it. Editing elements_data, ideo_editor, or forcing import_mode alone does nothing durable. node._boxes is only ever re-seeded from elements_data on workflow load (onConfigure), and even then the saved o.ideo.boxes blob wins over the widget, so a stale saved workflow reloads stale.

The symptom: you edit the JSON, the panel confirms the new value, but the render (and the visible builder JSON) still shows the OLD prompt, e.g. old subject/region text that "won't go away."

The correct, node-designed fix is to drive it via `import_json`:

  1. Add a PrimitiveStringMultiline node containing the FULL caption JSON (the high_level_description + style_description + compositional_deconstruction shape from "Prompt Style" below).
  2. Wire it into node 14's `import_json` input.
  3. Set `import_mode = "always"`.

The Python execute() then does used_import = imported is not None and (import_mode == "always" or not boxes) → the caption is built entirely from import_json; the poisoned elements_data/node._boxes are ignored. Bonus: running once in this mode pushes the caption back into the editor via ui, which re-seeds node._boxes and flushes the stale boxes for good. From then on, edit the prompt in the wired string node, not the builder's visual editor. (import_mode = "when empty" only seeds the editor when it has no regions, then the editor wins again, so for programmatic control it MUST be "always".)

ImageSharpenKJ (post-process)

The source applies a light RCAS sharpen after decode: sharpen_mode = rcas, strength = 0.55.

Parameters / Settings

Values below are exactly what the source IDEOGRAM_ULTRA_WORKFLOW-V2.json ships with.

ParameterValueWhere
samplereulerKSamplerSelect
schedulersimpleBasicScheduler
steps28 (default)BasicScheduler / INTConstant STEPS
steps (turbo)12per workflow Note: "TURBO: 12 STEPS — quick image, lower quality"
cfg5DualModelGuider
shift5ModelSamplingAuraFlow (both models)
denoise (txt2img)1.0BasicScheduler
denoise (img2img)0.6PrimitiveFloat DENOISE
sharpenrcas, 0.55ImageSharpenKJ
noise controlRandomNoise, fixed seedseed sample value 1335735769456

There is also a CFGOverride node in the sampler subgraph (widgets 3, 0.7, 1); it is an optional override and is not the primary guidance path. The primary CFG is DualModelGuider's 5.

Resolutions / Aspect Ratios

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
651
Repository forks
101
7-day trend score
32

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/artokun/comfyui-mcp/ideogram-ultra/badge)](https://verified-skill.com/skills/artokun/comfyui-mcp/ideogram-ultra)

Something wrong with this skill or its page? Tell us.