[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [Perceptron Mk1](https://spiral.ai/integrations/muse-code/perceptron-mk1)

# How to Use Perceptron Mk1 in Muse Code

Perceptron Mk1 analyzes images and video for document extraction, object counting, and event timing. Use it to answer questions about visible actions or find a demonstrated item in new footage.

|  |  |
| --- | --- |
| Model | Perceptron Mk1 |
| Available through | OpenRouter |
| Category | LLM |
| Price | Up to $0.007995 per run at the default inputs. $0.195 per 1M input tokens, $1.95 per 1M output tokens. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Perceptron Mk1 in Muse Code

- Use Perceptron Mk1 to inspect the product images in this project's assets directory. Draft one factual accessibility description per image, under 35 words, and save a reviewable mapping from filename to description.
- Use Perceptron Mk1 to read the serial-plate images in the test fixtures. Return manufacturer, model number, and serial number as JSON; mark unreadable values as null.
- Use Perceptron Mk1 to review the 30-second robot demonstration in this repository. Enable reasoning and report the observed goal, ordered actions, and visible outcome in under 500 words.
- Use Perceptron Mk1 to compare the labeled defect examples with the inspection images in this project. List matching defects by filename and explain the visible evidence.
- Use Perceptron Mk1 to count the visible cartons in the warehouse test images. Define partially visible cartons separately and return a compact result for each filename.

## How to set up Perceptron Mk1 in Muse Code

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

### Use Spiral's MCP server

1. **Install Muse Code**

```bash
curl -fsSL https://dev.meta.ai/install.sh | bash
```

2. **Ask Muse to add the server**: Start `muse` and ask:

```text
Add the Spiral MCP server at https://api.spiral.ai/mcp
```

3. **Sign in**: In your terminal, run:

```bash
muse mcp login spiral
```

### Use the Spiral skill

1. **Send Muse Code 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 Perceptron Mk1**: 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": "perceptron/perceptron-mk1",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

Then paste one of the prompts above: Muse Code finds Perceptron Mk1 on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/muse-code

## Perceptron Mk1 tools and prices

- [Perceptron: Perceptron Mk1](https://spiral.ai/tools/openrouter/perceptron/perceptron-mk1) (OpenRouter): Up to $0.007995 per run at the default inputs. $0.195 per 1M input tokens, $1.95 per 1M output tokens.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| top_k | 0 to … | — |  |
| top_p | 0 to 1 | — |  |
| reasoning |  | — | Reasoning effort; reasoning tokens count toward max_tokens. |
| max_tokens | 1 to 8192 | — | The most output tokens to generate. |
| temperature | 0 to 2 | — |  |
| presence_penalty | -2 to 2 | — |  |

## What can you do with Perceptron Mk1 in Muse Code?

Turn project images and recorded demonstrations into descriptions, extracted text, and event summaries. Use Perceptron Mk1 to supply visual evidence for asset work and inspection workflows.

### Extract label and serial-plate text

Ask Perceptron Mk1 to transcribe visible labels into named fields, marking unreadable characters for review.

### Create image descriptions

Use Perceptron Mk1 to draft accessibility descriptions and searchable metadata from product or editorial images.

### Count visible inventory

Ask Perceptron Mk1 to count specified objects in shelf or tray images, with a clear rule for partially visible items.

### Find a product in shelf footage

Show Perceptron Mk1 a reference product image, then ask where the same product appears in a shelf-walking video.

### Locate sports highlights

Ask Perceptron Mk1 to identify a defined event, such as a ball passing through a hoop, and report its timing.

### Review robot-task outcomes

Use Perceptron Mk1 to identify task attempts in recorded footage and describe the visible evidence for success or failure.

### Check demonstrated defects

Give Perceptron Mk1 labeled defect examples and ask it to find matching visual evidence in inspection footage.

### Break down training demonstrations

Ask Perceptron Mk1 to turn an assembly or training video into an ordered account of the observed actions.

## Overview

- [OpenRouter](https://spiral.ai/providers/openrouter)
- [All Muse Code guides](https://spiral.ai/integrations/muse-code)

## Perceptron Mk1 in other agents

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

## More Muse Code guides

- [Particle-1](https://spiral.ai/integrations/muse-code/particle-1)
- [Perceptron Mk1.5](https://spiral.ai/integrations/muse-code/perceptron-mk1-5)
- [Pareto Latest](https://spiral.ai/integrations/muse-code/pareto-latest)
- [Phi-4](https://spiral.ai/integrations/muse-code/phi-4)
- [Pareto 26.9](https://spiral.ai/integrations/muse-code/pareto-26-9)
- [Pixtral Large 2502](https://spiral.ai/integrations/muse-code/pixtral-large-2502)

## Questions about Perceptron Mk1 in Muse Code

**Can Muse Code use Perceptron Mk1?**

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run Perceptron Mk1 like any built-in tool.

**How much does Perceptron Mk1 cost in Muse Code?**

Up to $0.007995 per run at the default inputs. $0.195 per 1M input tokens, $1.95 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Muse Code plan is separate.

**Do I need an OpenRouter account to use Perceptron Mk1 in Muse Code?**

No. Spiral runs Perceptron Mk1 on its own OpenRouter account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Perceptron Mk1 in Muse Code?**

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

**Does Muse Code wait while Perceptron Mk1 runs?**

Perceptron Mk1 runs in the background. Muse Code starts the run, checks on it and gives you the text, json when it's ready.

**What is Perceptron Mk1 good at?**

Use it for questions that depend on visual evidence: reading labels, counting objects, interpreting actions, and locating events in video. Reference images also help specify what to find in new footage.

**Can Perceptron Mk1 analyze long videos?**

Its documented sampling becomes sparser beyond about 128 seconds while still covering the full selected time window. For brief-event searches, a practical precaution is to split footage into relevant shorter segments.

**How much can Perceptron Mk1 return?**

The context window is 32,768 tokens, and a completion can contain up to 8,192 tokens. Ask for focused results, such as selected document fields or a list of relevant events.

**How do I show Perceptron Mk1 an unfamiliar object?**

Provide an annotated reference image and explain what it represents. Use several labeled examples when similar objects need to be distinguished.

**When should I enable reasoning?**

Perceptron's guidance recommends reasoning for text questions, captioning, OCR, and locating video events. It recommends turning reasoning off for spatial detection with points, boxes, or polygons.

