Moondream 3 Preview Query
Ask Moondream 3 Preview a question about one image and get the answer as text or JSON. A reasoning step runs by default and can be switched off for simple questions.
Overview
Query is the question-answering skill of Moondream 3 Preview, a vision language model from M87 Labs. You give it one image and a question about it, and it writes back an answer.
The model is a mixture of experts with 9B parameters in total, of which 2B are active for each token. M87 Labs lists its usable context as 32K tokens. Query thinks through the question before it answers unless you switch that off. The release notes describe this reasoning as grounded in the picture: chunks of it are tied to specific regions of the image.
What you can build
- Product tagging that asks which items a photo contains and stores the list.
- Food and recipe apps that name the ingredients visible in a photo.
- Accessibility features where a user asks their own question about a picture.
- Table and document reading. M87 Labs says OCR improved a great deal in this release, and its release notes show an image of a table being turned into Markdown.
- Automated checks where a yes/no answer or a count decides what happens next.
Inputs
You attach a single image, from your device or by URL, as JPG, JPEG, PNG, GIF, WebP or HEIC. The prompt holds your question or instruction and is the only required field. A Reasoning checkbox is on by default. Under the advanced settings, Temperature goes from 0 to 5 (default 0.7) and Top P from 0 to 1 (default 0.95).
Outputs
The answer is text. All three samples came back as JSON objects, including two whose prompts never asked for JSON. The default sample, a portrait of a man in a white coat, lists glasses, a watch and a stethoscope under the "accessories" key the prompt requested. "List all the ingredients in the image", run on a photo of five bowls, returns five numbered fields, among them thinly sliced red onions and tomato slices. Two entries are hedged with "possibly", and the bowl of shredded chicken comes back as "possibly spice or paste". "List the balls" names a basketball, a volleyball, a football and a soccer ball.
Recommended settings
- Leave Reasoning on for questions that take several steps. The model card suggests turning it off when the question is simple, and its example is asking for the color of the sky.
- The defaults (temperature 0.7, Top P 0.95) are the values the card uses in its own example. When code parses the answer, move temperature toward 0, which the setting's help text calls deterministic.
- Put the exact JSON key you expect in the prompt, the way the default prompt does.
Limitations
- This is a preview release, and M87 Labs expects capabilities and benchmark scores to rise as training continues.
- Very small text is a weak point. The release notes say tiny fonts can trip up the vision encoder.
- By M87 Labs' own account, post-training does not yet make full use of the 32K context.
- There is room for exactly one image per request.
Safety & compliance
The weights are released under the Business Source License 1.1 with an Additional Use Grant (No Third-Party Service). If the image shows an identifiable person, get that person's consent before you submit it.
Example prompts
Great starting points for query.
API quick start
Run query with a single API call.
{
"prompt": "List all the accessories in json format u…",
"inputImage": "https://your-cdn.com/input.png",
"reasoning": true,
"temperature": 0.7
}curl -X POST "https://api.wiro.ai/v1/Run/moondream3-preview/query" \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_WIRO_API_KEY" \
--data-binary @- <<'JSON'
{
"prompt": "List all the accessories in json format u…",
"inputImage": "https://your-cdn.com/input.png",
"reasoning": true,
"temperature": 0.7
}
JSONOther models you might like
Explore similar image generation models.



