How to Use Moondream 3 Preview in n8n
Moondream 3 Preview answers questions about images, writes captions, and extracts visual details into JSON. It supports reasoning for harder visual questions, but tiny text can trip it up.
Prompts to try with Moondream 3 Preview in n8n
Copy an example into n8n, or ask in your own words.
Each morning, use Moondream 3 Preview to draft one sentence of alt text for each newly submitted product photo. Include only visible details and collect the drafts for review.
Every evening, use Moondream 3 Preview to describe each new catalog photo as JSON with subject, color, and position. Mark attributes that are not visible as unknown.
Each weekday, use Moondream 3 Preview to transcribe readable error messages from new support screenshots. Mark unclear text and include the transcription in the daily support digest.
Every Monday, use Moondream 3 Preview to create a short caption for each newly submitted event photo. Describe the visible activity without guessing names.
Each morning, use Moondream 3 Preview with reasoning enabled to check whether each new product photo supports its submitted color description. Report the answer with the visible evidence.
How to set up Moondream 3 Preview in n8n
Pick the way that suits you. Each takes about two minutes.
Use the Spiral skill
- Send n8n this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use Spiral's MCP server
- Create a key
Create a key under API keys in the console.
- Add an MCP Client node
In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:
https://api.spiral.ai/mcp
- Pick a tool
The node lists Spiral's tools. In an MCP Client node pick one, such as run, and give it its arguments:
{ "provider": "fal", "model": "fal-ai/flux/schnell", "input": { "prompt": "a lighthouse at dawn" }, "wait": true } - Run Moondream 3 Preview in a workflow step
Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Moondream 3 Preview, prices it and runs it each time the step fires.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Moondream 3 Preview
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "openrouter", "model": "moondream/moondream3-preview", "input": { "messages": [ { "role": "system" } ] } }'
Then paste one of the prompts above: n8n finds Moondream 3 Preview on Spiral, shows the price and runs it.
Moondream 3 Preview providers and prices
Spiral runs Moondream 3 Preview through OpenRouter. Open a card for today's price, with every fee included.
Up to $0.013327 per run at the default inputs. $0.39 per 1M input tokens, $3.25 per 1M output tokens.
Settings you can ask for
Ask n8n for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Top p | 0 to 1 | ||
| Max tokens | 1 to 4096 | The most output tokens to generate. | |
| Temperature | 0 to 2 |
Every API field of Moondream: Moondream 3 Preview is on its tool page: open its card above.
What can you do with Moondream 3 Preview in n8n?
Keep incoming images organized with consistent captions and structured visual descriptions. A scheduled agent can apply the same focused question to each new image and collect the results for review.
Draft alt text
Turn website images into concise descriptions of the visible subject and action. Review the drafts in the context of the surrounding page.
Describe product photos
Extract visible product attributes such as color, shape, and arrangement for catalog descriptions. Ask it to mark details that cannot be determined from the photo.
Convert pictured tables into Markdown
Transcribe a clearly readable table from an image into editable Markdown. Check small print and ambiguous characters against the source.
Explain support screenshots
Describe the visible interface state or transcribe a readable error message to give a support agent concrete evidence.
Catalog an image collection
Create captions and structured descriptions that record the subjects, colors, and setting shown in each image.
Check image descriptions
Ask whether a photo supports a specific description, and request the visible evidence behind the answer.
Prepare visual observation reports
Summarize what is visible in a scene photo using a consistent set of requested details, such as object type, color, and position.
More on Moondream 3 Preview and n8n
Overview
Moondream 3 Preview in other agents
Questions about Moondream 3 Preview in n8n
Can n8n use Moondream 3 Preview?
Yes. Add Spiral to n8n as an MCP server, and n8n can find and run Moondream 3 Preview like any built-in tool.
How much does Moondream 3 Preview cost in n8n?
Up to $0.013327 per run at the default inputs. $0.39 per 1M input tokens, $3.25 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your n8n plan is separate.
Do I need an OpenRouter account to use Moondream 3 Preview in n8n?
You need no OpenRouter account. n8n uses one Spiral API key for every tool, and Spiral runs Moondream 3 Preview on its own OpenRouter account.
How long does it take to set up Moondream 3 Preview in n8n?
About two minutes: create a key, then add an MCP Client node, then pick a tool.
Does n8n wait while Moondream 3 Preview runs?
Moondream 3 Preview runs in the background. n8n starts the run, checks on it and gives you the text, json when it's ready.
What is Moondream 3 good at?
Moondream 3 answers questions about images, describes scenes, and turns visible details into structured text. Useful tasks include product descriptions, alt text, and checking whether an image matches a description.
Can Moondream 3 read text in images?
Yes, including converting a pictured table into Markdown. Tiny fonts are a documented weakness, so check small text against the original image.
Can Moondream 3 return JSON?
Yes. Specify the keys you want and describe what each entry should represent, such as one object per visible product with its color and position.
How much context can Moondream 3 Preview handle?
The model card documents a usable context length of 32K tokens. That describes context capacity, not a promise of a 32K-token answer.
Does Moondream 3 use a fixed image resolution?
Moondream resizes images into overlapping tiles rather than using one fixed resolution. Its documentation describes roughly 378-by-378-pixel tiles, with up to 12 local tiles plus a global view.
Start using Moondream 3 Preview in n8n
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into n8n:
set up https://spiral.ai/SKILL.md


