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

Grok · Audio

How to Use Stable Audio 3 Medium Base Audio Outpainting in Grok

Extend existing music or sound recordings with a text-guided continuation. Unlike Stable Audio 3 Medium, Stable Audio 3 Medium Base Audio Outpainting uses the pre-trained checkpoint, which needs about 50 sampling steps.

Prompts to try with Stable Audio 3 Medium Base Audio Outpainting in Grok

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

Use Stable Audio 3 Medium Base Audio Outpainting to add 20 seconds after my attached 30-second podcast music bed. Request warm electric piano, brushed drums, and a quiet, reflective mood.

Stable Audio 3 Medium Base Audio OutpaintingGrok
Try asking
  • Use Stable Audio 3 Medium Base Audio Outpainting to extend this 15-second rain recording to 45 seconds. Request steady rainfall with a soft, distant rumble and no voices.

  • Use Stable Audio 3 Medium Base Audio Outpainting to continue my attached 40-second guitar instrumental for another 15 seconds. Request delicate fingerpicking and a gentle acoustic ending.

  • Use Stable Audio 3 Medium Base Audio Outpainting to add 10 seconds after this 20-second electronic drone. Request a low sustained tone with a slow, dark decay, using about 50 sampling steps.

  • Use Stable Audio 3 Medium Base Audio Outpainting to extend this 60-second background track by 30 seconds. Request soft piano and strings with restrained energy, starting with prompt guidance around 7.

How to set up Stable Audio 3 Medium Base Audio Outpainting 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.

    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.

    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 Medium 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/medium/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: Grok finds Stable Audio 3 Medium Base Audio Outpainting on Spiral, shows the price and runs it.

Stable Audio 3 Medium Base Audio Outpainting providers and prices

Spiral runs Stable Audio 3 Medium 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 Medium Base Audio Outpainting works from your prompt and audio URL. Ask Grok 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 3800

Seconds of new audio to generate before the source audio.

Extend seconds after0 to 3800

Seconds of new audio to generate after the source audio.

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

What can you do with Stable Audio 3 Medium Base Audio Outpainting in Grok?

Turn a short music or sound recording into a longer cue for a podcast, video, or scene. Describe the added section in English, including its instruments or sound sources and the mood you want.

Longer podcast music beds

Extend an existing instrumental bed to cover a longer introduction or transition. Describe a sparse arrangement that leaves room for the host.

Background music for product demos

Continue an existing music cue when a screen recording runs longer than planned. Request the same instruments and mood for the added section.

Game scene ambience

Extend a short environmental recording into a longer background bed for a game scene. Describe the sound source and atmosphere to guide the continuation.

Instrumental phrase development

Continue a recorded musical idea with another phrase. Try descriptions of the lead instrument, accompaniment, and desired energy.

Longer sound effect tails

Extend a recorded drone, rumble, or sustained effect for a longer shot. Describe how the sound should develop through the added section.

Alternative music endings

Explore different continuations of the same instrumental recording, such as a restrained piano ending or a fuller percussion section. Compare the results before choosing an edit.

Questions about Stable Audio 3 Medium Base Audio Outpainting in Grok

Can Grok use Stable Audio 3 Medium Base Audio Outpainting?

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

How much does Stable Audio 3 Medium Base Audio Outpainting cost in Grok?

$0.07202 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 Medium Base Audio Outpainting in Grok?

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

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

What is Stable Audio 3 Medium Base Audio Outpainting useful for?

It extends an existing stereo recording with new audio guided by a description. Suggested uses include longer instrumental beds, additional musical phrases, and extended soundscapes.

How is Medium Base different from Stable Audio 3 Medium?

Medium Base is the pre-trained checkpoint that Stability AI positions for fine-tuning. Its inference guidance calls for about 50 sampling steps, while the post-trained checkpoint uses eight.

How long can the audio be?

Stability AI documents a Medium track limit of 6 minutes 20 seconds, or 380 seconds. Plan the source recording and its extension within that total.

Can it generate narration or dialogue?

Stable Audio 3 is not designed for speech or voice generation. Use it for music and sound continuation rather than spoken scripts.

Which language should I use for descriptions?

Use English. Stability AI says the models were trained on English descriptions and that other languages underperform.

Get started

Start using Stable Audio 3 Medium Base Audio Outpainting in Grok

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

Paste this into Grok:

Set up Grok

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