✅ 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.
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.
- 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.
- 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