Commit Graph
35 Commits
Author SHA1 Message Date
LuqP2 da047e8ff0 feat: update tests for workflow and prompt validation 2026-01-09 14:34:46 -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 4180d37730 chore: bump version to 1.0.3 2026-01-09 12:51:15 -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 87cb5d2079 chore: bump version to 1.0.2 2026-01-07 21:52:43 -03:00
LuqP2 600201ecbc feat: add metadata serialization and XMP packet generation for ComfyUI 2026-01-07 20:00:57 -03:00
LuqP2 b7267dfccd chore: bump version to 1.0.1 2026-01-07 17:45:56 -03:00
LuqP2 8acb3861dd Merge branch 'main' of https://github.com/LuqP2/ImageMetaHub-ComfyUI-Save 2026-01-06 23:28:19 -03:00
LuqP2 b600fd17ef fix: clear timer node cache before generation 2026-01-06 23:28:04 -03:00
Lucas a3ea4d86a8 Revise README with updated installation methods
Updated installation instructions and methods for ComfyUI.
2026-01-06 14:39:44 -03:00
Lucas 1ce60fd360 Revise README with new features and installation methods
Updated installation instructions and added a fail-safe saving feature description.
2026-01-06 11:23:37 -03:00
Lucas 74b86a7c02 Merge pull request #2 from ComfyNodePRs/pyproject
Add pyproject.toml for Custom Node Registry
2026-01-06 11:05:15 -03:00
Lucas 1dd4a7829c Merge pull request #1 from ComfyNodePRs/publish
Add Github Action for Publishing to Comfy Registry
2026-01-06 11:04:33 -03:00
Lucas 3832613940 Update PublisherId in pyproject.toml 2026-01-06 11:01:39 -03:00
async () = process.env.GIT_USERNAME || (await ghUser()).email && (await ghUser()).name || DIE("Missing env.GIT_USERNAME") 8e6d84511e chore(pyproject): Add pyproject.toml for Custom Node Registry 2025-12-27 23:18:28 +00:00
async () = process.env.GIT_USERNAME || (await ghUser()).email && (await ghUser()).name || DIE("Missing env.GIT_USERNAME") bf2cbcfab2 chore(publish): Add Github Action for Publishing to Comfy Registry 2025-12-27 23:18:27 +00: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