# Stable Audio 3 Medium MCP and API by Stability AI | FlyMy.AI

> Stable Audio 3 Medium makes stereo music of up to 6 minutes 20 seconds from a text prompt, in MP3, WAV, FLAC and more, at one price per clip.

Page: https://flymy.ai/mcp/models/stable-audio-3-medium-text-to-audio/

MCP / Models / Voice, music and sound

# Stable Audio 3 Medium MCP: stereo music up to 6 minutes

Stable Audio 3 Medium makes stereo music of up to 6 minutes 20 seconds from a text prompt, in MP3, WAV, FLAC and more, at one price per clip. Run it from Claude Code, Codex, Cursor or any MCP client through one FlyMy.AI MCP, or call its API.

[Use Stable Audio 3 Medium](https://flymy.ai/mcp/models/stable-audio-3-medium-text-to-audio/#start) [Inputs and price](https://flymy.ai/mcp/models/stable-audio-3-medium-text-to-audio/#inputs)

No API key, $0.0376 / run, Instrumental music, Stability AI, Commercial use

$ YOUR NEXT RUN

Claude Code, Codex, Cursor, Any agent

## Use Stable Audio 3 Medium in your assistant

Paste this prompt into Claude Code, Codex, Cursor or any agent. It reads the guide and helps you connect.

```
Read https://flymy.ai/skill.md and https://flymy.ai/mcp/models/stable-audio-3-medium-text-to-audio.md. Help me connect the FlyMy.AI MCP to this assistant, then run Stable Audio 3 Medium (flymyai/stable-audio-3-medium-text-to-audio) for this task: Compose calm lo-fi background music for my product demo with Stable Audio 3 Medium.
```

[Open FlyMy.AI](https://app.flymy.ai/new-agent) [Download brief](https://flymy.ai/mcp/models/stable-audio-3-medium-text-to-audio.md)

## What Stable Audio 3 Medium does

Describe the music in prompt, required: genre, mood, instruments and tempo, for example an anthemic pop rock instrumental with a nostalgic feel; negative_prompt lists qualities to keep out, such as distortion or noise. duration is 1 to 380 seconds (30 by default). seed repeats a result and num_inference_steps (1 to 100, 8 by default) rarely needs changing on this distilled model; output_format is mp3 (the default, 192 kbit/s), wav, flac, ogg, opus, m4a or aac. Outputs: audio, the track, and seed. Stability AI's 1.4-billion-parameter model was trained on licensed data. Use it for background music, loops, intros and beds.

It is billed at one flat price per audio, whatever the length. It makes one audio per request. It takes no lyrics (MiniMax Music 3 and Mureka V9.5 make songs with vocals) and no reference track (the Inpainting and Outpainting models rework a track you have), and it makes no speech.

## Stable Audio 3 Medium inputs

Every input of `flymyai/stable-audio-3-medium-text-to-audio` as its live schema lists them. Returns `audio` (array), `seed` (string).

| Input | Type, values and default |
|---|---|
| [#](https://flymy.ai/mcp/models/stable-audio-3-medium-text-to-audio/#input-prompt) `prompt` | string required Describe the music: genre, mood, instruments and tempo, e.g. an anthemic pop rock instrumental with a nostalgic feel |
| [#](https://flymy.ai/mcp/models/stable-audio-3-medium-text-to-audio/#input-negative_prompt) `negative_prompt` | string optional Qualities to keep out of the music, e.g. distortion or noise |
| [#](https://flymy.ai/mcp/models/stable-audio-3-medium-text-to-audio/#input-duration) `duration` | number optional Allowed: 1 to 380 Default: `30` Length in seconds, 1-380 (30 by default); the price is $0.0376 an audio whatever the length |
| [#](https://flymy.ai/mcp/models/stable-audio-3-medium-text-to-audio/#input-seed) `seed` | integer optional Allowed: 0 to 2147483647 Seed for a repeatable result |
| [#](https://flymy.ai/mcp/models/stable-audio-3-medium-text-to-audio/#input-num_inference_steps) `num_inference_steps` | integer optional Allowed: 1 to 100 Default: `8` Sampling steps, 1-100 (8 by default): this distilled model gains little from more |
| [#](https://flymy.ai/mcp/models/stable-audio-3-medium-text-to-audio/#input-output_format) `output_format` | string optional Allowed: mp3, wav, flac, ogg, opus, m4a, aac Default: `mp3` File format: mp3 (the default, 192 kbit/s), lossless wav or flac, or ogg, opus, m4a or aac |

## Ask your agent

Requests to paste as they are, once the FlyMy.AI MCP is connected.

**“Compose calm lo-fi background music for my product demo with Stable Audio 3 Medium.”** runs `flymyai/stable-audio-3-medium-text-to-audio`

**“Use Stable Audio 3 Medium to write an upbeat electronic intro for my podcast.”** runs `flymyai/stable-audio-3-medium-text-to-audio`

**“Make a cinematic orchestral track for a game trailer with Stable Audio 3 Medium.”** runs `flymyai/stable-audio-3-medium-text-to-audio`

## Stable Audio 3 Medium price

$0.0376 per run. A run at the default settings costs $0.0376. Billed to your FlyMy.AI balance; no seats, no subscription and no minimum.

[See usage pricing →](https://flymy.ai/pricing/)

## Call Stable Audio 3 Medium from code

The same model, from an agent or from your own code. Keys stay in your FlyMy.AI account.

### From an agent, through the MCP

The agent calls `get_model_schema`, then `run_model` with:

```
{
  "endpoint_id": "flymyai/stable-audio-3-medium-text-to-audio",
  "input": {
    "prompt": "Warm lo-fi beat with soft piano and light vinyl crackle"
  }
}
```

### From your code, over HTTP

Form fields, not JSON; files go as uploads or public URLs. The answer is a `prediction_id`; read the result at `https://api.flymy.ai/api/v1/flymyai/stable-audio-3-medium-text-to-audio/predict/async/result/?request_id=<prediction_id>`.

```
curl -X POST https://api.flymy.ai/api/v1/flymyai/stable-audio-3-medium-text-to-audio/predict/async/ \
  -H "X-API-KEY: $FLYMYAI_API_KEY" \
  -F 'prompt=Warm lo-fi beat with soft piano and light vinyl crackle'
```

## Questions about Stable Audio 3 Medium

**Do I need a Stability AI API key for Stable Audio 3 Medium?**

No. Stable Audio 3 Medium runs on FlyMy.AI's account, so you need no Stability AI key or plan: sign in to FlyMy.AI once and each run is billed to your FlyMy.AI balance.

**How much does Stable Audio 3 Medium cost?**

$0.0376 per run. There is no subscription or minimum; the price comes from FlyMy.AI billing and was checked on 2026-11-18.

**How do I use Stable Audio 3 Medium in Claude Code, Codex or Cursor?**

Add the FlyMy.AI MCP with one command and sign in, then ask in plain words, for example: "Compose calm lo-fi background music for my product demo with Stable Audio 3 Medium." Your agent reads the inputs with get_model_schema and runs flymyai/stable-audio-3-medium-text-to-audio with run_model.

**What does Stable Audio 3 Medium need as input?**

Stable Audio 3 Medium requires prompt; it also takes 5 optional inputs, each listed on this page with its allowed values and default.

**Can I call Stable Audio 3 Medium from my own code?**

Yes. Send form fields to https://api.flymy.ai/api/v1/flymyai/stable-audio-3-medium-text-to-audio/predict/async/ with your FlyMy.AI API key in the X-API-KEY header.

## More voice, music and sound models

Read text aloud, clone a voice from a short sample, turn lyrics or a prompt into a song, compose instrumentals, make sound effects from a description or for a video, or repair and extend a track.

### Stable Audio 3 Medium Inpainting

Replace a section of your track: mark the seconds, say what should play there, keep the rest.

Audio inpainting / $0.0442 / run

Link: https://flymy.ai/mcp/models/stable-audio-3-medium-audio-inpainting/

### Stable Audio 3 Medium Outpainting

Lengthen a track or add an intro or an ending: new audio before the start or after the end.

Audio extension / $0.0446 / run

Link: https://flymy.ai/mcp/models/stable-audio-3-medium-audio-outpainting/

### Stable Audio 3 Small Music

The lightweight Stable Audio 3: cheap background music and loops of up to 2 minutes.

Instrumental music / $0.0217 / run

Link: https://flymy.ai/mcp/models/stable-audio-3-small-music-text-to-audio/

### Stable Audio 3 Small Music Inpainting

Lightweight music editing: regenerate one marked passage of a track of up to 2 minutes.

Audio inpainting / $0.026 / run

Link: https://flymy.ai/mcp/models/stable-audio-3-small-music-audio-inpainting/

### Stable Audio 3 Small Music Outpainting

Lightweight track extension: add up to 120 seconds of new music before or after your own.

Audio extension / $0.0265 / run

Link: https://flymy.ai/mcp/models/stable-audio-3-small-music-audio-outpainting/

### Stable Audio 3 Small SFX

Impacts, footsteps, weather and ambience beds from a sentence, up to 2 minutes, at one flat price.

Sound effects / $0.0206 / run

Link: https://flymy.ai/mcp/models/stable-audio-3-small-sfx-text-to-audio/

## Go to the source

[Stable Audio 3 Medium in the playground →](https://app.flymy.ai/models/flymyai/stable-audio-3-medium-text-to-audio), [Model endpoints in the docs →](https://docs.flymy.ai/api/models-endpoints), [Every model on FlyMy.AI →](https://flymy.ai/mcp/models/), [Every MCP in the catalog →](https://flymy.ai/mcp/#catalog), [Usage pricing →](https://flymy.ai/pricing/)

From the FlyMy.AI model catalog of 2026-11-18: inputs from the model's live schema, prices from FlyMy.AI billing. Requests are examples to paste, not recorded runs.

---

For agents: the FlyMyAI operating guide (sign up, connect, run models, tools and agents) is https://flymy.ai/skill.md, and https://flymy.ai/llms.txt lists the other pages and the documentation.
