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

Windsurf · News & Media

How to Use Poly Haven asset categories in Windsurf

Returns Poly Haven's category hierarchy for browsing the asset library. Use it to find the right branch for materials, environments, or props before searching for individual assets.

Prompts to try with Poly Haven asset categories in Windsurf

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

Use Poly Haven asset categories to retrieve the wood hierarchy, then adapt my project's material browser to display the returned categories.

Poly Haven asset categoriesWindsurf
Try asking
  • Use Poly Haven asset categories 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 categories and tell me what changed since last week.

  • Check Poly Haven asset categories and summarize what you find in three bullet points.

  • Pull the newest data from Poly Haven asset categories and give me the result as a table.

How to set up Poly Haven asset categories in Windsurf

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

Use Spiral's MCP server

  1. Add the server

    Open the Customize page from the Agents window and click MCPs. Under This computer, open the config file, or edit it directly: ~/.config/devin/mcp_config.json on macOS and Linux, %APPDATA%\devin\mcp_config.json on Windows. Add this:

    {
      "mcpServers": {
        "spiral": {
          "url": "https://api.spiral.ai/mcp"
        }
      }
    }
  2. Sign in

    Click Authenticate on the Spiral server in Customize › MCPs, or let the agent call Spiral once: your browser opens. Sign in to Spiral, pick the organization and click Authorize. No API key.

    devin mcp login spiral
  3. Check it

    Spiral is listed under This computer in Customize › MCPs. From the terminal:

    devin mcp list

Use the Spiral skill

  1. Send Windsurf 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 Poly Haven asset categories

    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": "alexandria",
        "model": "polyhaven-com/graphics-assets/list_categories",
        "input": {
          "type": "hdris"
        }
      }'

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

Poly Haven asset categories providers and prices

Spiral runs Poly Haven asset categories through Alexandria. Open a card for today's price, with every fee included.

AlexandriaNews & Media
Poly Haven · List categories
polyhaven-com/graphics-assets/list_categories

Settings you can ask for

Ask Windsurf for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Typehdris, textures, or models

Asset type.

Levels1 to 6

Levels below the top (or below parent) to include; default 2.

Every API field of Poly Haven · List categories is on its tool page: open its card above.

What can you do with Poly Haven asset categories in Windsurf?

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.

Questions about Poly Haven asset categories in Windsurf

Can Windsurf use Poly Haven asset categories?

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

How much does Poly Haven asset categories cost in Windsurf?

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

Do I need an Alexandria account to use Poly Haven asset categories in Windsurf?

No. Spiral runs Poly Haven asset categories 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 categories in Windsurf?

About two minutes: add the server, then sign in, then check it.

Does Windsurf wait while Poly Haven asset categories runs?

Poly Haven asset categories runs in the background. Windsurf 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.

Get started

Start using Poly Haven asset categories in Windsurf

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

Paste this into Windsurf:

Set up Windsurf

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