[Integrations](https://spiral.ai/integrations) › [Gemini CLI](https://spiral.ai/integrations/gemini-cli) › [ambientCG asset details](https://spiral.ai/integrations/gemini-cli/ambientcg-asset-details)

# How to Use ambientCG asset details in Gemini CLI

Get metadata and download options for one ambientCG asset, including available file sizes and resolutions. Use it to check a known asset before choosing a download.

|  |  |
| --- | --- |
| Model | ambientCG asset details |
| Available through | Alexandria |
| Category | News & Media |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with ambientCG asset details in Gemini CLI

- Use ambientCG asset details for Metal049A and add its available download resolutions, formats, and sizes to our asset manifest.
- Use ambientCG asset details to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from ambientCG asset details and tell me what changed since last week.
- Check ambientCG asset details and summarize what you find in three bullet points.
- Pull the newest data from ambientCG asset details and give me the result as a table.

## How to set up ambientCG asset details in Gemini CLI

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

### Use Spiral's MCP server

1. **Add the server**: Or add it to `~/.gemini/settings.json` yourself:

```bash
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `gemini` and run:

```text
/mcp auth spiral
```

3. **Check it**: In Gemini CLI, run `/mcp`. From your shell:

```bash
gemini mcp list
```

### Use the Spiral skill

1. **Send Gemini CLI 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.

```bash
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 details**: One request; the result comes back by polling or a webhook.

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

Then paste one of the prompts above: Gemini CLI finds ambientCG asset details on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/gemini-cli

## ambientCG asset details tools and prices

- [ambientCG CC0 materials, HDRIs and 3D models · Get asset](https://spiral.ai/tools/alexandria/ambientcg-com/pbr-assets/get_asset) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| id |  | — | Asset id, e.g. Metal049A, Bark016, 3DApple002, DayEnvironmentHDRI114. Give id or url. Pattern: ^\s*[A-Za-z0-9_-]{2,64}\s*$. |
| url |  | — | https://ambientcg.com/view?id=<id> or https://ambientcg.com/a/<id>. Mutually exclusive with id. Pattern: ^https?://. |

## What can you do with ambientCG asset details in Gemini CLI?

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.

### Compare texture download choices

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

### 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.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Gemini CLI guides](https://spiral.ai/integrations/gemini-cli)

## ambientCG asset details in other agents

- [Amp](https://spiral.ai/integrations/amp/ambientcg-asset-details)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/ambientcg-asset-details)
- [Claude](https://spiral.ai/integrations/claude-desktop/ambientcg-asset-details)
- [Claude Code](https://spiral.ai/integrations/claude-code/ambientcg-asset-details)
- [Cline](https://spiral.ai/integrations/cline/ambientcg-asset-details)
- [Codex](https://spiral.ai/integrations/codex/ambientcg-asset-details)
- [Cursor](https://spiral.ai/integrations/cursor/ambientcg-asset-details)
- [Devin](https://spiral.ai/integrations/devin/ambientcg-asset-details)
- [dots](https://spiral.ai/integrations/dots/ambientcg-asset-details)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/ambientcg-asset-details)
- [Gemini](https://spiral.ai/integrations/gemini/ambientcg-asset-details)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/ambientcg-asset-details)
- [goose](https://spiral.ai/integrations/goose/ambientcg-asset-details)
- [Grok](https://spiral.ai/integrations/grok/ambientcg-asset-details)
- [Grok Build](https://spiral.ai/integrations/grok-build/ambientcg-asset-details)
- [Hermes](https://spiral.ai/integrations/hermes/ambientcg-asset-details)
- [Instinct](https://spiral.ai/integrations/instinct/ambientcg-asset-details)
- [Manus](https://spiral.ai/integrations/manus/ambientcg-asset-details)
- [Muse](https://spiral.ai/integrations/muse/ambientcg-asset-details)
- [Muse Code](https://spiral.ai/integrations/muse-code/ambientcg-asset-details)
- [n8n](https://spiral.ai/integrations/n8n/ambientcg-asset-details)
- [Notion](https://spiral.ai/integrations/notion/ambientcg-asset-details)
- [OpenClaw](https://spiral.ai/integrations/openclaw/ambientcg-asset-details)
- [opencode](https://spiral.ai/integrations/opencode/ambientcg-asset-details)
- [Perplexity](https://spiral.ai/integrations/perplexity/ambientcg-asset-details)
- [Raycast](https://spiral.ai/integrations/raycast/ambientcg-asset-details)
- [VS Code](https://spiral.ai/integrations/vscode/ambientcg-asset-details)
- [Windsurf](https://spiral.ai/integrations/windsurf/ambientcg-asset-details)
- [Zapier](https://spiral.ai/integrations/zapier/ambientcg-asset-details)

## More Gemini CLI guides

- [ambientCG asset collections](https://spiral.ai/integrations/gemini-cli/ambientcg-asset-collections)
- [ambientCG asset search](https://spiral.ai/integrations/gemini-cli/ambientcg-asset-search)
- [ambientCG asset categories](https://spiral.ai/integrations/gemini-cli/ambientcg-asset-categories)
- [ccMixter music search](https://spiral.ai/integrations/gemini-cli/ccmixter-music-search)
- [Zockify WoW Forever talent trees](https://spiral.ai/integrations/gemini-cli/zockify-wow-forever-talent-trees)
- [ccMixter track details](https://spiral.ai/integrations/gemini-cli/ccmixter-track-details)

## Questions about ambientCG asset details in Gemini CLI

**Can Gemini CLI use ambientCG asset details?**

Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run ambientCG asset details like any built-in tool.

**How much does ambientCG asset details cost in Gemini CLI?**

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

**Do I need an Alexandria account to use ambientCG asset details in Gemini CLI?**

No. Spiral runs ambientCG asset details 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 details in Gemini CLI?**

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

**Does Gemini CLI wait while ambientCG asset details runs?**

ambientCG asset details runs in the background. Gemini CLI 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.

