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

Grok · Audio

How to Use Stable Audio 3 Medium Text to Audio in Grok

Stable Audio 3 Medium Text to Audio creates instrumental music and sound effects from written descriptions. Unlike Stable Audio 3 Medium Audio to Audio, it needs no source recording and suits drafting new cues, instrument parts, and effects.

Prompts to try with Stable Audio 3 Medium Text to Audio in Grok

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

Use Stable Audio 3 Medium Text to Audio to make a 30-second podcast intro: mellow jazz instrumental, brushed drums, upright bass, warm electric piano, and an unhurried 85 BPM feel.

Stable Audio 3 Medium Text to AudioGrok
Try asking
  • Use Stable Audio 3 Medium Text to Audio to create a 90-second ambient instrumental for a night train scene, with soft synth pads, distant metallic percussion, and a reflective mood.

  • Use Stable Audio 3 Medium Text to Audio to make a 4-second sound of a heavy metal door closing, with a deep impact and a short concrete-room reverberation.

  • Use Stable Audio 3 Medium Text to Audio to create a 20-second solo piano phrase: delicate playing, close recording, slow pacing, and a thoughtful mood.

  • Compose a 30-second upbeat lo-fi track with Stable Audio 3 Medium Text to Audio for a product video.

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

    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/text-to-audio",
        "input": {
          "prompt": "An anthemic Pop Rock instrumental that fills your head with nostalgic thoughtfulness"
        }
      }'

Then paste one of the prompts above: Grok finds Stable Audio 3 Medium Text to Audio on Spiral, shows the price and runs it.

Stable Audio 3 Medium Text to Audio providers and prices

Spiral runs Stable Audio 3 Medium Text to Audio through fal. Open a card for today's price, with every fee included.

falAudio
Stable Audio 3 Medium · Text to Audio
fal-ai/stable-audio-3/medium/text-to-audio

Settings you can ask for

Stable Audio 3 Medium Text to Audio works from your prompt. 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.

Duration1 to 38030

Duration of the generated audio in seconds. The medium model supports up to 380 seconds (~6m20s).

Number of inference steps1 to 1008

Number of sampling steps. Post-trained (distilled) checkpoints look good with the default 8 and gain little from going higher.

Guidance scale0 to 251

Classifier-free guidance scale. Higher values follow the prompt more strictly. Only effective on base (non-distilled) 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.

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

What can you do with Stable Audio 3 Medium Text to Audio in Grok?

Turn a musical idea into an instrumental cue, an instrument phrase, or a sound effect through conversation. Describe the audible details and intended use, then compare different creative directions.

Podcast background music

Create a restrained instrumental bed with sparse percussion and a clear mood, then audition it beneath narration.

Game scene music

Draft ambient exploration cues, tense encounter music, or quiet menu tracks with a defined instrument palette.

Video music sketches

Explore instrumental directions for a rough cut by specifying mood, tempo, instrumentation, and the required cue length.

Solo instrument ideas

Request a bass phrase, guitar texture, or percussion part as material to audition and edit in a composition.

Short sound effects

Create impacts, mechanical sounds, and transition effects with specific sources, actions, and decay characteristics.

Ambient sound design

Develop sustained drones and atmospheric textures for film scenes, installations, or game environments.

Questions about Stable Audio 3 Medium Text to Audio in Grok

Can Grok use Stable Audio 3 Medium Text to Audio?

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

How much does Stable Audio 3 Medium Text to Audio cost in Grok?

$0.04888 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 Text to Audio in Grok?

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

Stable Audio 3 Medium Text to Audio 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 good at?

Instrumental music, ambient backgrounds, individual instrument parts, and sound effects. Useful briefs include a restrained podcast bed, a solo guitar phrase, or a short impact sound.

How long can Stable Audio 3 Medium audio be?

Up to 380 seconds, or 6 minutes and 20 seconds. Match the duration to the material: a brief sound effect usually needs much less time than an instrumental track.

Can Stable Audio 3 Medium sing lyrics or create a voice-over?

It is intended for instrumental music and sound effects, not intelligible singing or speech. You may still hear wordless vocal-like textures.

What should I put in a Stable Audio 3 Medium prompt?

Describe the genre, main instruments, mood, tempo, and recording character. For sound effects, describe the sound source, action, decay, and acoustic space.

Which prompt language works best?

Use English. The model was trained on English descriptions, and the maker warns that other languages underperform.

Get started

Start using Stable Audio 3 Medium Text to Audio 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