44 Commits
Author SHA1 Message Date
Jianfeng Mei 54a504e122 Merge pull request #7 from yinjiajiu/main
feature:添加Kling,seedance,veo,happyhorse,vidu和Gemini系列模型,增加api key配置,防止泄漏
2026-06-11 14:46:56 +08:00
yinjiajiu 36876b888f feature:添加Kling,seedance,veo,happyhorse,vidu和Gemini系列模型,增加api key配置,防止泄漏 2026-06-11 14:43:02 +08:00
jason af42216bd0 Merge pull request #6 from mfzzf/main
feat(modelverse): add Gemini Pro Image and Vidu & Sora video generation support
2026-01-04 13:59:18 +08:00
jason.mei 89f0ef3fe6 chore: update version to 1.0.8 in pyproject.toml 2026-01-04 13:55:14 +08:00
jason.mei db0b8fa266 feat(sora): add Sora2 text-to-video and image-to-video generation nodes
- Add SoraText2VideoNode for OpenAI Sora2 text-to-video generation
* Support both standard and Pro model variants
* Configurable video size, duration, and prompt parameters
* Pro version supports extended resolution options (1024x1792, 1792x1024)
- Add SoraImg2VideoNode for OpenAI Sora2 image-to-video generation
* Support both standard and Pro model variants
* Accept first frame as image or URL input
* Pro version supports 1080p resolution
- Implement async task polling with configurable retry logic
- Integrate with ModelverseClient for API communication
- Add comprehensive input validation and error handling
- Follow established video generation patterns from Vidu and Wan AI nodes
2025-12-31 10:02:52 +08:00
jason.mei 4092be6a0a refactor(preview_video): simplify video saving and reorder download logic
- Add requests import for direct HTTP video downloads
- Replace complex video object data extraction with direct URL download using requests.get()
- Move file saving logic before download_url_to_video_output call to avoid consuming data stream
- Simplify video data retrieval by downloading directly from URL instead of extracting from video object
- Add timeout parameter (120s) and error handling for HTTP requests
- Improve code clarity by removing conditional checks for different video object attributes
2025-12-30 11:02:47 +08:00
jason.mei 1f493b180e refactor(preview_video): remove unused API client imports
- Remove unused ApiEndpoint, HttpMethod, and SynchronousOperation imports
- Simplify module dependencies by eliminating unnecessary API client references
- Maintain existing functionality with cleaner import structure
2025-12-30 10:49:51 +08:00
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
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 20093d1c40 feat(wan_ai_i2v): simplify video handling and improve error management
- Remove unused imports (os, tempfile) to reduce dependencies
- Simplify VideoFromFile import fallback logic by removing unnecessary comments
- Remove get_dimensions() method from VideoFromFile wrapper class
- Consolidate video download logic and remove redundant error handling
- Increase download timeout from 60s to 120s for better reliability
- Remove verbose print statements for cleaner logging
- Simplify video data processing by directly using response.content
- Streamline return statement to directly instantiate VideoFromFile
- Remove fallback video_data return path for consistent API behavior
- Improve code readability and maintainability through simplification
2025-12-29 17:54:47 +08:00
jason.mei 7a3091df10 feat(wan_ai_t2v): improve video generation and error handling
- Remove unused imports (os, tempfile)
- Add fallback VideoFromFile class for better compatibility
- Simplify video download and processing logic
- Add timeout parameter (120s) to video download request
- Improve error handling with specific ImportError catching
- Reduce code complexity by removing redundant checks and logging
- Streamline BytesIO object creation and return statement
- Enhance robustness when VideoFromFile is not available in ComfyUI
2025-12-29 17:53:31 +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
jasonandjason.mei 2be7d1e881 add gpt-image,qwen,nano banana (#5)
* add gitignore

* add video api

* fix: export to video

* fix

* fix

* fix

* fix

* fix

* add i2v

* fix

* fix

* add openai

* fix: add base url

* change default models

* fix: add base url

* add v1

* fix models

* fix models

* fix models

* fix models

* fix models

* fix bug

* fix

* try to fix

* use IO.STRING test

* image fix

* add chat content

* add files

* fix optional

* fix file read

* fix file read

* change name

* add get models

* add unused apikey

* change model sort

* fix IMAGE_LIST

* fix: change to image

* add model cache

* remove json_object

* change max_tokens to 65536

* change max_tokens to 6000

* add pic model

* fix gpt-image-1

* fix gpt-image-1

* fix gpt

* fix gpt

* fix gpt

* fix gpt

* add gpt edit

* fix gpt edit

* update project.toml

---------

Co-authored-by: jason.mei <jason.mei@ucloud.cn>
2025-09-23 11:26:19 +08:00
宋博瀚 568f2b2e15 Update pyproject.toml 2025-09-15 15:31:56 +08:00
jasonandjason.mei 681f6ebc5f support text generation
* add gitignore

* add video api

* fix: export to video

* fix

* fix

* fix

* fix

* fix

* add i2v

* fix

* fix

* add openai

* fix: add base url

* change default models

* fix: add base url

* add v1

* fix models

* fix models

* fix models

* fix models

* fix models

* fix bug

* fix

* try to fix

* use IO.STRING test

* image fix

* add chat content

* add files

* fix optional

* fix file read

* fix file read

* change name

* add get models

* add unused apikey

* change model sort

* fix IMAGE_LIST

* fix: change to image

* add model cache

* remove json_object

* change max_tokens to 65536

* change max_tokens to 6000

---------

Co-authored-by: jason.mei <jason.mei@ucloud.cn>
2025-09-15 15:31:26 +08:00
宋博瀚 3492952986 upgrade version 2025-09-09 13:53:21 +08:00
jasonandjason.mei 7d350330e7 add video async api
* add gitignore

* add video api

* fix: export to video

* fix

* fix

* fix

* fix

* fix

* add i2v

* fix

* fix

---------

Co-authored-by: jason.mei <jason.mei@ucloud.cn>
2025-09-09 13:52:07 +08:00
宋博瀚 cde31dc9a7 comfyui ucloud描述修改 2025-08-14 16:48:46 +08:00
宋博瀚 cdc9e245ba Merge pull request #2 from Andrewmatilde/main
Better README.md
v1.0.3
2025-08-13 15:34:03 +08:00
Andrewmatilde 9064c5b66e Better Readme 2025-08-13 14:27:43 +08:00
Andrewmatilde 272f918f28 Better Readme 2025-08-13 14:24:21 +08:00
Andrewmatilde f3a5a3e6f6 Better Readme 2025-08-13 14:18:56 +08:00
宋博瀚 e4c7c0c6df Merge pull request #1 from Andrewmatilde/main
Make execute() async function
v1.0.2
2025-08-06 14:02:56 +08:00
Andrewmatilde 89cbf2a433 change version 2025-08-06 14:01:31 +08:00
Andrewmatilde 0f5c8ac35b make execute async function 2025-08-06 12:57:45 +08:00
宋博瀚 e0de88df3a Update pyproject.toml 2025-07-23 11:32:08 +08:00
宋博瀚 17b1b62444 Update pyproject.toml 2025-07-23 10:40:46 +08:00
宋博瀚 988fe90de8 Update pyproject.toml 2025-07-23 10:34:29 +08:00
宋博瀚 9b8eec9a6f update comfyui publisherId
update comfyui publisherId
2025-07-22 17:58:52 +08:00
宋博瀚 72095fb17d comfyui git action init
comfyui git action init
2025-07-22 17:32:22 +08:00
cathy.wei 8ca697beff Merge branch 'jialin.sun' into 'main'
readme中限定comfyui版本

See merge request aigc/ucloud-comfyui!4
2025-07-22 13:57:14 +08:00
jialin.sun c79487a50f readme中限定comfyui版本 2025-07-22 13:52:20 +08:00
cathy.wei 7066ded9cc Merge branch 'jialin.sun' into 'main'
1. 添加readme对于隐藏api-key的描述;2.调整格式;3.移除无用import

See merge request aigc/ucloud-comfyui!3
2025-07-22 10:20:00 +08:00
jialin.sun 13981b32e8 1. 添加readme对于隐藏api-key的描述;2.调整格式;3.移除无用import 2025-07-21 15:04:58 +08:00
cathy.wei fb78171702 Merge branch 'jialin.sun' into 'main'
define specific version for required python packages

See merge request aigc/ucloud-comfyui!2
2025-07-18 10:52:54 +08:00
jialin.sun d77408cb4e define specific version for required python packages 2025-07-18 10:49:28 +08:00
cathy.wei 7f71f3f89d Merge branch 'jialin.sun' into 'main'
Upload initial codes

See merge request aigc/ucloud-comfyui!1
2025-07-11 16:13:43 +08:00
jialin.sun ee82207c7a add more workflow examples. 2025-07-11 15:46:38 +08:00
jialin.sun 13812e8d41 add README docs 2025-07-11 15:27:19 +08:00
jialin.sun a585528bbd Initial commit 2025-07-11 14:57:59 +08:00
cathy.wei f45fc35408 add README 2025-07-11 14:51:21 +08:00