Commit Graph
18 Commits
Author SHA1 Message Date
LuqP2 4e95bd63dd fix: preserve literal false prompt overrides 2026-08-21 22:59:50 -03:00
LuqP2 e6f233ece7 fix: recover Krea2 prompt metadata 2026-08-21 21:24:36 -03:00
LuqP2 66028839f8 feat: add attribution support to metadata for save nodes 2026-06-15 17:08:42 -03:00
LuqP2 b206843464 feat: add simple save image node 2026-06-01 16:46:32 -03:00
LuqP2 5a7b40c2f1 fix: harden MetaHub save node output handling 2026-06-01 11:43:04 -03:00
LuqP2 34b2fe9719 feat(metadata): persist parent image lineage 2026-03-28 10:42:46 -03:00
LuqP2 7aa4ffdef2 feat: enhance metadata handling with generation type and source image extraction 2026-03-25 15:18:46 -03:00
LuqP2 8dc5645392 feat: add import fallback for node modules and enhance test coverage 2026-01-09 12:50:14 -03:00
LuqP2 bcc8f5f339 feat: ensure prompt data and MetaHubSaveNode integration in workflow JSON 2026-01-09 12:30:54 -03:00
LuqP2 bcf5477f99 fix: registered timestamp on timer node 2025-12-24 18:45:38 -03:00
LuqP2 831eba26cd added debug logs to timer node 2025-12-24 18:29:22 -03:00
LuqP2 6ef9c5bd68 feat: added MetaHub Timer Node for accurate timing 2025-12-24 02:42:32 -03:00
LuqP2 eccb6ec0b6 Added global variable to calculate workflow time 2025-12-24 02:30:40 -03:00
LuqP2 fa36fd0b05 added debug prints 2025-12-24 02:21:12 -03:00
LuqP2 cd180add5e feat: use ComfyUI exec_time for accurate workflow timing 2025-12-24 02:05:06 -03:00
LuqP2 2a39183ffa feat: add GPU/performance metrics collection and tracking
- Add collect_gpu_metrics() for VRAM/GPU auto-detection (CUDA/MPS/CPU)
- Add collect_version_info() for ComfyUI/PyTorch/Python versions
- Add optional override inputs (vram_peak_mb, gpu_device_override, generation_time_override)
- Add auto-timing wrapper with time.time() in save_images()
- Calculate derived metrics (generation_time_ms, steps_per_second)
- Update build_imh_metadata() analytics section with Tier 1/2/3 metrics
- Silent failures - never interrupts generation
- Reset CUDA peak memory stats after collection
2025-12-23 14:22:59 -03:00
LuqP2 f6bdd59fdc Add workflow auto-extraction and multi-format metadata saving
Auto-detect sampler/model/vae/prompts/loras with concrete node lists and multi-sampler heuristic
Switch to None sentinels for overrides and add filename placeholders + sanitization
Add JPEG/WebP metadata via EXIF (piexif) and update README/docs

Implement UI preview structure for ComfyUI frontend, matching Save Image behavior.
2025-12-20 21:16:27 -03:00
LuqP2 238e458de6 feat: Implement MetaHub Save Image node for ComfyUI
Complete implementation of advanced image saving node with dual metadata:
- A1111/Civitai compatible metadata (tEXt chunk "parameters")
- Image MetaHub metadata (iTXt chunk "imagemetahub_data")
- Auto-detection of LoRAs from workflow (UI and API formats)
- SHA256 hash calculation (AutoV2/Civitai format) with caching
- Graceful degradation (never interrupts generation)
- IMH Pro fields support (user_tags, notes, project_name)
- Auto-increment filenames with customizable output paths

Files added:
- metahub_save_node.py: Main node class with INPUT_TYPES
- metadata_utils.py: Hash calculation, metadata formatting, PNG injection
- __init__.py: Node registration for ComfyUI
- requirements.txt: Dependencies (Pillow, numpy)
- README.md: Installation and usage documentation

100% compatible with Image MetaHub comfyUIParser.ts specification.
2025-12-19 20:59:47 -03:00