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

AlexandriaNews & MediaAvailable now

Poly Haven · Search assets

polyhaven-com/graphics-assets/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.

Pricing

$0.00873 per call.

Limits

Runs
In the background
Returns
json
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

FieldKindDefaultDescription
urltext—

A library URL (https://polyhaven.com/textures/wood) or an /assets API URL; supplies type and category unless those are given.

sortone of
relevance, downloads, newest, name
—

Default relevance with a query, otherwise downloads.

typeone of
hdris, textures, models, all
—

Asset type; default all.

limitnumber
1 to 100
—

Assets per page; default 20.

querytext—

Words to match in name, id, tags, categories and description. Generic words (free, cc0, model, texture, hdri) are ignored.

authortext—

Author name, case-insensitive exact match, e.g. Rob Tuytel.

categorytext—

Taxonomy slug path from list_categories (e.g. brick-block, wood/engineered-wood, furniture) or an older flat category (e.g. denim, outdoor).

continuationtext—

Cursor from a previous call.

Same request in code

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

Frequently asked questions

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.