siliconflow / BizyAir

BizyAir: Comfy Nodes that can run in any environment.
https://siliconflow.github.io/BizyAir/
MIT License
290 stars 18 forks source link

Add SiliconCloud VLM API Node #172

Open lcolok opened 1 day ago

lcolok commented 1 day ago

Add SiliconCloud VLM API Node, Refactor Model Fetching Logic, Enhance BizyAir Node Library's Multimodal AI Capabilities

This PR introduces support for SiliconFlow's latest VLM (Vision Language Model) API while optimizing existing LLM functionality. Key updates include:

1. New SiliconCloudVLMAPI Node

2. Refactored Model Fetching Logic

3. Updated utils.py

4. Frontend JavaScript Updates (js/siliconcloud_llm_api.js)

5. Other Optimizations

6. Test Workflow

This update enables the BizyAir node library to handle more complex multimodal AI tasks. Users can now seamlessly integrate text and image inputs in ComfyUI, achieving richer AI-assisted creation and analysis workflows. The test workflow file provides a practical usage example, helping users quickly understand and apply the new features.


新增SiliconCloud VLM API节点,重构模型获取逻辑,增强BizyAir节点库的多模态AI能力

本次PR主要引入了对SiliconFlow最新VLM(视觉语言模型)API的支持,同时优化了现有的LLM功能。主要更新内容如下:

1. 新增SiliconCloudVLMAPI节点

2. 重构模型获取逻辑

3. 更新utils.py

4. 前端JavaScript更新(js/siliconcloud_llm_api.js)

5. 其他优化

6. 测试工作流

这次更新使BizyAir节点库能够处理更复杂的多模态AI任务。用户现在可以在ComfyUI中无缝集成文本和图像输入,实现更丰富的AI辅助创作和分析工作流。测试工作流文件提供了一个实际使用示例,有助于用户快速理解和应用新功能。