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

opencode · AudioReleased 2025-04-03

How to Use CassetteAI Sound Effects Generator in opencode

CassetteAI Sound Effects Generator makes short effects for games, videos, and apps from written descriptions. It returns WAV audio up to 30 seconds long and can combine foreground sounds with background ambience.

Prompts to try with CassetteAI Sound Effects Generator in opencode

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

Inspect the door interactions in this game project. Use CassetteAI Sound Effects Generator to create a 3-second heavy wooden door slam for the main entrance, and save it with the other audio assets.

CassetteAI Sound Effects Generatoropencode
Try asking
  • Use CassetteAI Sound Effects Generator to make a 2-second retro power-up cue for this project's pickup interaction. Add it to the asset folder and show me where to audition it.

  • Read this app's notification components. Use CassetteAI Sound Effects Generator to create a 1-second soft confirmation cue for a successful save.

  • Use CassetteAI Sound Effects Generator to create a 20-second forest ambience draft for the woodland level. Describe distant birds over nearby rustling leaves and save the WAV for review.

  • Use CassetteAI Sound Effects Generator to make two separate 3-second impact drafts for this game's crate interaction: hollow wood and ringing metal. Label the files by material.

How to set up CassetteAI Sound Effects Generator 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 CassetteAI Sound Effects Generator

    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": "fal",
        "model": "cassetteai/sound-effects-generator",
        "input": {
          "prompt": "dog barking in the rain",
          "duration": 30
        }
      }'

Then paste one of the prompts above: opencode finds CassetteAI Sound Effects Generator on Spiral, shows the price and runs it.

CassetteAI Sound Effects Generator providers and prices

Spiral runs CassetteAI Sound Effects Generator through fal. Open a card for today's price, with every fee included.

falAudio
CassetteAI · Sound Effects Generator
cassetteai/sound-effects-generator

Settings you can ask for

CassetteAI Sound Effects Generator works from your prompt. Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Duration1 to 30

The duration of the generated SFX in seconds.

Every API field of CassetteAI · Sound Effects Generator is on its tool page: open its card above.

What can you do with CassetteAI Sound Effects Generator in opencode?

Create sound assets for the game or app you are building. A coding agent can use project context to draft descriptions and organize generated WAV files for review.

Game interaction sounds

Create short door, pickup, and power-up sounds to audition during game development.

Interface feedback

Try brief confirmation, notification, and error cues for an app prototype.

Environmental ambience

Generate a forest, rain, or flowing-water bed for a scene lasting up to 30 seconds.

Video Foley drafts

Describe footsteps, a closing door, or an object being handled, then audition the effect against your edit.

Product demonstration effects

Create an opening, clicking, or pouring sound to try beneath a product demonstration.

Layered scene audio

Describe a foreground action over background ambience to generate a combined scene effect.

Sound design comparisons

Generate separate interpretations of an effect by changing its material, action, or distance.

Questions about CassetteAI Sound Effects Generator in opencode

Can opencode use CassetteAI Sound Effects Generator?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run CassetteAI Sound Effects Generator like any built-in tool.

How much does CassetteAI Sound Effects Generator cost in opencode?

$0.013 per generation. 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 a fal account to use CassetteAI Sound Effects Generator in opencode?

No. Spiral runs CassetteAI Sound Effects Generator on its own fal account. You sign in to Spiral once and never paste a key.

How long does it take to set up CassetteAI Sound Effects Generator in opencode?

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

Does opencode wait while CassetteAI Sound Effects Generator runs?

CassetteAI Sound Effects Generator runs in the background. opencode starts the run, checks on it and gives you the audio when it's ready.

What sounds can CassetteAI Sound Effects generate?

Use it for environmental ambience, object sounds, and interface cues. CassetteAI's examples include a door slamming in a cathedral, a retro power-up, and a rainforest at dusk.

How long can a sound effect be?

Each generation can be up to 30 seconds long. For a longer scene, plan separate clips to arrange in your audio editor.

What audio format does it return?

CassetteAI Sound Effects Generator returns a WAV file.

How should I describe a sound?

Name the source, its action, and its distance: for example, a heavy wooden door slamming nearby. Add material and space details when they matter to the sound.

Can it combine several sounds in one clip?

Yes. Describe the main sound and its background separately, such as close footsteps over distant rain.

Get started

Start using CassetteAI Sound Effects Generator 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