Commit Graph
19 Commits
Author SHA1 Message Date
by-ae 479e0bb069 fix: ask before replacing a saved preset
Saving a character, object, or scene reused an existing name and
overwrote that preset without asking. Updating the preset already
linked to the region still saves directly.
2026-11-01 07:31:19 +10:00
by-ae 17858e1963 fix: store unicode names that look the same as one preset
A letter plus a combining accent was rejected, and when it was already
in the file it did not match the composed name.
2026-11-01 07:31:19 +10:00
by-ae 64d2515b8c fix: offset each paste so copies do not stack
Ctrl+V always nudged the original clipboard by the same amount, so a
second paste landed on the first copy.
2026-11-01 07:31:19 +10:00
by-ae 3c580cb821 fix: show the canvas size the prompt will use
A typed size was snapped to a multiple of 8 for the width and height
outputs, but the size field kept the number the user typed.
2026-11-01 07:31:19 +10:00
by-ae f42da019f4 fix: note canvas sizes the open Ideogram 4 model rejects
The editor accepts 64-16384 and snaps to a multiple of 8, so 1920x1080
is easy to enter. The open model needs multiples of 16, from 256 to 2048,
at an aspect ratio of at most 6:1. The size fields show that rule and do
not change the numbers. The spinner steps by 16.
2026-10-31 07:52:49 +10:00
by-ae 112da0de06 feat: delete saved characters, objects, and scenes
The store API already removed entries, but the editor never called it, so
a bad preset stayed in the library. Load dialogs can delete one after
confirmation. A region that pointed at a deleted character or object
drops that link.
2026-10-30 07:29:24 +10:00
by-ae 26767e46ca fix: report import JSON that does not override the editor
A connected import that was not valid JSON was dropped with no console
line, so the prompt quietly stayed on the editor caption. Non-objects
are reported the same way. A JSON object is still the prompt, and the
console names a missing compositional_deconstruction, background, or
elements list, which Ideogram 4 requires. A leading byte-order mark is
ignored.
2026-10-30 07:29:24 +10:00
by-ae af897e23d7 fix: accept RGBA and grayscale images as the canvas background
Preview BG Update opened every frame as RGB. Pillow rejects that mode
for a four-channel image, a single-channel image, or a plain height-width
array, so the save stopped and the canvas never updated. Those frames are
converted to RGB first. Alpha is composited onto black, which is what the
editor draws the preview over.
2026-10-30 07:29:24 +10:00
by-ae a5a88ed0e8 fix: read store files that start with a UTF-8 BOM
json.load rejects a leading byte-order mark, so a valid bucket was moved
aside and the next save replaced it. Reading as utf-8-sig keeps the data.
2026-10-29 07:46:20 +10:00
18524ccfa7 fix: report store load failures instead of an empty library
A failed GET /byae/ideogram/stores was caught and replaced with empty
buckets, so Load told the user there were no saved scenes. The request
error now reaches the existing alert, and an empty library is reported
only when the server actually returns one.

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: AE <by-ae@users.noreply.github.com>
2026-10-27 21:02:13 +00:00
03603614b1 fix: back up store files that are not JSON objects
A bucket file that parsed as a JSON array or other non-object was treated
as empty and then overwritten on the next save, so the previous contents
were gone. Those files are now moved aside like invalid JSON. A backup
created in the same second no longer replaces an existing one.

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: AE <by-ae@users.noreply.github.com>
2026-10-27 21:01:27 +00:00
6a050339f7 fix: normalize inverted and non-numeric Ideogram bboxes
Pasted captions with swapped or non-numeric bbox values produced negative
or NaN regions, so the editor could not select them. Coordinates are now
swapped and clamped to the 0-1000 range from the Ideogram 4 caption schema,
and unreadable bboxes keep the non-overlapping grid slot for that element.
Saved regions with NaN coordinates are dropped on restore.

Co-authored-by: AE <by-ae@users.noreply.github.com>
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-10-26 21:07:29 +00:00
42bdd7eaf3 fix: report background image save failures in the console
Preview BG Update logged save and notify failures only when BG_DEBUG was
set, so the console stayed quiet while the README told users to look there.
Warnings now print for a missing image, an empty or invalid guid, a tensor
that cannot be converted, a disk write error, and a failed editor push.

Co-authored-by: AE <by-ae@users.noreply.github.com>
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-10-26 21:05:18 +00:00
by-aeandCursor Agent 07291310de fix: correct comfy_api.latest dependency documentation
comfy_api.latest.io is part of ComfyUI core, not from ComfyUI-KJNodes.
Restore accurate installation instructions and update ImportError message
to indicate a recent ComfyUI version is needed.

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-10-25 21:15:01 +00:00
by-aeandCursor Agent 0ff49ca24e docs: clarify ComfyUI-KJNodes dependency requirement
- Add clear import error message when comfy_api.latest is missing
- Update README installation instructions to require KJNodes first
- Update troubleshooting section with dependency check
- Remove misleading statement that KJNodes is not needed

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-10-25 20:58:11 +00:00
by-aeandCursor Agent 5063df5eb1 docs: document Unicode support, troubleshooting, and development setup
- Add Unicode character support info with examples (角色, Персонаж, Émilie)
- Document preset naming requirements clearly
- Add troubleshooting section for save failures with browser console guidance
- Add Development section with test running and linting instructions
- Improve error debugging guidance for users

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-10-24 20:55:05 +00:00
by-aeandCursor Agent b3e2e53e66 docs: document store location, corrupt file recovery, and API endpoints
- Add store location in troubleshooting section
- Explain corrupt file backup behavior with timestamps
- Add API section with GET, PUT, and DELETE endpoint documentation

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-10-24 09:57:03 +00:00
by-aeandCursor Agent 7487718e4c Improve README with usage guide and troubleshooting section
Add practical documentation that helps users:

Usage section:
- Where to find nodes in the menu
- How to connect the nodes
- What output to expect

Troubleshooting section:
- Nodes not appearing (installation issues)
- Route/store errors (usually harmless)
- Background image not updating (connection issues)
- Workflow compatibility (breaking changes prevention)

Reduces user friction and provides self-service solutions
for common setup problems.

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-10-22 21:51:55 +00:00
by-aeandCursor feb8947b50 Initial release of Ideogram 4 Prompt Builder Pro.
Fork of KJNodes' Ideogram 4 Prompt Builder with stores, multi-select, scene save/load, live background preview, and separate width/height outputs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-10 17:27:52 +10:00