Skip to content
프로젝트

소개

The implementation of MiniCPM-V-4_5 has been seamlessly integrated into the ComfyUI platform, enabling the support for text-based queries, video queries, single-image queries, and multi-image queries to generate captions or responses.

디자인 및 미디어

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

ComfyUI_MiniCPM-V-4_5

This is an implementation of MiniCPM-V-4_5 by ComfyUI, including support for text-based queries, video queries, single-image queries, and multi-image queries to generate captions or responses.


Recent Updates

  • Added keep_model_loaded parameter

By default, this parameter is set to False, which indicates that the model will be unloaded from GPU memory after each prediction is made.

However, if set to True, the model will remain loaded in GPU memory. This is particularly useful when multiple predictions with the same model are needed, eliminating the need to reload it between uses.

  • Added seed parameter

This parameter enables the setting of a random seed for the purpose of ensuring reproducibility in results.


Basic Workflow

  • Text-based Query: Users can submit textual queries to request information or generate descriptions. For instance, a user might input a description like "What is the meaning of life?"

Chat_with_text_workflow_legacy preview Chat_with_text_workflow_legacy preview Chat_with_text_workflow_polished preview Chat_with_text_workflow_polished preview

  • Video Query: When a user uploads a video, the system can analyze the content and generate a detailed caption for each frame or a summary of the entire video. For example, "Generate a caption for the given video."

Chat_with_video_workflow_legacy preview Chat_with_video_workflow_legacy preview Chat_with_video_workflow_polished preview Chat_with_video_workflow_polished preview

  • Single-Image Query: This workflow supports generating a caption for an individual image. A user could upload a photo and ask, "What does this image show?" resulting in a caption such as "A majestic lion pride relaxing on the savannah."

Chat_with_single_image_workflow_legacy preview Chat_with_single_image_workflow_legacy preview Chat_with_single_image_workflow_polished preview Chat_with_single_image_workflow_polished preview

  • Multi-Image Query: For multiple images, the system can provide a collective description or a narrative that ties the images together. For example, "Create a story from the following series of images: one of a couple at a beach, another at a wedding ceremony, and the last one at a baby's christening."

Chat_with_multiple_images_workflow_legacy preview Chat_with_multiple_images_workflow_legacy preview Chat_with_multiple_images_workflow_polished preview Chat_with_multiple_images_workflow_polished preview

Installation

  • Install from ComfyUI Manager (search for minicpm)

  • Download or git clone this repository into the ComfyUI\custom_nodes\ directory and run:

pip install -r requirements.txt

Download Models

All the models will be downloaded automatically when running the workflow if they are not found in the ComfyUI\models\prompt_generator\ directory.

관련 프로젝트 살펴보기

불러오는 중…