ComfyUI Node

MiniCPM-V Q&A

A ComfyUI node in MiniCPM-V with 9 inputs and 1 output.

By drmbt·Created 2 years ago·Updated 6 months ago· 6
MiniCPM-V Q&A
  • minicpmv_model
  • image
  • STRING
questionDescribe this scene in great detail in English
path
n_frames4
max_tokens512
seed0
temperature1.0
force_offloadtrue
CategoryMiniCPM-V

Inputs (9)

NameTypeDefaultDescription
minicpmv_modelMINICPMV_MODEL
questionSTRINGDescribe this scene in great detail in EnglishQuestion or prompt for the model to analyze the image(s)
imageoptIMAGEInput image or batch of frames
pathoptSTRINGPath to: video file, image file, or folder of images
n_framesoptINT40–64Frames to sample. 0: all frames (may OOM), 1: middle, 2: first/last, 3: first/mid/last, 4+: evenly spaced
max_tokensoptINT5121–2048Maximum length of generated response
seedoptINT00–18446744073709550000Seed for random generation (0 for random)
temperatureoptFLOAT1.00–2Higher values make output more random, lower values more deterministic
force_offloadoptBOOLEANtrueIf true, the model will be offloaded to save memory after generation

Outputs (1)

NameTypeDescription
STRINGSTRING