Spiral gives your agent every tool with one account. Browse the tools →

Muse Code · LLMReleased 2026-05-12

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.

Prompts to try with Perceptron Mk1 in Muse Code

Copy an example into Muse Code, or ask in your own words.

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.

Perceptron Mk1Muse Code
Try asking
  • 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
    curl -fsSL https://dev.meta.ai/install.sh | bash
  2. Ask Muse to add the server

    Start muse and ask:

    Add the Spiral MCP server at https://api.spiral.ai/mcp
  3. Sign in

    In your terminal, run:

    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.

    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.

    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.

Perceptron Mk1 providers and prices

Spiral runs Perceptron Mk1 through OpenRouter. Open a card for today's price, with every fee included.

OpenRouterLLM
Perceptron: Perceptron Mk1
perceptron/perceptron-mk1

Settings you can ask for

Ask Muse Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Top ka whole number from 0
Top p0 to 1
Max tokens1 to 8192

The most output tokens to generate.

Temperature0 to 2
Presence penalty-2 to 2
Frequency penalty-2 to 2

Every API field of Perceptron: Perceptron Mk1 is on its tool page: open its card above.

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.

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.

Get started

Start using Perceptron Mk1 in Muse Code

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Muse Code:

Set up Muse Code

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options