5 Commits
Author SHA1 Message Date
PXL8D d1afeebad7 Major refactor: Clean up codebase to three-node architecture
✅ REMOVED unused code and nodes:
- MetaManLoadAndConvert (obsolete - replaced by Load Image + Extract Components)
- MetaManUniversalNodeV2 (obsolete - replaced by three-node architecture)
- MetaManWorkflowSaver (specialized node - not part of core)
- MetaManDependencyResolver (specialized node - not part of core)
- specialized_nodes.py (entire file removed)
- api_integration.py (only used by removed specialized nodes)
- metadata_parser.py (only used by removed specialized nodes)
- validation.py (testing file for removed features)
- templates/ directory (universal schema system not used by core nodes)
- test_installation.py (obsolete testing file)

✅ KEPT only three core nodes:
- MetaManLoadImage: Load images and extract metadata
- MetaManExtractComponents: Extract individual workflow parameters for reuse
- MetaManEmbedAndSave: Convert metadata formats and save with embedded metadata

✅ UPDATED configuration:
- __init__.py: Only registers three core nodes
- requirements.txt: Simplified to only essential dependencies
- metaman.py: Clean, self-contained implementation with all necessary functionality

✅ ENHANCED features maintained:
- Universal metadata extraction from any platform
- Tensor.AI EMS de-obfuscation
- Target service format conversion (A1111, ComfyUI, Civitai, Forge, etc.)
- Directory-based file organization
- Complete workflow component extraction

Result: Clean, focused codebase with 1,200+ lines of production-ready code
covering all essential metadata management functionality.
2025-08-13 13:46:15 -07:00
PXL8D 46d6a4da85 Implement MetaMan Extract Components node (Priority 2 - Metadata Provider)
Features implemented:
- MetaManExtractComponents: Extract individual workflow components from metadata JSON
- MetaManLoadAndConvert: Combined load + conversion functionality
- MetaManEmbedAndSave: Clean metadata embedding and save functionality
- Updated node registrations in __init__.py

Priority 2 delivers the most valuable workflow: 'stealing' specific parameters
from any image to use directly in ComfyUI workflows via individual typed outputs:
- positive_prompt, negative_prompt (STRING)
- steps, seed, width, height (INT)
- cfg_scale, denoising_strength (FLOAT)
- sampler, scheduler, model_name, loras (STRING)

Ready for testing with ComfyUI_00070_.png test case.
2025-08-12 16:10:49 -07:00
PXL8D fb43e7ccbb Add MetaMan Load Image node - preserves PNG metadata during loading
- Create MetaManLoadImage node that loads images with metadata preserved
- Extracts ComfyUI workflow/prompt data directly from PNG files
- Returns both image tensor and metadata JSON
- Update MetaManUniversalNodeV2 to accept optional metadata_json input
- Prioritize metadata from load image node over PIL extraction
- Register new node in both metaman.py and __init__.py

Solves metadata stripping issue by reading files before ComfyUI processing.
2025-08-12 15:28:09 -07:00
PXL8D 20a4a15ba1 Force ComfyUI node cache refresh - rename to V2
- Rename MetaManUniversalNode to MetaManUniversalNodeV2
- Forces ComfyUI to reload node definition completely
- Eliminates cached 4-output interface from previous version
- Clean 2-output interface: image_workflow + json_workflow
- Display name: "MetaMan Universal V2"
2025-08-09 23:01:57 -07:00
PXL8D 8722ae61dd Initial commit: MetaMan universal metadata management system
- Universal metadata extraction and conversion across AI platforms
- Support for A1111, ComfyUI, Civitai, Forge, Tensor.AI, Leonardo.AI
- Template-driven architecture for easy platform extension
- Model dependency resolution with download URLs
- Custom 'meta' PNG chunk standard for cross-platform compatibility
- Comprehensive validation and testing system
2025-08-08 19:21:10 -07:00