How to Use Stable Audio 2.5 Text to Audio in Muse Code
Stable Audio 2.5 Text to Audio creates music and sound effects from a written description. Unlike Stable Audio 2.5 Audio to Audio, it starts without a recording, making it useful for drafting a soundtrack from a creative brief.
Prompts to try with Stable Audio 2.5 Text to Audio in Muse Code
Copy an example into Muse Code, or ask in your own words.
Read the game's title-screen brief and use Stable Audio 2.5 Text to Audio to create a 45-second instrumental: ambient electronic music, soft synth chords, restrained bass, slow tempo, and a curious mood.
Read the boss encounter description and use Stable Audio 2.5 Text to Audio to draft a 90-second instrumental with driving percussion, distorted bass, tense strings, and a fast tempo.
Compose a 30-second upbeat lo-fi track with Stable Audio 2.5 Text to Audio for a product video. Save the result in ./assets.
Make a calm piano loop with Stable Audio 2.5 Text to Audio for a meditation app.
Create a cinematic 20-second intro sting with Stable Audio 2.5 Text to Audio.
How to set up Stable Audio 2.5 Text to Audio in Muse Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Install Muse Code
curl -fsSL https://dev.meta.ai/install.sh | bash
- Ask Muse to add the server
Start muse and ask:
Add the Spiral MCP server at https://api.spiral.ai/mcp
- Sign in
In your terminal, run:
muse mcp login spiral
Use the Spiral skill
- Send Muse Code this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run Stable Audio 2.5 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-25/text-to-audio", "input": { "prompt": "A beautiful piano arpeggio grows into a grand orchestral climax" } }'
Then paste one of the prompts above: Muse Code finds Stable Audio 2.5 Text to Audio on Spiral, shows the price and runs it.
Stable Audio 2.5 Text to Audio providers and prices
Spiral runs Stable Audio 2.5 Text to Audio through fal. Open a card for today's price, with every fee included.
Settings you can ask for
Stable Audio 2.5 Text to Audio works from your prompt. Ask Muse Code for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Seconds total | 1 to 190 | 190 | The duration of the audio clip to generate |
| Number of inference steps | 4 to 8 | 8 | The number of steps to denoise the audio for |
| Guidance scale | 1 to 25 | 1 | How strictly the diffusion process adheres to the prompt text (higher values make your audio closer to your prompt). |
| Seed | a whole number |
Every API field of Stable Audio 2.5 · Text to Audio is on its tool page: open its card above.
What can you do with Stable Audio 2.5 Text to Audio in Muse Code?
Turn a project's creative brief into soundtrack drafts, alternate treatments, or revised passages with Stable Audio 2.5. A coding agent can use scene descriptions and existing audio assets to prepare concrete musical directions for review.
Music for short ads
Draft a cue from a brief, restyle an existing recording, or regenerate a passage for a different edit. Describe the instruments and mood that should support the product.
Game menu music
Develop a restrained instrumental cue for a title screen. Start from a written direction, reinterpret a demo, or revise a section of an existing cue.
Boss battle scoring
Explore percussion, bass, and orchestral or electronic instrumentation for a combat cue. Generate a first take, restyle a recording, or replace a passage that needs a different energy level.
Short video soundtracks
Create a musical direction for a travel film, product demonstration, or opening sequence. Use text for a first draft, source audio for reinterpretation, or inpainting for a revised continuation.
Podcast intro and outro cues
Develop brief instrumental openings and endings with a clear mood and instrument palette. Draft from text, restyle a recorded theme, or regenerate its closing passage.
More on Stable Audio 2.5 Text to Audio and Muse Code
Overview
Stable Audio 2.5 Text to Audio in other agents
Questions about Stable Audio 2.5 Text to Audio in Muse Code
Can Muse Code use Stable Audio 2.5 Text to Audio?
Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run Stable Audio 2.5 Text to Audio like any built-in tool.
How much does Stable Audio 2.5 Text to Audio cost in Muse Code?
$0.26 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 Muse Code plan is separate.
Do I need a fal account to use Stable Audio 2.5 Text to Audio in Muse Code?
No. Spiral runs Stable Audio 2.5 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 2.5 Text to Audio in Muse Code?
About two minutes: install Muse Code, then ask Muse to add the server, then sign in.
Does Muse Code wait while Stable Audio 2.5 Text to Audio runs?
Stable Audio 2.5 Text to Audio runs in the background. Muse Code starts the run, checks on it and gives you the audio when it's ready.
How long can Stable Audio 2.5 audio be?
A single output can run up to 190 seconds, or 3 minutes 10 seconds. Plan longer productions as separate cues.
What audio quality does Stable Audio 2.5 produce?
Stable Audio 2.5 produces 44.1 kHz stereo audio. That describes the sample rate and channels; listen to each result before choosing a production take.
What should I include in a Stable Audio 2.5 prompt?
Describe the genre, instruments, mood, and tempo, then add texture such as soft percussion or a dry guitar recording. Give it a concrete musical target instead of a broad request like background music.
Can Stable Audio 2.5 make music that develops over time?
Yes. Stability describes improved support for compositions with an introduction, development, and outro, so it is useful for cues that need an arc rather than one repeating section.
Why does my Stable Audio 2.5 result miss the sound I wanted?
Make the acoustic description more specific: name the instruments, musical style, mood, and texture. Treat each result as a draft and refine the description around what you hear.
Start using Stable Audio 2.5 Text to Audio in Muse Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Muse Code:
set up https://spiral.ai/SKILL.md


