Commit Graph
68 Commits
Author SHA1 Message Date
filliptm beb32a0750 Revert image drag-and-drop override 2026-08-01 10:58:28 -07:00
constantine 6910a2b938 Fix: Image drag and drop 2026-07-21 00:17:17 +09:00
filliptm 3078ffa3be Fix Fill Nodes PR follow-up edge cases 2026-06-22 14:23:20 -05:00
Esteban Lahoz d0644892b9 Refactor FL_SystemCheck to use DOM widget
Refactor FL_SystemCheck to use DOM widget for rendering system info. Updated runSystemCheck function to handle system info display and error handling.
2026-06-22 17:17:30 +02:00
FillipandClaude Opus 4.7 42297ecf02 Add FL Show Text node and bump to 2.8.0
Displays a connected STRING input on the node via a flex-fill DOM
widget with header, length badge, monospace body, scrollbar styling,
and wheel-to-scroll capture so wheel events scroll the body instead
of zooming the canvas. The same string is passed through to the
output socket.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-06-12 11:50:40 -07:00
Fillip d164833f16 Fix region overlay editor inputs 2026-06-04 16:25:47 -07:00
Fillip 1d46ed5b48 Add numeric region position controls 2026-06-04 13:19:04 -07:00
Fillip 9e877a41a0 Show region overlay box dimensions 2026-06-02 15:21:51 -07:00
Fillip 3bb0fc56c4 feat: add context window ksampler 2026-05-26 23:47:41 -07:00
Fillip b915dcffea Add region PNG overlay node 2026-05-08 17:52:01 -07:00
FillipandClaude Opus 4.7 5bae402ead feat: add FL KSampler SEG family for segmented diffusion (v2.7.0)
Four-node pipeline that partitions an image or video into uniform-area
Voronoi regions, optionally captions each region via OpenRouter vision
models, encodes per-region prompts through CLIP, and composites
per-region diffusion via cascade-paint:

- FL KSampler SEG Regions: grid-init + Lloyd relaxation Voronoi cells,
  feathered overlapping soft masks for guaranteed coverage, on-node
  preview with overlay or coverage-heatmap modes
- FL KSampler SEG Captioner: per-region vision-LLM captioning via
  OpenRouter (gpt-4o-mini / gemini-flash / claude-haiku), with on-node
  thumbnail grid that fills as captions arrive
- FL KSampler SEG Encoder: caption -> per-region CONDITIONING via CLIP
  with prompt deduplication caching
- FL KSampler SEG: corner-anchored nearest-neighbor cascade-paint
  composite, auto-detects model latent_format.spacial_downscale_ratio
  so video models like LTX-Video (32x) and Hunyuan-Video (16x) work
  out of the box, supports both 4D image and 5D video latents

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-04 12:04:02 -07:00
FillipandClaude Opus 4.7 2c94c3b675 feat: add FL Depth Blur node (v2.6.0)
Depth-of-field blur driven by a paired depth map. Hyperparameters
expose focal plane, focal range, falloff curve (linear/quadratic/
smooth/exponential), asymmetric near/far blur strength, blur mode
(gaussian/box/disc with bokeh brightness boost), depth remap, and
depth pre-smoothing. Optional protect_mask input keeps masked
regions fully sharp with a feathered edge. Includes the on-node
preview toggle pattern from FL_PasteOnCanvas.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-27 14:15:26 -07:00
FillipandClaude Opus 4.7 bef991bcc0 feat: add FL KSampler Sigma + FL Fal GPT-Image-2 Edit nodes (v2.5.0)
FL KSampler Sigma: custom sampler with an on-node sigma curve editor.
Draw your own sigma schedule (monotone-cubic/PCHIP interpolation),
with log-Y axis, user-set axis bounds that preserve curve shape on
rescale, and a SIGMAS output for composability.

FL Fal GPT-Image-2 Edit: wraps openai/gpt-image-2/edit on fal.ai with
dynamic reference-image sockets (1-10), custom image sizes, optional
mask input, and exponential-backoff retries.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-24 19:47:12 -07:00
FillipandClaude Opus 4.6 fa28ec8ec7 fix(path-animator,image-picker): await submit POST before closing modal (v2.4.0)
Race condition: Continue/Cancel button handlers were firing submitBlocking()
without awaiting it, then immediately calling close() which tore down the
modal. If the fetch got delayed or dropped by the DOM teardown, the Python
thread would stay blocked on event.wait() until the full timeout.

Symptoms: "sometimes Continue gets stuck and doesn't advance the workflow."

Fixes:
- PathAnimator: All exit paths (Continue, Cancel, ESC, overlay click, header
  close) now await submitBlocking() before close(). On Continue failure,
  the modal stays open with buttons re-enabled so user can retry.
- PathAnimator: submitBlocking now checks response.ok and throws on non-2xx,
  surfacing 404 "Session not found" errors instead of swallowing them.
