How to Use ambientCG asset collections in opencode
Browse ambientCG collections with their titles and asset counts, including Kitchen and Industrial Manufacturing Facility. Use it to find scene themes before selecting individual assets.
Prompts to try with ambientCG asset collections in opencode
Copy an example into opencode, or ask in your own words.
Use ambientCG asset collections to retrieve collection titles and counts, then add a collection browser that makes Kitchen easy to find.
Use ambientCG asset collections to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from ambientCG asset collections and tell me what changed since last week.
Check ambientCG asset collections and summarize what you find in three bullet points.
Pull the newest data from ambientCG asset collections and give me the result as a table.
How to set up ambientCG asset collections in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- Sign in
Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run ambientCG asset collections
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/list_collections", "input": {} }'
Then paste one of the prompts above: opencode finds ambientCG asset collections on Spiral, shows the price and runs it.
ambientCG asset collections providers and prices
Spiral runs ambientCG asset collections through Alexandria. Open a card for today's price, with every fee included.
What can you do with ambientCG asset collections in opencode?
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.
Maintain a catalog browsing index
Periodically compare category and collection counts with previous results. Search the areas that changed to identify assets worth reviewing.
More on ambientCG asset collections and opencode
Overview
ambientCG asset collections in other agents
Questions about ambientCG asset collections in opencode
Can opencode use ambientCG asset collections?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run ambientCG asset collections like any built-in tool.
How much does ambientCG asset collections cost in opencode?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.
Do I need an Alexandria account to use ambientCG asset collections in opencode?
No. Spiral runs ambientCG asset collections 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 collections in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while ambientCG asset collections runs?
ambientCG asset collections runs in the background. opencode 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.
Start using ambientCG asset collections in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


