[Integrations](https://spiral.ai/integrations) › [Google Antigravity](https://spiral.ai/integrations/antigravity) › [Stable Audio 2.5 Text to Audio](https://spiral.ai/integrations/antigravity/stable-audio-2-5-text-to-audio)

# How to Use Stable Audio 2.5 Text to Audio in Google Antigravity

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.

|  |  |
| --- | --- |
| Model | Stable Audio 2.5 Text to Audio |
| Available through | fal |
| Category | Audio |
| Price | $0.26 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 2.5 Text to Audio in Google Antigravity

- 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 Google Antigravity

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

### Use Spiral's MCP server

1. **Open the MCP config**: * Antigravity App: click Customizations, then Installed. In the MCP Servers section, click Copy Config File Path and open that file. * Antigravity IDE: click … at the top of the agent side panel, select MCP Servers, then Manage MCP Servers › View raw config. * Antigravity CLI: edit `~/.gemini/config/mcp_config.json`.

2. **Add the server**: Add Spiral under `mcpServers`:

```json
{
  "mcpServers": {
    "spiral": {
      "serverUrl": "https://api.spiral.ai/mcp"
    }
  }
}
```

3. **Sign in**: In the Antigravity App, open Customizations › Installed. Under MCP Servers, click Authenticate next to Spiral. Sign in to Spiral, pick the organization and click Authorize. Copy the authorization code the browser shows, paste it into Enter authorization code and click Submit. No API key.

### Use the Spiral skill

1. **Send Google Antigravity 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 2.5 Text to Audio**: 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-25/text-to-audio",
    "input": {
      "prompt": "A beautiful piano arpeggio grows into a grand orchestral climax"
    }
  }'
```

Then paste one of the prompts above: Google Antigravity finds Stable Audio 2.5 Text to Audio on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/antigravity

## Stable Audio 2.5 Text to Audio tools and prices

- [Stable Audio 2.5 · Text to Audio](https://spiral.ai/tools/fal/fal-ai/stable-audio-25/text-to-audio) (fal): $0.26 per run at the default inputs.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| seconds_total | 1 to 190 | 190 | The duration of the audio clip to generate |
| num_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 |  | — |  |

## What can you do with Stable Audio 2.5 Text to Audio in Google Antigravity?

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.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All Google Antigravity guides](https://spiral.ai/integrations/antigravity)

## Stable Audio 2.5 Text to Audio in other agents

- [Amp](https://spiral.ai/integrations/amp/stable-audio-2-5-text-to-audio)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/stable-audio-2-5-text-to-audio)
- [Claude](https://spiral.ai/integrations/claude-desktop/stable-audio-2-5-text-to-audio)
- [Claude Code](https://spiral.ai/integrations/claude-code/stable-audio-2-5-text-to-audio)
- [Cline](https://spiral.ai/integrations/cline/stable-audio-2-5-text-to-audio)
- [Codex](https://spiral.ai/integrations/codex/stable-audio-2-5-text-to-audio)
- [Cursor](https://spiral.ai/integrations/cursor/stable-audio-2-5-text-to-audio)
- [Devin](https://spiral.ai/integrations/devin/stable-audio-2-5-text-to-audio)
- [dots](https://spiral.ai/integrations/dots/stable-audio-2-5-text-to-audio)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/stable-audio-2-5-text-to-audio)
- [Gemini](https://spiral.ai/integrations/gemini/stable-audio-2-5-text-to-audio)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/stable-audio-2-5-text-to-audio)
- [goose](https://spiral.ai/integrations/goose/stable-audio-2-5-text-to-audio)
- [Grok](https://spiral.ai/integrations/grok/stable-audio-2-5-text-to-audio)
- [Grok Build](https://spiral.ai/integrations/grok-build/stable-audio-2-5-text-to-audio)
- [Hermes](https://spiral.ai/integrations/hermes/stable-audio-2-5-text-to-audio)
- [Instinct](https://spiral.ai/integrations/instinct/stable-audio-2-5-text-to-audio)
- [Manus](https://spiral.ai/integrations/manus/stable-audio-2-5-text-to-audio)
- [Muse](https://spiral.ai/integrations/muse/stable-audio-2-5-text-to-audio)
- [Muse Code](https://spiral.ai/integrations/muse-code/stable-audio-2-5-text-to-audio)
- [n8n](https://spiral.ai/integrations/n8n/stable-audio-2-5-text-to-audio)
- [Notion](https://spiral.ai/integrations/notion/stable-audio-2-5-text-to-audio)
- [OpenClaw](https://spiral.ai/integrations/openclaw/stable-audio-2-5-text-to-audio)
- [opencode](https://spiral.ai/integrations/opencode/stable-audio-2-5-text-to-audio)
- [Perplexity](https://spiral.ai/integrations/perplexity/stable-audio-2-5-text-to-audio)
- [Raycast](https://spiral.ai/integrations/raycast/stable-audio-2-5-text-to-audio)
- [VS Code](https://spiral.ai/integrations/vscode/stable-audio-2-5-text-to-audio)
- [Windsurf](https://spiral.ai/integrations/windsurf/stable-audio-2-5-text-to-audio)
- [Zapier](https://spiral.ai/integrations/zapier/stable-audio-2-5-text-to-audio)

## More Google Antigravity guides

- [Stable Audio 2.5 Inpaint](https://spiral.ai/integrations/antigravity/stable-audio-2-5-inpaint)
- [Stable Audio 3 Medium Audio Inpainting](https://spiral.ai/integrations/antigravity/stable-audio-3-medium-audio-inpainting)
- [Stable Audio 2.5 Audio to Audio](https://spiral.ai/integrations/antigravity/stable-audio-2-5-audio-to-audio)
- [Stable Audio 3 Medium Audio Outpainting](https://spiral.ai/integrations/antigravity/stable-audio-3-medium-audio-outpainting)
- [Sonilo v1.1 Video to Sound Effects](https://spiral.ai/integrations/antigravity/sonilo-v1-1-video-to-sound-effects)
- [Stable Audio 3 Medium Audio to Audio](https://spiral.ai/integrations/antigravity/stable-audio-3-medium-audio-to-audio)

## Questions about Stable Audio 2.5 Text to Audio in Google Antigravity

**Can Google Antigravity use Stable Audio 2.5 Text to Audio?**

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

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

**Do I need a fal account to use Stable Audio 2.5 Text to Audio in Google Antigravity?**

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 Google Antigravity?**

About two minutes: open the MCP config, then add the server, then sign in.

**Does Google Antigravity wait while Stable Audio 2.5 Text to Audio runs?**

Stable Audio 2.5 Text to Audio runs in the background. Google Antigravity 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.