- PathAnimator: close() safeguard still uses fire-and-forget but now with
  .catch() to log errors (it's a last-resort path after primary handlers).
- ImagePicker: sendSelection now checks response.ok and throws on non-2xx.
- ImagePicker: All callers wrapped in try/catch so failed submits don't
  leave the modal in a half-closed state. Confirm failures keep the modal
  open with a user-visible alert.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 17:27:02 -07:00
FillipandClaude Opus 4.6 1566e1318e feat(path-animator): add image input + blocking UI with Continue/Cancel
FL Path Animator now supports interactive image-driven workflow:
- New optional IMAGE input — when wired, execution blocks and auto-opens
  the path editor with the image as canvas background at native resolution
- New Continue button saves drawn paths and unblocks execution
- Cancel button aborts the workflow via InterruptProcessing
- Countdown timer in footer shows remaining timeout
- Transitions existing edit-mode modal in place if one is already open
  (preserves any paths the user already drew)
- ESC, overlay click, and header close all treated as Cancel in blocking mode
- Fully backward compatible: without image, behaves exactly as before

Pattern mirrors FL_ImagePicker (threading.Event, WebSocket dispatch, POST
endpoint). New endpoint: POST /fl_path_animator/submit. New WS event:
fl_path_animator_show.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 16:46:05 -07:00
FillipandClaude Opus 4.6 3a6598f247 remove FL_CodeNode from node pack (v2.3.8)
Remove the FL Code Node utility node entirely — Python backend,
JS frontend, init registration, and node description entry.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 18:19:48 -07:00
FillipandClaude Opus 4.6 290d6c241e feat: add FL_ImageReplace node for batch image/mask replacement (v2.3.6)
New node that replaces images or masks at a specific index within a batch.
Includes a grid preview with green border highlighting on replaced positions.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-01 17:52:36 -07:00
FillipandClaude Opus 4.6 5f51c8252f Fix SystemCheck button not working in ComfyUI Desktop
Use api.fetchApi() instead of raw fetch() so the request reaches
the correct backend URL in Desktop/Electron environments.

Fixes #88

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-28 21:54:18 -08:00
filliptmandClaude Opus 4.5 ab41048628 fix: correct import path in fl_code_node.js causing infinite refresh loop
Fixed incorrect relative import path for widget.js that was causing
ComfyUI to crash with infinite browser refresh on startup.

Closes #99

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 04:26:08 -08:00
Fill 82f6242b7f remove delight node. not needed in my pack 2025-12-03 12:34:53 -08:00
Fill 58326650aa tweaks 2025-12-03 12:11:53 -08:00
Fill 7128f930c3 renames 2025-12-03 02:26:04 -08:00
Fill ca4a195229 created new node, image picker pop up 2025-12-02 23:26:11 -08:00
filliptm 03d005d326 added time control + interp to path animator 2025-11-03 10:17:21 -05:00
filliptm 2ea9f319e6 cleaning up the path editor 2025-11-03 09:20:30 -05:00
Fill 5c3016f01d removed glow from path animator 2025-11-02 00:09:10 -07:00
Fill 3cd4f6d1ad updated path animator with new features 2025-11-01 20:12:05 -07:00
Fill 2c21802487 tweaks 2025-11-01 16:55:49 -07:00
Fill ff5fb88ad2 tweaked the UI of path animator 2025-11-01 05:02:40 -07:00
Fill ce59dd1056 added a bunch of experimentation nodes. 2025-11-01 02:36:09 -07:00
Fill 0dab601948 adding image previews on some nodes, will eventually roll out to all nodes that need the ability 2025-10-31 20:37:05 -07:00
Fill 88056c54e5 MASSIVE refactor to organize nodes in folders based on category 2025-10-06 23:02:24 -07:00
Fill 88332bef35 added pixel offsetting to replace color node 2025-09-15 19:35:15 -07:00
Fill 9ffc6ce9b4 added color replace node 2025-09-14 04:39:58 -07:00
Fill 3dbf5cafdc added batch trim node 2025-08-03 14:39:50 -05:00
Fill 3e7d449a41 added Flux Kontext Fal API node with adv async calls 2025-06-25 11:39:19 -05:00
Fill 2f055800a0 Merge pull request #71 from webfiltered/patch-1
Replace deprecated: deselectAllNodes -> deselectAll
2025-05-19 14:56:12 +09:00
Fill e01b0ee208 add gpt adv node 2025-05-19 05:41:31 +09:00
filtered 5a03804b94 Replace deprecated: deselectAllNodes -> deselectAll 2025-05-15 17:02:04 +10:00
filtered 2526e650e3 Replace deprecated: deselectAllNodes -> deselectAll 2025-05-15 16:53:16 +10:00
Fill c3e85fffd8 Added Gemini Adv image gen node + image batch node 2025-05-14 21:17:51 +09:00
Fill 003fd21a70 added big switch 2025-04-29 01:53:16 +09:00
Fillip Isgro bd62c55dd3 added switch node 2025-04-22 00:12:46 +09:00
Fillip Isgro 71f1ad25f0 fix 2025-04-21 18:15:27 +09:00
Fillip Isgro 14b4e63aaa + 2025-04-05 22:23:19 +09:00
Fillip Isgro ce7fffbb69 tried stuff on code node. failed 2025-03-21 04:39:29 -05:00
Fillip Isgro 1c32bfbff3 fix gemini text API 2025-03-21 04:35:22 -05:00
Fillip Isgro 5b17e4fa5d added General Node pack loader node 2024-11-24 20:26:58 +09:00
Fillip Isgro 3e5b2b837e added loader node for all nodes 2024-11-24 18:56:02 +09:00
Fillip d8f010df4b added padding node 2024-11-11 13:45:17 -08:00