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

# How to Use Stable Audio 3 Small Music Outpainting in Gemini

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 Gemini

- Use Stable Audio 3 Small Music Outpainting to extend this 30-second acoustic instrumental to 45 seconds. Continue the fingerpicked guitar with a relaxed, intimate feel.
- Use Stable Audio 3 Small Music Outpainting to add 20 seconds after this 40-second podcast music bed. Keep the soft piano and restrained percussion.
- Use Stable Audio 3 Small Music Outpainting to continue this 25-second electronic cue for another 15 seconds. Ask for a gradual buildup with brighter synths.
- Use Stable Audio 3 Small Music Outpainting to give this 50-second instrumental a 10-second closing passage. Request a quieter arrangement and a gentle ending.
- Use Stable Audio 3 Small Music Outpainting to extend this 20-second jazz sketch to 40 seconds. Continue the brushed drums, upright bass, and warm piano.

## How to set up Stable Audio 3 Small Music Outpainting in Gemini

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

### Use the Gemini connector

1. **Open Connected Apps**: On your computer, go to gemini.google.com. At the bottom, click Settings › Connected Apps. If you don't see Connected Apps, click Personal Intelligence first, then Connected Apps.

2. **Add Spiral as a custom app**: Under Custom apps, click Add a custom app and paste this MCP server URL:

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

3. **Sign in to Spiral and approve**: Follow the on-screen instructions. Spiral opens: sign in, pick the organization and click Authorize. No API key.

### Use the Spiral skill

1. **Send Gemini 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: Gemini 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/gemini

## 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 Gemini?

Turn a short instrumental recording into a longer cue or try a different next section. A chat app can translate your description of mood and instrumentation into a continuation prompt.

### 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 Gemini guides](https://spiral.ai/integrations/gemini)

## 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 CLI](https://spiral.ai/integrations/gemini-cli/stable-audio-3-small-music-outpainting)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/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 Gemini guides

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

## Questions about Stable Audio 3 Small Music Outpainting in Gemini

**Can Gemini use Stable Audio 3 Small Music Outpainting?**

Yes. Add Spiral to Gemini as an MCP server, and Gemini 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 Gemini?**

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

**Do I need a fal account to use Stable Audio 3 Small Music Outpainting in Gemini?**

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 Gemini?**

About two minutes: open Connected Apps, then add Spiral as a custom app, then sign in to Spiral and approve.

**Does Gemini wait while Stable Audio 3 Small Music Outpainting runs?**

Stable Audio 3 Small Music Outpainting runs in the background. Gemini 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.

