6 Commits
Author SHA1 Message Date
yinjiajiu 36876b888f feature:添加Kling,seedance,veo,happyhorse,vidu和Gemini系列模型,增加api key配置,防止泄漏 2026-06-11 14:43:02 +08:00
jason.mei 8715c032ae feat(vidu,wan_ai): refactor video generation to return URLs and add preview node
- Add new ModelversePreviewVideo node for downloading and previewing generated videos
- Change all Vidu video generation nodes (extend, i2v, ref2v, startend2v, t2v) to return video URL and task ID instead of downloaded video objects
- Change all Wan AI video generation nodes (i2v, t2v) to return video URL and task ID instead of downloaded video objects
- Remove duplicate VideoFromFile import fallback logic from all video generation modules
- Simplify video handling by delegating download responsibility to preview node
- Improve separation of concerns between generation and preview workflows
2025-12-30 10:29:46 +08:00
jason.mei 7da714c686 refactor(vidu,wan_ai): add fallback VideoFromFile wrapper for import compatibility
- Add third-level fallback import handler for VideoFromFile class across all video modules
- Implement simple VideoFromFile wrapper class with default dimensions (1280x720) when imports fail
- Support video_io objects with getvalue() method for BytesIO compatibility
- Add clarifying comments for each import path (newer, older, and fallback)
- Apply consistent fallback pattern to vidu_extend, vidu_i2v, vidu_ref2v, vidu_startend2v, vidu_t2v, wan_ai_i2v, and wan_ai_t2v modules
- Improve robustness for different ComfyUI versions and installation configurations
2025-12-29 18:36:16 +08:00
jason.mei ee2debe867 refactor(vidu,wan_ai): remove duplicate VideoFromFile fallback implementation
- Remove redundant VideoFromFile class implementations from vidu_extend.py, vidu_i2v.py, vidu_ref2v.py, vidu_startend2v.py, and vidu_t2v.py
- Remove duplicate VideoFromFile fallback from wan_ai_i2v.py and wan_ai_t2v.py
- Simplify import logic by relying on comfy library's VideoFromFile implementation
- Reduce code duplication across multiple video generation modules
- Improve maintainability by centralizing video handling logic
2025-12-29 18:32:21 +08:00
jason.mei c2d2ec96b2 feat(vidu,wan_ai): add video dimension extraction with av library
- Add `get_dimensions()` method to VideoFromFile fallback class across all vidu and wan_ai modules
- Implement PyAV (av) library integration to extract video width and height from container streams
- Add dimension caching with `_width` and `_height` attributes to avoid redundant parsing
- Implement fallback dimensions (1280x720) when video parsing fails
- Add proper stream seeking to reset file position after dimension extraction
- Update requirements.txt to include av library dependency
- Ensure consistent video dimension handling across vidu_t2v, vidu_i2v, vidu_ref2v, vidu_startend2v, vidu_extend, wan_ai_t2v, and wan_ai_i2v modules
2025-12-29 18:11:04 +08:00
jason.mei bd7d00b1ce feat(modelverse): add Gemini Pro Image and Vidu video generation support
- Add Gemini 3 Pro Image Preview (Nano Banana Pro) ComfyUI node with high-resolution output (1K, 2K, 4K)
- Add GeminiProImageRequest builder supporting aspect ratio control, Google Search grounding, and up to 14 reference images
- Add Vidu video generation nodes: t2v, i2v, ref2v, and startend2v for comprehensive video synthesis
- Add Vidu extend node for video continuation and frame extension
- Update .gitignore to exclude .ace-tool/ and docs/ directories
- Enable professional asset production with advanced image and video generation capabilities
2025-12-29 16:03:39 +08:00