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

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

Stable Audio 3 Small Music Outpainting extends an existing recording with new instrumental music. Unlike Stable Audio 3 Small SFX, it targets music, making it useful for longer backing tracks, additional phrases, and outros.

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

- Use Stable Audio 3 Small Music Outpainting to extend assets/audio/menu.wav from 30 to 60 seconds. Continue its quiet ambient synth arrangement without vocals.
- Use Stable Audio 3 Small Music Outpainting on the project's 40-second demo music cue. Add 20 seconds of the same light electronic groove for the closing screen.
- Use Stable Audio 3 Small Music Outpainting to continue assets/audio/piano-sketch.wav from 20 to 40 seconds. Request another delicate solo piano phrase with room reverb.
- Use Stable Audio 3 Small Music Outpainting on the 45-second trailer music asset. Add a 15-second instrumental outro with fewer drums and a gentle resolution.
- Use Stable Audio 3 Small Music Outpainting to extend the project's 30-second house cue by 15 seconds. Request a rising synth phrase and a stronger drum entrance.

## How to set up Stable Audio 3 Small Music 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 Music 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/music/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 Music Outpainting on Spiral, shows the price and runs it.

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

## Stable Audio 3 Small Music Outpainting tools and prices

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

Extend music assets for a game, app demo, or short video using an existing recording as context. A coding agent can pair the project's timing requirements with a specific instrumental continuation brief.

### Extend a podcast music bed

Continue an existing instrumental bed beneath a longer spoken introduction. Ask for the same instrumentation and restrained energy.

### Finish a short video backing track

Extend a music cue to cover the final shots of a short edit. Describe how the continuation should develop or settle.

### Develop a musical sketch

Use a recorded instrumental idea as context for another phrase. Explore where the melody and arrangement could go next.

### Draft an outro

Continue a cue with a quieter closing section. Request fewer instruments and a gentle resolution, then audition the ending.

### Build an electronic transition

Extend an electronic instrumental with a buildup or drop that fits its existing sound. Use the recording to guide the transition.

### Explore alternative continuations

Start from the same music clip and request different next sections, such as a sparse passage or a fuller arrangement. Compare the musical direction before committing.

## Overview

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

## Stable Audio 3 Small Music Outpainting in other agents

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

## More Google Antigravity guides

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

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

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

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

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

$0.03445 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 Music Outpainting in Google Antigravity?**

No. Spiral runs Stable Audio 3 Small Music 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 Music 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 Music Outpainting runs?**

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

**What does audio outpainting do?**

Stable Audio 3 Small Music Outpainting adds new music beyond an existing recording's endpoint. The source audio and your description guide the continuation.

**How long can the music be?**

Stability AI documents a two-minute generation limit for Stable Audio 3 Small. Plan the source and continuation to fit within 120 seconds rather than assuming you can add two minutes to any recording.

**Can it continue a song with understandable lyrics?**

Stable Audio 3 does not produce intelligible vocals. Use it for instrumental continuations rather than a sung verse with specific words.

**What should I put in a continuation prompt?**

Name the genre, main instruments, rhythm, mood, and intended arrangement. Describe a next section that fits the recording, such as another quiet piano phrase or a gradual electronic build.

**Should I write the prompt in English?**

Yes. Stable Audio 3 was trained on English descriptions, and the maker warns that other languages will underperform.

