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

opencode · News & Media

How to Use Openverse related audio in opencode

Openverse related audio returns suggested recordings for a selected audio track, with their metadata and source links. Use it to explore alternatives after finding a promising clip.

Prompts to try with Openverse related audio in opencode

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

Use Openverse related audio for https://openverse.org/audio/8624ba61-57f1-4f98-8a85-ece206c319cf/ and add suggested alternatives to this project’s audio review table with their source links and listed licenses.

Openverse related audioopencode
Try asking
  • Use Openverse related audio to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Openverse related audio and tell me what changed since last week.

  • Check Openverse related audio and summarize what you find in three bullet points.

  • Pull the newest data from Openverse related audio and give me the result as a table.

How to set up Openverse related audio in opencode

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

Use Spiral's MCP server

  1. 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
  2. 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
  3. Check it

    Spiral shows as connected.

    opencode mcp list

Use the Spiral skill

  1. Send opencode 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 Openverse related audio

    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": "openverse-org/audio-assets/related_audio",
        "input": {
          "id": "<id>"
        }
      }'

Then paste one of the prompts above: opencode finds Openverse related audio on Spiral, shows the price and runs it.

Openverse related audio providers and prices

Spiral runs Openverse related audio through Alexandria. Open a card for today's price, with every fee included.

AlexandriaNews & Media
Openverse · Related audio
openverse-org/audio-assets/related_audio

What can you do with Openverse related audio in opencode?

Build an audio candidate list for your project with recording links, creators, and draft credits. A coding agent can turn Openverse records into a review screen or an asset manifest tied to the scenes that need sound.

Build a podcast sound shortlist

Compare indexed collections, search for rain and station ambience, explore suggestions from a promising recording, and inspect the selected clips’ source links and attribution for production review.

Choose sounds for a game prototype

Review available collections, find footsteps and door sounds, explore related recordings, and assemble a candidate list with file links, creators, and licenses for review.

Prepare audio for a classroom lesson

Compare collection coverage, search for birdsong and ocean recordings, inspect related suggestions, and prepare a listening list with original source pages and draft credits.

Research a documentary sound palette

Review indexed collections, search for train and harbor sounds, explore alternatives from selected tracks, and inspect recording metadata before sending candidates to an editor.

Find replacement audio candidates

Explore suggestions from a previously selected track and run a fresh descriptive search. Inspect each candidate’s source and license before approving a replacement.

Questions about Openverse related audio in opencode

Can opencode use Openverse related audio?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Openverse related audio like any built-in tool.

How much does Openverse related audio 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 Openverse related audio in opencode?

No. Spiral runs Openverse related audio on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up Openverse related audio in opencode?

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

Does opencode wait while Openverse related audio runs?

Openverse related audio runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

Does Openverse host the original recordings?

Openverse aggregates metadata for recordings hosted on third-party websites. Its audio records include the original landing page and a file URL.

Does an Openverse listing prove that I can reuse a recording?

No. Openverse explicitly says it does not verify licensing status, so the listed license must be checked against the original source before reuse.

What do the collection totals measure?

They count media items indexed by Openverse from each source. They are catalog counts, so they do not establish the complete size of a source website’s audio collection.

Can I copy the entire catalog through repeated requests?

Openverse’s terms prohibit scraping the catalog. Use the data to find and inspect recordings for a specific project.

Does the timestamp tell me when a recording was published?

The indexing timestamp tells you when Openverse indexed the media. It does not establish the recording’s original publication date.

Get started

Start using Openverse related audio in opencode

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

Paste this into opencode:

Set up opencode

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