[Integrations](https://spiral.ai/integrations) › [Grok](https://spiral.ai/integrations/grok) › [Stable Audio 3 Small SFX Inpainting](https://spiral.ai/integrations/grok/stable-audio-3-small-sfx-inpainting)

# How to Use Stable Audio 3 Small SFX Inpainting in Grok

Stable Audio 3 Small SFX Inpainting replaces a selected section of an existing sound effect while keeping the surrounding audio. Unlike Stable Audio 3 Small Music, it specializes in sound effects rather than music composition.

|  |  |
| --- | --- |
| Model | Stable Audio 3 Small SFX Inpainting |
| Available through | fal |
| Category | Audio |
| Price | $0.03367 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 Inpainting in Grok

- Use Stable Audio 3 Small SFX Inpainting on my attached 10-second door recording. Replace seconds 3 through 5 with a rusty metal gate creaking shut, followed by a hard latch click in an open courtyard.
- Use Stable Audio 3 Small SFX Inpainting on this 20-second forest recording. Replace seconds 8 through 12 with soft leaves rustling in a light breeze and a nearby twig snapping. Match the outdoor atmosphere.
- Use Stable Audio 3 Small SFX Inpainting on my attached 8-second robot cue. Rework seconds 2 through 5 as small servos turning, precise clicks, and a brief rising motor whine. Start with eight sampling steps.
- Use Stable Audio 3 Small SFX Inpainting on this 12-second vehicle recording. Replace seconds 4 through 7 with a heavy truck releasing its air brakes, a strong hiss that fades quickly, recorded from the sidewalk.
- Use Stable Audio 3 Small SFX Inpainting on my attached 6-second transition. Replace seconds 2 through 4 with a close recording of thick paper being folded and set on a wooden desk. Make two alternatives with different random seeds.

## How to set up Stable Audio 3 Small SFX Inpainting in Grok

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

### Use the Grok connector

1. **Add a custom connector**: In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.

```text
https://api.spiral.ai/mcp
```

2. **Sign in to Spiral and approve**: Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.

3. **Check that it is connected**: Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.

### Use the Spiral skill

1. **Send Grok 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 Inpainting**: 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-inpainting",
    "input": {
      "prompt": "punchy kick drum fill",
      "audio_url": "https://storage.googleapis.com/falserverless/model_tests/diffrythm/rock_en.wav",
      "mask_start_seconds": 4,
      "mask_end_seconds": 8
    }
  }'
```

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

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

## Stable Audio 3 Small SFX Inpainting tools and prices

- [Stable Audio 3 Small SFX Audio Inpainting · Audio Inpainting Small SFX](https://spiral.ai/tools/fal/fal-ai/stable-audio-3/small/sfx/audio-inpainting) (fal): $0.03367 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. |
| 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. |
| output_format | mp3, wav, flac, ogg, opus, m4a, aac | mp3 | Container format for the generated audio output. |

## What can you do with Stable Audio 3 Small SFX Inpainting in Grok?

Rework a specific sound in an existing recording by describing what you want to hear. A chat app can help specify the source, action, and acoustics before making an edit for you to audition.

### Replace a game impact

Rework one impact in an existing combat recording, describing the material, weight, and decay while retaining the surrounding action.

### Revise a robot sound

Replace a section of a robot sound cue with servo clicks, motor whine, or a mechanical latch while keeping its opening and ending.

### Rework environmental ambience

Regenerate a short section of an existing rain, wind, or forest recording with a description that matches the surrounding atmosphere.

### Change a Foley action

Replace a door closure, drawer slam, or footstep passage in an existing effects clip. Specify the surface and recording distance.

### Revise a podcast transition

Rework the sound-effect section of an existing transition, such as a paper rustle or mechanical click, while preserving the rest of the clip.

### Audition a different vehicle effect

Replace a passage in an existing vehicle recording with a different engine texture, brake hiss, or horn description.

## Overview

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

## Stable Audio 3 Small SFX Inpainting in other agents

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

## More Grok guides

- [Stable Audio 3 Small SFX Base Text to Audio](https://spiral.ai/integrations/grok/stable-audio-3-small-sfx-base-text-to-audio)
- [Stable Audio 3 Small SFX Text to Audio](https://spiral.ai/integrations/grok/stable-audio-3-small-sfx-text-to-audio)
- [Stable Audio 3 Small SFX Base Audio to Audio](https://spiral.ai/integrations/grok/stable-audio-3-small-sfx-base-audio-to-audio)
- [Universal-2](https://spiral.ai/integrations/grok/universal-2)
- [Stable Audio 3 Small SFX Base Audio Outpainting](https://spiral.ai/integrations/grok/stable-audio-3-small-sfx-base-audio-outpainting)
- [Universal-3 Pro](https://spiral.ai/integrations/grok/universal-3-pro)

## Questions about Stable Audio 3 Small SFX Inpainting in Grok

**Can Grok use Stable Audio 3 Small SFX Inpainting?**

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

**How much does Stable Audio 3 Small SFX Inpainting cost in Grok?**

$0.03367 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 Grok plan is separate.

**Do I need a fal account to use Stable Audio 3 Small SFX Inpainting in Grok?**

No. Spiral runs Stable Audio 3 Small SFX Inpainting 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 Inpainting in Grok?**

About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.

**Does Grok wait while Stable Audio 3 Small SFX Inpainting runs?**

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

**What does Stable Audio 3 Small SFX Inpainting change?**

It regenerates a selected section of an existing recording. Audio outside that section stays intact, so you can replace one effect without rebuilding the whole clip.

**How long can the audio be, and what is its audio resolution?**

Stable Audio 3 Small SFX supports audio up to 120 seconds. Stable Audio 3 uses stereo audio at 44.1 kHz.

**What should I put in a sound-effect prompt?**

Describe the object making the sound, what it does, and how the recording should sound. For example: a heavy wooden door closing with a low thud, recorded close up in a small dry room.

**Will more steps or stronger guidance improve the edit?**

Start with eight sampling steps; higher counts do not necessarily improve this post-trained model. Guidance scale and negative prompts have no effect on post-trained checkpoints, so refine the main description instead.

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

Use English as the documented starting point. The Stable Audio 3 Small SFX model card lists English and does not establish broader language support.

