25 Commits
Author SHA1 Message Date
Fred Bliss 6283d9c285 major refactor of docs and js 2025-11-28 10:24:47 -06:00
Fred Bliss a2c85a4805 hy continued re-org and consolidation 2025-11-28 09:03:38 -06:00
Fred Bliss c373ab29ba fixed template system and organized 2025-11-28 08:50:29 -06:00
Fred Bliss 87f013f236 template js short term fix 2025-11-28 00:10:13 -06:00
Fred Bliss eca5edff14 update js again 2025-11-27 17:19:53 -06:00
Fred Bliss f152b470e6 fix js 2025-11-27 16:44:39 -06:00
Fred Bliss f31ede5d16 fix encoder 2025-11-27 15:15:25 -06:00
Fred Bliss 76874d3549 update and add templates for z-image 2025-11-27 15:09:28 -06:00
Fred Bliss b39487c97b refactor of template system 2025-10-18 16:31:02 -05:00
Fred Bliss b6d76247b9 broken mask editor and inpainting but wip 2025-09-11 15:47:30 -05:00
Fred Bliss 7b72c349b6 another fix to points 2025-09-10 13:59:17 -05:00
Fred Bliss 76ca2b41d0 fixes to structured output 2025-09-10 13:49:54 -05:00
Fred Bliss a8aecccb39 bugfix 2025-09-10 13:03:09 -05:00
Fred Bliss d39b1c7fff QwenSpatialTokenGenerator structured outputs in JSON and XML 2025-09-10 11:59:20 -05:00
Fred Bliss 7913d3b28f updates to spatial stuff that probably doesnt work 2025-09-08 15:07:35 -05:00
Fred Bliss 714869eb37 wip eod 2025-09-07 16:42:32 -05:00
Fred Bliss 6373c6aad9 update with dual encoding and fixes to spatial coordinates related to resolution 2025-09-07 09:38:53 -05:00
Fred Bliss f43ef4cf85 update js 2025-09-06 17:38:15 -05:00
Fred Bliss 518172c4ae v1.4.3 - spatial editor fixes, QOL changes, resolution 2025-09-06 12:26:00 -05:00
Fred Bliss 4a091e9298 Fix coordinate handling and make object_ref optional
- Fixed generateTokens to properly handle different region types (bounding_box, polygon, object_reference)
- Added checkbox UI to control includeObjectRef for boxes/polygons
- Object references now correctly handle 2 coordinates instead of expecting 4
- Updated Python code to respect includeObjectRef flag from JavaScript
- Fixed coordinate format issues (x1,y1,x2,y2 for boxes, x,y pairs for polygons)
- Restored updateBasePromptWithTokens function for editable prompts
- Default behavior keeps object_ref (checkbox checked) for backward compatibility
- Without object_ref, generates pure spatial tokens like <|box_start|>0.1,0.2,0.3,0.4<|box_end|>
2025-09-06 09:33:32 -05:00
Fred Bliss 51fb05e80f v1.4.1 2025-09-05 17:39:14 -05:00
Fred Bliss af2d2ab527 v1.4.1 2025-09-05 17:32:30 -05:00
Fred Bliss bf819c6ff5 Add clean spatial token generator implementation
- QwenSpatialTokenGenerator: Pure spatial token generation without template assumptions
- Clean dark-themed spatial interface with canvas drawing
- Supports bounding box, polygon, and object reference tokens
- User-specified labels like [woman] or [green frog]
- No assumptions about user intent
2025-09-05 14:30:14 -05:00
Fred Bliss a878f8052d spatial token js v0.1 2025-09-05 13:23:30 -05:00
Fred Bliss 64d5ed55d9 updates to template builder 2025-08-25 16:31:04 -05:00