whatisgithub

What is comfyui-ideogram4-directjson-modified?

work-fisher/comfyui-ideogram4-directjson-modified — explained in plain English

Analysis updated 2026-05-18

18JavaScriptAudience · vibe coderComplexity · 3/5LicenseSetup · moderate

In one sentence

A modified ComfyUI node for building and editing the JSON that places text inside specific regions of an Ideogram 4 generated image.

Mindmap

mindmap
  root((Ideogram4 JSON Node))
    What it does
      Edits text regions
      Fixes timing bug
      Visual editor
    Tech stack
      JavaScript
      ComfyUI
    Use cases
      Bounding box text
      Layout editing
    Audience
      Vibe coders
      ComfyUI users

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Build and visually edit the bounding box JSON that tells Ideogram 4 where to place text in an image.

USE CASE 2

Fix the ComfyUI-KJNodes timing bug so imported JSON outputs correctly on the very first run.

USE CASE 3

Run this node alongside the original KJNodes version without either overwriting the other.

USE CASE 4

Move, resize, add, or delete text regions directly inside the ComfyUI visual editor.

What is it built with?

JavaScriptComfyUI

How does it compare?

work-fisher/comfyui-ideogram4-directjson-modifiedchinaran0/wujing_diccodeteacher330/string-similarity
Stars181818
LanguageJavaScriptJavaScriptJavaScript
Setup difficultymoderateeasyeasy
Complexity3/52/51/5
Audiencevibe coderops devopsdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

README is written in Chinese and it requires the base ComfyUI-KJNodes package installed.

You may use, modify, and share this freely, but any derivative work must also be released under the same license with its source code made available.

So what is it?

This repository is a modified ComfyUI node for working with Ideogram 4, an AI image generation model that supports placing text in specific regions of an image. To do this, Ideogram 4 uses a structured JSON format that defines bounding boxes (rectangular regions) and the text or caption to render inside each one. This node helps you build and edit that JSON inside ComfyUI's visual workflow environment. The project is a modified version of a node from the ComfyUI-KJNodes package. The original node had a timing issue: when you imported a JSON file, it would push the data to the visual editor in the browser, but the backend output for that same run would still reflect the old or empty state, meaning you needed an extra run to get the correct output. This modified version fixes that: if you paste valid Ideogram 4 caption JSON into the import field and the editor is currently empty, the node outputs the imported JSON immediately on that first run and simultaneously loads it into the visual editor so you can see the bounding boxes. Once the JSON is loaded, you can move, resize, add, or delete the rectangular regions in the editor. Running the node again will then output updated JSON reflecting your edits. The comparison between the imported JSON and any cached version is done by comparing the parsed data structure rather than the raw text, so differences in spacing or formatting do not incorrectly trigger a re-import. The node is named and identified differently from the KJNodes original so both can be installed at the same time without one overwriting the other. The README is written in Chinese. The project is released under the GNU General Public License version 3, the same license as the original.

Copy-paste prompts

Prompt 1
Explain how this node's caching fix differs from the original ComfyUI-KJNodes import behavior.
Prompt 2
Show me how to paste Ideogram 4 caption JSON into ComfyUI and edit the bounding boxes visually.
Prompt 3
Help me install both the original KJNodes node and this modified version side by side.
Prompt 4
Walk me through building a JSON layout with three text regions for an Ideogram 4 image.

Frequently asked questions

What is comfyui-ideogram4-directjson-modified?

A modified ComfyUI node for building and editing the JSON that places text inside specific regions of an Ideogram 4 generated image.

What language is comfyui-ideogram4-directjson-modified written in?

Mainly JavaScript. The stack also includes JavaScript, ComfyUI.

What license does comfyui-ideogram4-directjson-modified use?

You may use, modify, and share this freely, but any derivative work must also be released under the same license with its source code made available.

How hard is comfyui-ideogram4-directjson-modified to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is comfyui-ideogram4-directjson-modified for?

Mainly vibe coder.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.