Spiral gives your agent every tool with one account. Browse the tools →

Gemini · Audio

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

Stable Audio 3 Small Music Base Audio Outpainting extends existing music with text-guided continuation. Unlike Stable Audio 3 Small Music, it uses the pre-trained checkpoint intended for fine-tuning, with guidance and negative prompts available to shape results.

Prompts to try with Stable Audio 3 Small Music Base Audio Outpainting in Gemini

Copy an example into Gemini, or ask in your own words.

Use Stable Audio 3 Small Music Base Audio Outpainting to add 15 seconds after my 30-second piano recording. Continue with gentle piano phrases and the same quiet room sound.

Stable Audio 3 Small Music Base Audio OutpaintingGemini
Try asking
  • Use Stable Audio 3 Small Music Base Audio Outpainting to extend this 40-second ambient cue by 20 seconds for a final film shot. Request sustained synths, sparse notes, and low energy.

  • Use Stable Audio 3 Small Music Base Audio Outpainting to add a 10-second closing passage to this 25-second podcast music bed. Keep the brushed drums and electric piano, with a softer ending.

  • Use Stable Audio 3 Small Music Base Audio Outpainting to continue my 20-second acoustic guitar sketch for 15 seconds. Ask for delicate fingerpicking and the same warm recording sound, using about 50 sampling steps.

  • Use Stable Audio 3 Small Music Base Audio Outpainting to try three 15-second continuations of this 30-second instrumental beat. Keep its bass and drums, and vary how the keyboard phrase develops.

How to set up Stable Audio 3 Small Music Base Audio 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:

    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.

    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 Base Audio Outpainting

    One request; the result comes back by polling or a webhook.

    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/base/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 Base Audio Outpainting on Spiral, shows the price and runs it.

Stable Audio 3 Small Music Base Audio Outpainting providers and prices

Spiral runs Stable Audio 3 Small Music Base Audio Outpainting through fal. Open a card for today's price, with every fee included.

falAudio

Settings you can ask for

Stable Audio 3 Small Music Base Audio Outpainting works from your prompt and audio URL. Ask Gemini for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Negative promptwhat to leave out, in words

Text description of qualities to avoid in the output.

Number of inference steps1 to 10050

Number of sampling steps. Base (non-distilled) checkpoints typically need ~50 for good quality.

Guidance scale0 to 257

Classifier-free guidance scale. Higher values follow the prompt more strictly; ~7.0 is a good starting point for base checkpoints.

Seeda whole number

Random seed for reproducible outputs. Omit for a random seed.

Enable prompt expansionon or offoff

If True, the prompt will be expanded using an LLM for more detailed and higher quality results.

Output formatmp3, wav, flac, ogg, opus, m4a, or aacmp3

Container format for the generated audio output.

Extend seconds before0 to 1200

Seconds of new audio to generate before the source audio.

Extend seconds after0 to 1200

Seconds of new audio to generate after the source audio.

Every API field of Stable Audio 3 Small Music Base Audio Outpainting · Audio Outpainting Small Music Base is on its tool page: open its card above.

What can you do with Stable Audio 3 Small Music Base Audio Outpainting in Gemini?

Turn a short instrumental recording into a longer cue for a video, podcast, or composition sketch. A chat agent can help describe the next passage and compare possible musical directions.

Cover extra video footage

Extend an existing instrumental cue to cover a few more shots. Ask for the same instrumentation and energy, then review the join against the picture.

Try a podcast outro

Continue a short music bed into a quieter closing passage for credits. Describe the instruments that should carry the ending.

Lengthen a game music cue

Add another passage to an exploration or menu cue. Request a restrained continuation that fits the source rather than a sudden change of genre.

Develop a composition sketch

Use a short instrumental idea as the starting point for a possible next phrase. Compare takes for musical direction before arranging the piece further.

Extend a solo instrument passage

Continue a guitar or piano recording with a request for matching playing technique and room sound. Treat the result as a take to audition.

Hold a film scene's mood

Continue an ambient score beneath a lingering final shot. Describe a sparse arrangement and the source's existing texture to guide the added passage.

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

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

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

How much does Stable Audio 3 Small Music Base Audio Outpainting cost in Gemini?

$0.04407 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 Base Audio Outpainting in Gemini?

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

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

What is audio outpainting useful for?

It adds a continuation to an existing recording. Use it to try a longer instrumental passage, an outro, or extra background music for an edit.

How long can Stable Audio 3 Small generate?

Stability AI documents up to two minutes for Small. Keep the source and requested continuation within that length when planning a short music edit.

Can it sing lyrics or generate narration?

Stable Audio 3 is intended for instrumental work rather than intelligible singing or speech. Vocal-like sounds can still appear, so listen for them when reviewing instrumental takes.

How should I describe a continuation?

Write in English and describe the genre, instruments, rhythm, mood, and production sound. Keep the requested change musically plausible for the source recording.

What does Base mean?

It identifies the pre-trained checkpoint that Stability AI intended for fine-tuning. Stability AI recommends Stable Audio 3 Small Music for direct generation; the base checkpoint typically needs around 50 sampling steps.

Get started

Start using Stable Audio 3 Small Music Base Audio Outpainting in Gemini

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Gemini:

Set up Gemini

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options