[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [Poly Haven asset search](https://spiral.ai/integrations/muse-code/poly-haven-asset-search)

# How to Use Poly Haven asset search in Muse Code

Finds Poly Haven HDRIs, textures, and 3D models with asset metadata. Use it to compare candidates for a scene, then retrieve download URLs for the assets you choose.

|  |  |
| --- | --- |
| Model | Poly Haven asset search |
| Available through | Alexandria |
| Category | News & Media |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Poly Haven asset search in Muse Code

- Use Poly Haven asset search to find weathered wood textures, then create a shortlist in my project with the returned asset names and descriptions.
- Use Poly Haven asset search to find rooftop sunset HDRIs and add the returned candidates to my project's lighting selection screen.
- Use Poly Haven asset search to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Poly Haven asset search and tell me what changed since last week.
- Check Poly Haven asset search and summarize what you find in three bullet points.

## How to set up Poly Haven asset search 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 Poly Haven asset search**: 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": "alexandria",
    "model": "polyhaven-com/graphics-assets/search_assets",
    "input": {
      "url": "<url>"
    }
  }'
```

Then paste one of the prompts above: Muse Code finds Poly Haven asset search on Spiral, shows the price and runs it.

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

## Poly Haven asset search tools and prices

- [Poly Haven · Search assets](https://spiral.ai/tools/alexandria/polyhaven-com/graphics-assets/search_assets) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| url |  | — | A library URL (https://polyhaven.com/textures/wood) or an /assets API URL; supplies type and category unless those are given. |
| sort | relevance, downloads, newest, name | — | Default relevance with a query, otherwise downloads. |
| type | hdris, textures, models, all | — | Asset type; default all. |
| limit | 1 to 100 | — | Assets per page; default 20. |
| query |  | — | Words to match in name, id, tags, categories and description. Generic words (free, cc0, model, texture, hdri) are ignored. |
| author |  | — | Author name, case-insensitive exact match, e.g. Rob Tuytel. |

## What can you do with Poly Haven asset search in Muse Code?

Build a Poly Haven asset picker that turns category browsing into scene-ready file choices. A coding agent can use the taxonomy, asset metadata, and download links to add that workflow to your project.

### Build an asset browser

Organize a browser around Poly Haven categories, show matching assets, and retrieve download links when an artist chooses one.

### Prepare an architectural scene

Browse material and furniture categories, shortlist wood textures and props, and collect the files needed for an interior render.

### Source assets for a game environment

Use categories to organize an environment's material and prop requirements, find candidates, and retrieve selected model and texture files.

### Assemble a rendering research dataset

Select assets across category branches, collect their metadata, and retrieve file URLs for a dataset with documented material and object coverage.

### Compare lighting environments

Find HDRIs for a rooftop sunset or overcast exterior, then retrieve their available files for lighting comparisons in the same scene.

### Choose materials for a close-up

Compare candidate wood or concrete textures and inspect their available maps and resolutions before choosing files for a detailed render.

## Overview

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

## Poly Haven asset search in other agents

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

## More Muse Code guides

- [Poly Haven asset downloads](https://spiral.ai/integrations/muse-code/poly-haven-asset-downloads)
- [Sketchfab creator profile](https://spiral.ai/integrations/muse-code/sketchfab-creator-profile)
- [Poly Haven asset categories](https://spiral.ai/integrations/muse-code/poly-haven-asset-categories)
- [Sketchfab licenses and categories](https://spiral.ai/integrations/muse-code/sketchfab-licenses-and-categories)
- [Openverse related audio](https://spiral.ai/integrations/muse-code/openverse-related-audio)
- [Sketchfab model details](https://spiral.ai/integrations/muse-code/sketchfab-model-details)

## Questions about Poly Haven asset search in Muse Code

**Can Muse Code use Poly Haven asset search?**

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run Poly Haven asset search like any built-in tool.

**How much does Poly Haven asset search cost in Muse Code?**

$0.00873 per call. 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 Alexandria account to use Poly Haven asset search in Muse Code?**

No. Spiral runs Poly Haven asset search on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Poly Haven asset search in Muse Code?**

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

**Does Muse Code wait while Poly Haven asset search runs?**

Poly Haven asset search runs in the background. Muse Code starts the run, checks on it and gives you the json when it's ready.

**What does Poly Haven cover?**

Poly Haven covers three types of 3D assets: HDRIs, textures, and models. Asset metadata includes tags, categories, authors, and dimensions.

**How often does Poly Haven add assets?**

Poly Haven says it publishes about one new public asset per weekday. Vault collections are released separately when their funding goals are reached.

**What resolution does Poly Haven offer?**

Poly Haven describes its HDRIs as 16K or higher and unclipped, and its photoscanned PBR textures as at least 8K. The downloadable files are organized by resolution and format.

**Does a broad category include its subcategories?**

Yes. Poly Haven's taxonomy is a tree for each asset type, and filtering by a parent category includes assets nested beneath it.

**Does Poly Haven guarantee the metadata is complete?**

No. Its API terms explicitly disclaim warranties about accuracy, completeness, and reliability, including the data and assets.

