Nodes/VLM_nodes/MoonDream (Moondream 2)
ComfyUI Node Runs on cloud

MoonDream (Moondream 2)

The old name still answers questions about your images

By gokayfem·Created 3 years ago·Updated 17 days ago· 587
MoonDream (Moondream 2)
  • image
  • STRING
questionDescribe this image in detail.
unload_afterfalse

This is the pack's backward-compatibility play. MoonDream is the node that predates the newer Moondream2model - the one you'll find in old VLM Nodes workflows from 2024 asking "describe this image" through Moondream, the small 1.6B vision-language model from @vikhyatk. The current pack keeps the node alive but quietly re-points it at the modern Moondream 2 checkpoint, so old graphs still run and you get today's weights without changing a wire.

What it's for

Running a saved workflow that has a MoonDream node in it. If you loaded an old graph and ComfyUI says "missing node: MoonDream", installing (or updating) this pack fixes it - and you get the newer model under the hood, which is strictly better for the same input/output shape. For a fresh graph you'd pick Moondream2model instead, but it's good to know the old node is kept working.

How it works

Under the hood it's the same predictor as the current Moondream 2 node: on first run it downloads the pinned Moondream 2 checkpoint from Hugging Face into models/LLavacheckpoints, then for each image it runs the model's query API with your question and returns the text answer. The input is even named question here, matching the original interface.

Inputs and output

  • image - what you're looking at.
  • question - "what's in this image?", "is this landscape or portrait?", whatever.

Output: a single STRING answer.

Install

Same pack, and the node arrives with it:

cd ComfyUI/custom_nodes
git clone https://github.com/gokayfem/ComfyUI_VLM_nodes
python -m pip install -r ComfyUI/custom_nodes/ComfyUI_VLM_nodes/requirements.txt

The honest take

There's nothing to tune here - no sampling controls, no model menu, just image + question. That's the legacy interface, preserved on purpose so old workflows keep working. If you're starting fresh, use Moondream2model for its extra controls (max tokens, temperature, reasoning). If you're resurrecting an old graph, drop this in, let the first run download the weights, and it just works. Either way, remember Moondream is research-only licensed - no commercial use.

CategoryVLM Nodes/Legacy/Model Loaders

Inputs (3)

NameTypeDefaultDescription
imageIMAGE
questionSTRINGDescribe this image in detail.
unload_afteroptBOOLEANfalse

Outputs (1)

NameTypeDescription
STRINGSTRING