[Integrations](https://spiral.ai/integrations) › [Cursor](https://spiral.ai/integrations/cursor) › [Moondream 3 Preview](https://spiral.ai/integrations/cursor/moondream-3-preview)

# How to Use Moondream 3 Preview in Cursor

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.

|  |  |
| --- | --- |
| Model | Moondream 3 Preview |
| Available through | OpenRouter |
| Category | LLM |
| Price | Up to $0.013327 per run at the default inputs. $0.39 per 1M input tokens, $3.25 per 1M output tokens. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Moondream 3 Preview in Cursor

- Use Moondream 3 Preview to draft one sentence of alt text for each image in public/products. Review each draft against the page where the image appears before updating the alt text.
- Use Moondream 3 Preview to transcribe the readable error message in screenshots/checkout-error.png. Return the exact visible wording and mark any unreadable characters.
- Use Moondream 3 Preview to describe the visible state of the quantity control in screenshots/cart.png. Enable reasoning and identify the visual evidence for the answer.
- Use Moondream 3 Preview to convert the table in docs/images/spec-table.png into Markdown. Preserve row order and mark uncertain cells for review.
- Use Moondream 3 Preview to describe each image in public/gallery as JSON with subject, dominant_colors, and setting. Validate the JSON before saving the descriptions.

## How to set up Moondream 3 Preview in Cursor

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the hosted server**: Use Add to Cursor on the console's Agents & MCP page, or add this to `.cursor/mcp.json` (one project) or `~/.cursor/mcp.json` (every project):

```json
{
  "mcpServers": {
    "spiral": { "url": "https://api.spiral.ai/mcp" }
  }
}
```

2. **Sign in**: Open Cursor Settings › MCP, click Connect next to spiral, sign in to Spiral and click Authorize. No API key. Spiral then shows as connected, with its tools listed.

### Use the Spiral skill

1. **Send Cursor this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Moondream 3 Preview**: One request; the result comes back by polling or a webhook.

```bash
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: Cursor finds Moondream 3 Preview on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/cursor

## Moondream 3 Preview tools and prices

- [Moondream: Moondream 3 Preview](https://spiral.ai/tools/openrouter/moondream/moondream3-preview) (OpenRouter): 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

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| top_p | 0 to 1 | — |  |
| reasoning |  | — | Reasoning effort; reasoning tokens count toward max_tokens. |
| max_tokens | 1 to 4096 | — | The most output tokens to generate. |
| temperature | 0 to 2 | — |  |
| reasoning_effort |  | — | OpenAI's reasoning effort (minimal, low, medium, high, xhigh). |

## What can you do with Moondream 3 Preview in Cursor?

Turn project screenshots and image assets into descriptions, readable text, and structured observations. A coding agent can use those results when updating content or investigating a visible interface problem.

### 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.

## Overview

- [OpenRouter](https://spiral.ai/providers/openrouter)
- [All Cursor guides](https://spiral.ai/integrations/cursor)

## Moondream 3 Preview in other agents

- [Amp](https://spiral.ai/integrations/amp/moondream-3-preview)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/moondream-3-preview)
- [Claude](https://spiral.ai/integrations/claude-desktop/moondream-3-preview)
- [Claude Code](https://spiral.ai/integrations/claude-code/moondream-3-preview)
- [Cline](https://spiral.ai/integrations/cline/moondream-3-preview)
- [Codex](https://spiral.ai/integrations/codex/moondream-3-preview)
- [Devin](https://spiral.ai/integrations/devin/moondream-3-preview)
- [dots](https://spiral.ai/integrations/dots/moondream-3-preview)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/moondream-3-preview)
- [Gemini](https://spiral.ai/integrations/gemini/moondream-3-preview)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/moondream-3-preview)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/moondream-3-preview)
- [goose](https://spiral.ai/integrations/goose/moondream-3-preview)
- [Grok](https://spiral.ai/integrations/grok/moondream-3-preview)
- [Grok Build](https://spiral.ai/integrations/grok-build/moondream-3-preview)
- [Hermes](https://spiral.ai/integrations/hermes/moondream-3-preview)
- [Instinct](https://spiral.ai/integrations/instinct/moondream-3-preview)
- [Manus](https://spiral.ai/integrations/manus/moondream-3-preview)
- [Muse](https://spiral.ai/integrations/muse/moondream-3-preview)
- [Muse Code](https://spiral.ai/integrations/muse-code/moondream-3-preview)
- [n8n](https://spiral.ai/integrations/n8n/moondream-3-preview)
- [Notion](https://spiral.ai/integrations/notion/moondream-3-preview)
- [OpenClaw](https://spiral.ai/integrations/openclaw/moondream-3-preview)
- [opencode](https://spiral.ai/integrations/opencode/moondream-3-preview)
- [Perplexity](https://spiral.ai/integrations/perplexity/moondream-3-preview)
- [Raycast](https://spiral.ai/integrations/raycast/moondream-3-preview)
- [VS Code](https://spiral.ai/integrations/vscode/moondream-3-preview)
- [Windsurf](https://spiral.ai/integrations/windsurf/moondream-3-preview)
- [Zapier](https://spiral.ai/integrations/zapier/moondream-3-preview)

## More Cursor guides

- [Mixtral 8x22B Instruct](https://spiral.ai/integrations/cursor/mixtral-8x22b-instruct)
- [Moondream 3.1](https://spiral.ai/integrations/cursor/moondream-3-1)
- [Mistral Small 4](https://spiral.ai/integrations/cursor/mistral-small-4)
- [Morph V3 Fast](https://spiral.ai/integrations/cursor/morph-v3-fast)
- [Mistral Small 3.2 24B](https://spiral.ai/integrations/cursor/mistral-small-3-2-24b)
- [Morph V3 Fast Batch](https://spiral.ai/integrations/cursor/morph-v3-fast-batch)

## Questions about Moondream 3 Preview in Cursor

**Can Cursor use Moondream 3 Preview?**

Yes. Add Spiral to Cursor as an MCP server, and Cursor can find and run Moondream 3 Preview like any built-in tool.

**How much does Moondream 3 Preview cost in Cursor?**

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 Cursor plan is separate.

**Do I need an OpenRouter account to use Moondream 3 Preview in Cursor?**

No. Spiral runs Moondream 3 Preview on its own OpenRouter account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Moondream 3 Preview in Cursor?**

About two minutes: add the hosted server, then sign in.

**Does Cursor wait while Moondream 3 Preview runs?**

Moondream 3 Preview runs in the background. Cursor 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.

