- Updated .env.template to include separate API keys for international and mainland China endpoints.
- Modified base.py to load environment variables from multiple .env file locations and support region-specific API endpoints.
- Refactored API endpoint definitions to use a centralized dictionary for international and mainland China endpoints.
- Updated generator classes (i2v, ii2v, t2i, t2v, VACE) to accept region as a parameter and utilize the appropriate API endpoints and keys.
- Implemented region selection in the video processing classes, ensuring correct API requests based on the selected region.
refactor: Restructure project for better organization and maintainability
Reorganized files into logical modules (core, generators, vace, config)
Renamed files to follow standard Python naming conventions
Updated all import statements to reflect new structure
Added proper init.py files for each module
Updated README.md to reference new file locations
Maintained backward compatibility with wan_nodes.py
Preserved all functionality while improving code organization
- Implemented WanVACEVideoEdit for local video editing with various model options and control conditions.
- Created WanVACEVideoExtension for extending videos with specified frames and clips.
- Developed WanVACEVideoOutpainting for outpainting videos based on user prompts and scaling options.
- Introduced WanVACEVideoRepainting for repainting videos with reference images and control conditions.
- Each node includes comprehensive error handling, API request management, and output directory configuration.