28 Commits
Author SHA1 Message Date
LuqP2 0a52b5ecd9 chore: bump Save Node to 1.2.2 2026-09-24 11:11:56 -03:00
LuqP2 e6f233ece7 fix: recover Krea2 prompt metadata 2026-08-21 21:24:36 -03:00
LuqP2 abab421456 chore: bump save node version to 1.2.0 2026-08-20 19:03:07 -03:00
LuqP2 493bb3c91f chore: bump save node version to 1.1.9 2026-06-27 14:42:23 -03:00
LuqP2 78aef2c98e fix Open in Image MetaHub saved path 2026-06-20 18:53:11 -03:00
LuqP2 2de1911301 fix: update version to 1.1.6 and enhance getSavedPaths function for improved file retrieval 2026-06-20 12:18:57 -03:00
LuqP2 5cd5195d8e fix: update version to 1.1.5 and enhance build_ui_preview to expose absolute paths for Image MetaHub 2026-06-18 18:03:39 -03:00
LuqP2 b2e4ee911a feat: enhance MetaHub chunk processing and add StylePromptEncoder2 node 2026-06-18 09:35:24 -03:00
LuqP2 00ace2ae4e fix: update version to 1.1.3 and add make_civitai_safe_text function for punctuation normalization 2026-06-16 19:29:46 -03:00
LuqP2 a0b6b9cf7d fix: update version to 1.1.2 and enhance workflow extractor for better parameter resolution 2026-06-16 19:13:23 -03:00
Lucas 6bf393aa39 Update METAHUB_SAVE_NODE_VERSION to 1.1.1 2026-06-16 19:02:45 -03:00
Lucas 77d60c870f fix: make Save Node installable via ComfyUI Manager 2026-06-16 18:59:24 -03:00
LuqP2 6c56d4871d chore: update version to 1.1.0 in metadata_utils.py and pyproject.toml 2026-06-15 19:36:21 -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 c66d87d741 fix: address save node review edge cases 2026-06-01 11:53:30 -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 d0b6d29582 fix: sanitize workflow and prompt converting NaN to null avoiding invalid JSON 2026-01-09 21:31:13 -03:00
LuqP2 12b7efc19e feat: add JSON serialization for metadata and enhance workflow handling in save functions 2026-01-09 14:33:43 -03:00
LuqP2 bcc8f5f339 feat: ensure prompt data and MetaHubSaveNode integration in workflow JSON 2026-01-09 12:30:54 -03:00
LuqP2 600201ecbc feat: add metadata serialization and XMP packet generation for ComfyUI 2026-01-07 20:00:57 -03:00
LuqP2 e95766124d fix: indentation 2025-12-23 23:30:42 -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 6923df5009 fix: convert comfyui tensor to numpy 2025-12-20 14:04:46 -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