08e6a4e31504ca8cafe9368f3facf18eecd21572
ComfyUI-LVLM-API
This workflow demonstrates a streamlined way to connect visual inputs with Large Multimodal Models (VLM) using a custom API node.
Workflow Breakdown
- Visual Source: The Load Image node brings your local image into the ComfyUI environment.
- The Prompt: A LLM (VLM) Prompt node stores instructions. Here, it's configured as a "Visual Analysis Expert" to guide the AI on what details to focus on.
- The Processing Hub: The LLM (VLM) API node acts as the bridge. It bundles the image and text, sends them to a remote model (like GLM-4V), and handles the API communication.
- The Output: A Show Text node captures the model's response, displaying the generated description or analysis instantly.
In Action
As seen in the screenshot, the system analyzes a portrait to describe the subject's attire (a grey puffer jacket), the indoor setting, and the soft lighting, turning a raw image into a detailed text report.
Languages
Python
100%
