[Integrations](https://spiral.ai/integrations) › [dots](https://spiral.ai/integrations/dots) › [Moondream 2 object coordinates](https://spiral.ai/integrations/dots/moondream-2-object-coordinates)

# How to Use Moondream 2 object coordinates in dots

Returns point locations for matching objects in an image, plus an annotated image. Use it to place markers, count detected instances, or locate a control without outlining its boundaries.

|  |  |
| --- | --- |
| Model | Moondream 2 object coordinates |
| Available through | fal |
| Category | Data |
| Price | $0.026 per image. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with Moondream 2 object coordinates in dots

- Whenever a new IKEA room photo arrives for review, use Moondream 2 object coordinates to locate chairs and report the number of returned points.
- Whenever a new Apple AirPods catalog photo arrives, use Moondream 2 object coordinates to mark the earbuds and add the annotated result to the review report.
- Every Monday at 9am: use Moondream 2 object coordinates to look this up and give me the result as a table.
- Pull the latest numbers from Moondream 2 object coordinates and tell me what changed since last week.
- Check Moondream 2 object coordinates and summarize what you find in three bullet points.

## How to set up Moondream 2 object coordinates in dots

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

### Use the Spiral skill

1. **Send dots 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 Spiral's MCP server

1. **Create an API key**: In the console, open API keys and create a key for your dot. Copy it.

2. **Send your dot this message**: Your dot reads Spiral's skill and asks for your API key.

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

3. **Give your dot the key**: When your dot asks for the key, add it where your dot keeps secrets, never in the chat itself.

### 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 2 object coordinates**: 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": "fal",
    "model": "fal-ai/moondream2/point-object-detection",
    "input": {
      "image_url": "https://llava-vl.github.io/static/images/monalisa.jpg",
      "object": "<object>"
    }
  }'
```

Then paste one of the prompts above: dots finds Moondream 2 object coordinates on Spiral, shows the price and runs it.

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

## Moondream 2 object coordinates tools and prices

- [Moondream2 · Point Object Detection](https://spiral.ai/tools/fal/fal-ai/moondream2/point-object-detection) (fal): $0.026 per image.

## What can you do with Moondream 2 object coordinates in dots?

Prepare recurring visual change reports from new shelf, display, or website images. An always-on agent can apply the same Moondream description to each image and compare returned locations across runs.

### Annotate product photos

Locate shoes, bags, or furniture in catalog images. Use boxes to outline each detected product or points to place numbered review markers.

### Prepare visual counts

Find repeated objects such as bicycles, apples, or chairs and count the returned locations. Show the annotations beside the total so a reviewer can inspect the detections.

### Locate interface controls

Find a search button or cart icon in a screenshot. Use its box to highlight the control or its point location to propose a click target.

### Create draft image annotations

Generate initial boxes or point labels for a collection of object photos. Present the results for review before adding them to an annotation dataset.

### Compare scene snapshots

Locate the same object category in successive shelf or display photos. Compare the detected positions and annotated images to prepare a report of visible changes.

### Build illustrated object guides

Mark recognizable objects in museum, landmark, or equipment photos. Use boxes for a visual index or points for numbered callouts linked to explanatory text.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All dots guides](https://spiral.ai/integrations/dots)

## Moondream 2 object coordinates in other agents

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

## More dots guides

- [Moondream 2 object bounding boxes](https://spiral.ai/integrations/dots/moondream-2-object-bounding-boxes)
- [SAM 3 image embedding](https://spiral.ai/integrations/dots/sam-3-image-embedding)
- [Mistral document text extraction](https://spiral.ai/integrations/dots/mistral-document-text-extraction)
- [Sa2VA 4B image segmentation](https://spiral.ai/integrations/dots/sa2va-4b-image-segmentation)
- [Mistral document text and table extraction](https://spiral.ai/integrations/dots/mistral-document-text-and-table-extraction)
- [Sa2VA 4B video segmentation](https://spiral.ai/integrations/dots/sa2va-4b-video-segmentation)

## Questions about Moondream 2 object coordinates in dots

**Can dots use Moondream 2 object coordinates?**

Yes. Add Spiral to dots as an MCP server, and dots can find and run Moondream 2 object coordinates like any built-in tool.

**How much does Moondream 2 object coordinates cost in dots?**

$0.026 per image. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your dots plan is separate.

**Do I need a fal account to use Moondream 2 object coordinates in dots?**

You need no fal account. dots uses one Spiral API key for every tool, and Spiral runs Moondream 2 object coordinates on its own fal account.

**How long does it take to set up Moondream 2 object coordinates in dots?**

About two minutes: create an API key, then send your dot this message, then give your dot the key.

**Does dots wait while Moondream 2 object coordinates runs?**

Moondream 2 object coordinates runs in the background. dots starts the run, checks on it and gives you the json when it's ready.

**What moment does a Moondream result describe?**

It describes objects in the supplied still image. Moondream documents video detection as a frame-by-frame workflow, so use a new frame to examine a later moment.

**What is the difference between boxes and points?**

Moondream object detection returns rectangular boundaries around objects. Pointing returns center coordinates for matching instances, which suits markers and position-based actions.

**Are point coordinates measured in pixels?**

Moondream Point returns x,y coordinates normalized between 0 and 1. Multiply x by the image width and y by its height when you need pixel positions.

**Can Moondream locate more than one matching object?**

Yes. Detection supports multiple matching objects in one query, and pointing returns a center location for each matching instance.

**Am I limited to standard object categories?**

Moondream supports descriptions beyond a predefined category list. Pointing also accepts features and spatial relationships, so a request such as 'the handle on the left cup' can be more useful than 'cup.'

