[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Stable Audio 3 Small SFX Audio to Audio](https://spiral.ai/integrations/opencode/stable-audio-3-small-sfx-audio-to-audio)

# How to Use Stable Audio 3 Small SFX Audio to Audio in opencode

Use Stable Audio 3 Small SFX Audio to Audio to rework a recording into new sound effects guided by text. Unlike Stable Audio 3 Small SFX Text to Audio, it uses existing audio as its starting point.

|  |  |
| --- | --- |
| Model | Stable Audio 3 Small SFX Audio to Audio |
| Available through | fal |
| Category | Audio |
| Price | $0.0312 per run at the default inputs. |
| Returns | audio |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Stable Audio 3 Small SFX Audio to Audio in opencode

- Use Stable Audio 3 Small SFX Audio to Audio to rework assets/audio/latch.wav into a heavier steel latch closing. Set duration to 3 seconds and init_noise_level to 0.1; save the result as a new take.
- Use Stable Audio 3 Small SFX Audio to Audio to reinterpret assets/audio/impact.wav as a hollow wooden crate hitting a concrete floor. Use a 4-second duration, init_noise_level 0.5, and eight sampling steps; save it for comparison.
- Make a 3-second whoosh with Stable Audio 3 Small SFX Audio to Audio for a menu transition in my app. Save the result in ./assets.
- Create rain on a tin roof with distant thunder with Stable Audio 3 Small SFX Audio to Audio, 20 seconds, for a video background.
- Generate five short UI clicks and confirmation chimes with Stable Audio 3 Small SFX Audio to Audio and tell me what they cost.

## How to set up Stable Audio 3 Small SFX Audio to 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.

```bash
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.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
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.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Stable Audio 3 Small SFX Audio to Audio**: 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": "fal",
    "model": "fal-ai/stable-audio-3/small/sfx/audio-to-audio",
    "input": {
      "prompt": "bossa nova bassline",
      "audio_url": "https://storage.googleapis.com/falserverless/model_tests/diffrythm/rock_en.wav"
    }
  }'
```

Then paste one of the prompts above: opencode finds Stable Audio 3 Small SFX Audio to Audio on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/opencode

## Stable Audio 3 Small SFX Audio to Audio tools and prices

- [Stable Audio 3 Small SFX · Audio to Audio](https://spiral.ai/tools/fal/fal-ai/stable-audio-3/small/sfx/audio-to-audio) (fal): $0.0312 per run at the default inputs.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| negative_prompt |  |  | Text description of qualities to avoid in the output. |
| duration | 1 to 120 | 30 | Duration of the generated audio in seconds. |
| num_inference_steps | 1 to 100 | 8 | Number of sampling steps. Post-trained (distilled) checkpoints look good with the default 8 and gain little from going higher. |
| guidance_scale | 0 to 25 | 1 | Classifier-free guidance scale. Higher values follow the prompt more strictly. Only effective on base (non-distilled) checkpoints. |
| seed |  | — | Random seed for reproducible outputs. Omit for a random seed. |
| enable_prompt_expansion |  | false | If True, the prompt will be expanded using an LLM for more detailed and higher quality results. |

## What can you do with Stable Audio 3 Small SFX Audio to Audio in opencode?

Turn a project's sound brief into effects for game actions, app feedback, and scene atmosphere with Stable Audio 3 Small SFX. A coding agent can inspect the relevant interactions, draft specific descriptions, and organize generated takes for review.

### Game interaction sounds

Create short door slams, chest closures, and item drops. Describe the material, impact, and decay; use a source recording when reworking an existing effect.

### Foley for short films

Make individual drawer thuds, chair scrapes, or footsteps for a scene. Generate from a description or reinterpret a rough recording, then place the selected sounds in the edit.

### Environmental sound beds

Build rain, harbor, or workshop atmosphere for a scene. Describe nearby and distant sound sources, or rework a recording toward the desired setting.

### App feedback sounds

Explore brief mechanical clicks, soft taps, and muted confirmation tones for product prototypes. Start with a description or reshape an existing sound.

### Podcast scene effects

Add a kettle hiss, creaking door, or distant train to an audio story. Keep each effect separate from the spoken track for editing.

### Trailer impacts and transitions

Explore heavy impacts, slowing mechanical sounds, and short metallic tails. Specify the source and processing rather than asking only for a dramatic sound.

### New takes from an existing effect

Rework a recorded latch, impact, or machine sound into alternative takes. Begin with a low noise level when keeping the source recognizable matters.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All opencode guides](https://spiral.ai/integrations/opencode)

## Stable Audio 3 Small SFX Audio to Audio in other agents

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

## More opencode guides

- [Stable Audio 3 Small SFX Audio Outpainting](https://spiral.ai/integrations/opencode/stable-audio-3-small-sfx-audio-outpainting)
- [Stable Audio 3 Small SFX Base Audio Inpainting](https://spiral.ai/integrations/opencode/stable-audio-3-small-sfx-base-audio-inpainting)
- [Stable Audio 3 Small Music Text to Audio](https://spiral.ai/integrations/opencode/stable-audio-3-small-music-text-to-audio)
- [Stable Audio 3 Small SFX Base Audio Outpainting](https://spiral.ai/integrations/opencode/stable-audio-3-small-sfx-base-audio-outpainting)
- [Stable Audio 3 Small Music Outpainting](https://spiral.ai/integrations/opencode/stable-audio-3-small-music-outpainting)
- [Stable Audio 3 Small SFX Base Audio to Audio](https://spiral.ai/integrations/opencode/stable-audio-3-small-sfx-base-audio-to-audio)

## Questions about Stable Audio 3 Small SFX Audio to Audio in opencode

**Can opencode use Stable Audio 3 Small SFX Audio to Audio?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Stable Audio 3 Small SFX Audio to Audio like any built-in tool.

**How much does Stable Audio 3 Small SFX Audio to Audio cost in opencode?**

$0.0312 per run at the default inputs. 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 Stable Audio 3 Small SFX Audio to Audio in opencode?**

No. Spiral runs Stable Audio 3 Small SFX Audio to Audio on its own fal account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Stable Audio 3 Small SFX Audio to Audio in opencode?**

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

**Does opencode wait while Stable Audio 3 Small SFX Audio to Audio runs?**

Stable Audio 3 Small SFX Audio to Audio runs in the background. opencode starts the run, checks on it and gives you the audio when it's ready.

**What is Stable Audio 3 Small SFX best for?**

Use it for sound effects, one-shots, and environmental sound design. Its specialization is sound effects rather than music.

**How long can Stable Audio 3 Small SFX audio be?**

It supports up to 120 seconds. Choose a length that suits the event, such as a few seconds for a slam, rather than stretching a brief effect across two minutes.

**Can Stable Audio 3 Small SFX generate narration or dialogue?**

It is not designed for speech or voice generation. Use it for the effects around a scene and choose a speech model for spoken lines.

**What language should I use for prompts?**

Write descriptions in English. The maker says prompts in other languages underperform.

**How should I describe a sound effect?**

Name the object or source, describe what happens and how the sound decays, then specify the recording character. For example, describe a wooden drawer slamming shut with a heavy thud, a short tail, and close microphone placement in a dry room.

