Analysis updated 2026-05-18
Build and visually edit the bounding box JSON that tells Ideogram 4 where to place text in an image.
Fix the ComfyUI-KJNodes timing bug so imported JSON outputs correctly on the very first run.
Run this node alongside the original KJNodes version without either overwriting the other.
Move, resize, add, or delete text regions directly inside the ComfyUI visual editor.
| work-fisher/comfyui-ideogram4-directjson-modified | chinaran0/wujing_dic | codeteacher330/string-similarity | |
|---|---|---|---|
| Stars | 18 | 18 | 18 |
| Language | JavaScript | JavaScript | JavaScript |
| Setup difficulty | moderate | easy | easy |
| Complexity | 3/5 | 2/5 | 1/5 |
| Audience | vibe coder | ops devops | developer |
Figures from each repo's GitHub metadata at analysis time.
README is written in Chinese and it requires the base ComfyUI-KJNodes package installed.
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.
A modified ComfyUI node for building and editing the JSON that places text inside specific regions of an Ideogram 4 generated image.
Mainly JavaScript. The stack also includes JavaScript, ComfyUI.
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.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly vibe coder.
This repo across BitVibe Labs
Verify against the repo before relying on details.