Commit Graph
19 Commits
Author SHA1 Message Date
LuqP2 b600fd17ef fix: clear timer node cache before generation 2026-01-06 23:28:04 -03:00
LuqP2 cccbd08dd7 docs: updated README.md with summarized IMH Generation Instructions 2025-12-26 11:47:40 -03:00
LuqP2 62b28ea3c9 added Image MetaHub badge to README 2025-12-24 21:55:38 -03:00
LuqP2 787d535260 docs: updated README.md 2025-12-24 21:34:05 -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 42a9cbff63 fix: replace wildcard with specific types in Timer Node for ComfyUI compatibility 2025-12-24 16:39:42 -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 e95766124d fix: indentation 2025-12-23 23:30:42 -03:00
LuqP2 2f405fc9cb docs: updated README.md with analytics information 2025-12-23 21:29:42 -03:00
LuqP2 ea14a4647f Merge branch 'main' of https://github.com/LuqP2/ImageMetaHub-ComfyUI-Save 2025-12-23 14:23:02 -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
Lucas Pierri 2a0fa0bd0c Criado usando o Colab 2025-12-20 18:19:33 -10: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