[Integrations](https://spiral.ai/integrations) › [Google Antigravity](https://spiral.ai/integrations/antigravity) › [Stable Audio 3 Small SFX Audio Outpainting](https://spiral.ai/integrations/antigravity/stable-audio-3-small-sfx-audio-outpainting)

# How to Use Stable Audio 3 Small SFX Audio Outpainting in Google Antigravity

Stable Audio 3 Small SFX Audio Outpainting extends existing ambience, foley, and sound effects. Unlike Stable Audio 3 Small SFX Audio Inpainting, it adds audio beyond the clip's boundary instead of replacing a selected passage.

|  |  |
| --- | --- |
| Model | Stable Audio 3 Small SFX Audio Outpainting |
| Available through | fal |
| Category | Audio |
| Price | $0.03523 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 Outpainting in Google Antigravity

- Use Stable Audio 3 Small SFX Audio Outpainting to add 20 seconds after assets/audio/rain-window.wav. First check that the source is no longer than 30 seconds; describe steady rain on glass from inside a small room, matching the recording's perspective.
- Use Stable Audio 3 Small SFX Audio Outpainting to extend assets/audio/forest.wav by 30 seconds. Check that the source is at most 60 seconds, and request the same distant birds, leaf rustle, and outdoor recording perspective.
- Use Stable Audio 3 Small SFX Audio Outpainting to add 10 seconds after assets/audio/engine-idle.wav, provided the source is under 30 seconds. Request a steady engine idle at the same apparent distance and use eight sampling steps.
- Use Stable Audio 3 Small SFX Audio Outpainting to continue assets/audio/ship-hum.wav for another 15 seconds. Check that the source is under 60 seconds; describe a sustained low mechanical hum with the same enclosed-room reflections.
- Use Stable Audio 3 Small SFX Audio Outpainting to try a four-second continuation of assets/audio/metal-impact.wav. Confirm the source is under 10 seconds, and describe the existing metallic resonance decaying in the same room.

## How to set up Stable Audio 3 Small SFX Audio Outpainting in Google Antigravity

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

### Use Spiral's MCP server

1. **Open the MCP config**: * Antigravity App: click Customizations, then Installed. In the MCP Servers section, click Copy Config File Path and open that file. * Antigravity IDE: click … at the top of the agent side panel, select MCP Servers, then Manage MCP Servers › View raw config. * Antigravity CLI: edit `~/.gemini/config/mcp_config.json`.

2. **Add the server**: Add Spiral under `mcpServers`:

```json
{
  "mcpServers": {
    "spiral": {
      "serverUrl": "https://api.spiral.ai/mcp"
    }
  }
}
```

3. **Sign in**: In the Antigravity App, open Customizations › Installed. Under MCP Servers, click Authenticate next to Spiral. Sign in to Spiral, pick the organization and click Authorize. Copy the authorization code the browser shows, paste it into Enter authorization code and click Submit. No API key.

### Use the Spiral skill

1. **Send Google Antigravity 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 Outpainting**: 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-outpainting",
    "input": {
      "prompt": "soft strings continue the melody",
      "audio_url": "https://storage.googleapis.com/falserverless/model_tests/diffrythm/rock_en.wav"
    }
  }'
```

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

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

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

- [Stable Audio 3 Small SFX Audio Outpainting · Audio Outpainting Small SFX](https://spiral.ai/tools/fal/fal-ai/stable-audio-3/small/sfx/audio-outpainting) (fal): $0.03523 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 Audio Outpainting in Google Antigravity?

Extend project sound effects to fit longer scenes, game states, and animation timelines. A coding agent can locate source clips, request continuations, and place the results in the project for review.

### Room tone for film edits

Extend an existing interior recording to cover a longer shot. Describe the same ventilation hum, room reflections, and microphone distance.

### Game environment ambience

Continue a recorded forest, cave, or city atmosphere for a longer gameplay passage. Review the transition before adding it to the scene.

### Nature recording extensions

Build a longer background from a short recording of rain, birds, or running water. Keep the requested weather and listening perspective consistent with the source.

### Vehicle and machinery sustains

Extend an engine idle, fan, pump, or mechanical drone to fit an animation. Describe the same operating state and acoustic setting.

### Foley decay experiments

Try a longer resonant tail after a recorded metal impact, door slam, or object drop. Describe the material and room rather than introducing an unrelated event.

### Science fiction sound design

Continue an existing spacecraft hum, electrical texture, or magical effect. Use the recording as the starting point for a longer sound-design passage.

### Podcast scene backgrounds

Extend an existing environmental recording beneath a longer scene, such as harbor water or distant traffic. Keep the completed audio within two minutes.

## Overview

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

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

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

## More Google Antigravity guides

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

## Questions about Stable Audio 3 Small SFX Audio Outpainting in Google Antigravity

**Can Google Antigravity use Stable Audio 3 Small SFX Audio Outpainting?**

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

**How much does Stable Audio 3 Small SFX Audio Outpainting cost in Google Antigravity?**

$0.03523 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 Google Antigravity plan is separate.

**Do I need a fal account to use Stable Audio 3 Small SFX Audio Outpainting in Google Antigravity?**

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

About two minutes: open the MCP config, then add the server, then sign in.

**Does Google Antigravity wait while Stable Audio 3 Small SFX Audio Outpainting runs?**

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

**What does Stable Audio 3 Small SFX Audio Outpainting do?**

It generates a continuation of an existing sound-effect recording. Use it when ambience, foley, or another effect ends before your scene does.

**How long can the audio be?**

Stable Audio 3 Small has a two-minute generation ceiling. Keep the source and requested continuation within 120 seconds total; a 20-second source leaves room for up to 100 seconds of continuation.

**How is outpainting different from inpainting?**

Outpainting extends audio beyond its existing boundary. Stable Audio 3 Small SFX Audio Inpainting replaces or fills a selected passage within the recording.

**How should I describe a continuation?**

Describe a plausible next section of the recording, including its microphone perspective and room sound. For rain against a window, ask for more rain with the same indoor perspective before trying a change in setting.

**Will more sampling steps or stronger guidance improve the result?**

Start with eight sampling steps; higher counts offer little improvement for this post-trained model. Stronger guidance is effective only on base checkpoints, so revise the sound description when a continuation misses your intent.

