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

VS Code · News & Media

How to Use ambientCG asset search in VS Code

Find ambientCG assets and their metadata using descriptive keywords or a scene brief. Use it to discover candidates, then inspect a chosen asset's download options.

Prompts to try with ambientCG asset search in VS Code

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

Use ambientCG asset search to find metal materials, then write a shortlist of returned identifiers and titles into the project's scene manifest.

ambientCG asset searchVS Code
Try asking
  • Use ambientCG asset search to find surfaces in the Kitchen collection and populate this project's scene-planning view with the returned candidates.

  • Use ambientCG asset search to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from ambientCG asset search and tell me what changed since last week.

  • Check ambientCG asset search and summarize what you find in three bullet points.

How to set up ambientCG asset search in VS Code

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

Use Spiral's MCP server

  1. Add the hosted server

    Use Add to VS Code on the console's Agents & MCP page, or run:

    code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}'
  2. Sign in

    VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.

Use the Spiral skill

  1. Send VS 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 ambientCG asset search

    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": "ambientcg-com/pbr-assets/search_assets",
        "input": {
          "q": "<q>"
        }
      }'

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

ambientCG asset search providers and prices

Spiral runs ambientCG asset search through Alexandria. Open a card for today's price, with every fee included.

AlexandriaNews & Media

Settings you can ask for

Ask VS Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Sortpopular, latest, downloads, oldest, random, or alphabet

Default popular.

Limit1 to 50

Assets per page, default 20, max 50.

Offseta number from 0

Assets to skip; pass next_offset for the next page.

Techniquehdri-bracketed-panorama, hdri-bracketed-panorama-horizon-clearing, hdri-panorama-procedural, hdri-bracketed-element, surface-photogrammetry, surface-fully-procedural, surface-approximated, surface-photometric-stereo and 4 more

Creation technique.

Every API field of ambientCG CC0 materials, HDRIs and 3D models · Search assets is on its tool page: open its card above.

What can you do with ambientCG asset search in VS Code?

Build a scene asset picker with ambientCG categories, collection titles, and searchable asset records. Your coding agent can turn selected assets and their download choices into a manifest used by the project.

Plan a kitchen visualization

Browse material categories and the Kitchen collection, search for surfaces that suit the scene, and inspect download options for the selected assets.

Source an industrial game environment

Start with the Industrial Manufacturing Facility collection and relevant material categories. Find surfaces for the level, then check each selected asset's download options.

Prepare assets for a rendering class

Build an exercise around a named collection, explain the available categories, and shortlist assets with download choices students can compare.

Build a scene asset manifest

Use categories and collections to organize a scene brief. Search for candidates and attach the selected asset identifiers and download options to the production manifest.

Add browsing to an asset picker

Present ambientCG category names, collection titles, and asset counts so artists can browse before searching for individual assets.

Compare texture download choices

Find candidate materials, then compare the resolutions, formats, and file sizes offered for the selected assets before downloading.

Maintain a catalog browsing index

Periodically compare category and collection counts with previous results. Search the areas that changed to identify assets worth reviewing.

Replace a scene's metal surface

Search for metal materials suited to the scene, then inspect known candidates such as Metal049A for usable download packages.

Questions about ambientCG asset search in VS Code

Can VS Code use ambientCG asset search?

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

How much does ambientCG asset search cost in VS 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 VS Code plan is separate.

Do I need an Alexandria account to use ambientCG asset search in VS Code?

No. Spiral runs ambientCG 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 ambientCG asset search in VS Code?

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

Does VS Code wait while ambientCG asset search runs?

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

What is the difference between an ambientCG category and a collection?

Categories organize assets by subjects and asset types, such as Metal materials. Collections organize named sets such as Kitchen and Industrial Manufacturing Facility, and both return asset counts.

How much content is in an ambientCG collection?

Collection sizes differ. The retrieved catalog response listed 116 assets in Kitchen and 110 in Industrial Manufacturing Facility.

Does ambientCG provide different download resolutions?

Yes. For example, Metal049A offers 1K, 2K, 4K, and 8K downloads in JPG and PNG ZIP packages, with a size shown for each download.

Why can a descriptive ambientCG search return few results?

ambientCG combines search keywords with AND, so every added keyword narrows the match. Search for a broad material first, then add the surface detail you need.

Get started

Start using ambientCG asset search in VS Code

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

Paste this into VS Code:

Set up VS Code

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