# Poly Haven · Search assets

Get news and media data with Poly Haven · Search assets from Alexandria through one Spiral API key. Find free CC0 assets for a render or game: "4k brick PBR textures", "sunset HDRIs", "wooden chair models", or everything in a category or by an author. Use get_asset next for file URLs. It runs in the background and returns structured JSON. Pay as you go, with no subscription.

- Provider: Alexandria
- Category: News & Media
- Runs: In the background
- Returns: json
- Tool id: `alexandria` / `polyhaven-com/graphics-assets/search_assets`
- Page: https://spiral.ai/tools/alexandria/polyhaven-com/graphics-assets/search_assets

## Pricing

$0.00873 per call.

## Limits

- Longest queue wait: 1 hour
- Run deadline: 5 minutes
- Longest run, end to end: 225 minutes
- Largest inline input: 1 MB
- Largest input file: 2 GB
- Largest output: 5 GB

## Input

| Field | Kind | Allowed | Default | Description |
| --- | --- | --- | --- | --- |
| `url` | text |  | — | A library URL (https://polyhaven.com/textures/wood) or an /assets API URL; supplies type and category unless those are given. |
| `sort` | one of | relevance, downloads, newest, name | — | Default relevance with a query, otherwise downloads. |
| `type` | one of | hdris, textures, models, all | — | Asset type; default all. |
| `limit` | number | 1 to 100 | — | Assets per page; default 20. |
| `query` | text |  | — | Words to match in name, id, tags, categories and description. Generic words (free, cc0, model, texture, hdri) are ignored. |
| `author` | text |  | — | Author name, case-insensitive exact match, e.g. Rob Tuytel. |
| `category` | text |  | — | Taxonomy slug path from list_categories (e.g. brick-block, wood/engineered-wood, furniture) or an older flat category (e.g. denim, outdoor). |
| `continuation` | text |  | — | Cursor from a previous call. |

## Example

```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>"
    }
  }'
```

Try it in the Playground: https://spiral.ai/start?provider=alexandria&model=polyhaven-com%2Fgraphics-assets%2Fsearch_assets

## Common questions

### Poly Haven · Search assets

**How much does Poly Haven · Search assets cost?**

$0.00873 per call. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

**How do I use Poly Haven · Search assets through an API?**

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "polyhaven-com/graphics-assets/search_assets"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

**Do I need an account with Alexandria to use Poly Haven · Search assets?**

No. Spiral runs it on its own Alexandria account and charges your Spiral balance.

**Can my AI agent use Poly Haven · Search assets?**

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.

