Files
ucloud-comfyui-plugin/py
jason.mei fafef977a1 refactor(preview_video): migrate to async API and use comfy video types
- Replace requests library with comfy_api_nodes download utility for better integration
- Convert run method to async for non-blocking video download operations
- Update input/output types to use IO enum (IO.STRING, IO.BOOLEAN, IO.VIDEO)
- Change return type from STRING file path to VIDEO object for direct video output
- Simplify video handling by using download_url_to_video_output utility function
- Add support for multiple video data access patterns (video_io, get_bytes, BytesIO)
- Improve video saving logic with proper data extraction from video object
- Remove unused os.path and re imports optimization for cleaner code
- Maintains backward compatibility with save_output parameter for optional file persistence
2025-12-30 10:47:38 +08:00
..
2025-09-15 15:31:26 +08:00
2025-09-15 15:31:26 +08:00
2025-09-15 15:31:26 +08:00
2025-09-15 15:31:26 +08:00
2025-09-15 15:31:26 +08:00
2025-09-15 15:31:26 +08:00