# Stable Audio 3 Medium Outpainting - API, Playground & Pricing

> Run Stable Audio 3 Medium Outpainting by Stability AI via API, Playground, or MCP from $0.0446 per run - no provider API key needed. Lengthen a track or add an intro or an ending: new audio before the start or after the end.

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

Models / Music

Stable Audio 3 Medium Outpainting extends your track after its end or before its start with new audio from a text prompt. Run it in the playground, call its API, or let Claude Code, Codex or Cursor run it through one FlyMy.AI MCP. No Stability AI API key: runs are billed to your FlyMy.AI balance.

[▶ Try in Playground](https://app.flymy.ai/models/flymyai/stable-audio-3-medium-audio-outpainting) [<> Get API](https://flymy.ai/models/stable-audio-3-medium-audio-outpainting/#api)

**Provider**

[Stability AI](https://flymy.ai/models/provider/stability-ai/)

**Category**

[Music](https://flymy.ai/models/music/) / Audio extension

**Price**

$0.0446 / run ($0.0446 at the defaults)

**Returns**

`audio`, `seed`

**Commercial use**

Allowed

**Model ID**

`flymyai/stable-audio-3-medium-audio-outpainting`

![Stable Audio 3 Medium Outpainting by Stability AI: audio extension sample, extend a track](https://flymy.ai/img/models/stable-audio-3-medium-audio-outpainting.jpg)

Stable Audio 3 Medium Outpainting sample from the FlyMy.AI catalog

$ YOUR NEXT RUN

Claude Code, Codex, Cursor, Any agent

## Use Stable Audio 3 Medium Outpainting 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/models/stable-audio-3-medium-audio-outpainting.md. Help me connect the FlyMy.AI MCP to this assistant, then run Stable Audio 3 Medium Outpainting (flymyai/stable-audio-3-medium-audio-outpainting) for this task: Add 20 seconds of new music after the end of the track I attach with Stable Audio 3 Medium Outpainting: the same groove building to a big finish.
```

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

## What Stable Audio 3 Medium Outpainting does

Send audio, your track as a link or an upload, and say how much to add: extend_seconds_after adds new audio after the end (10 seconds by default) and extend_seconds_before adds it before the start (0 by default), each up to 380 seconds, and at least one must be above 0. Say in prompt what the new part should sound like, for example the same groove building to a big finish, and in negative_prompt what to keep out. 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 result of the extension, and seed. It is Stability AI's track-extension model with 1.4 billion parameters: use it to lengthen a loop, add an ending or an intro, or carry a theme further.

It is billed at one flat price per run. It does not make a track from text alone (Stable Audio 3 Medium does) and does not rework a part inside your track (Stable Audio 3 Medium Inpainting does).

Send only audio you have the right to use.

## Stable Audio 3 Medium Outpainting inputs

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

| Input | Type, values and default |
|---|---|
| [#](https://flymy.ai/models/stable-audio-3-medium-audio-outpainting/#input-prompt) `prompt` | string required What the new part of the track should sound like, e.g. the same groove building to a big finish |
| [#](https://flymy.ai/models/stable-audio-3-medium-audio-outpainting/#input-audio) `audio` | file required Allowed: audio file, as a URL or upload The track to extend, a link or an upload; send only audio you have the right to use |
| [#](https://flymy.ai/models/stable-audio-3-medium-audio-outpainting/#input-extend_seconds_before) `extend_seconds_before` | number optional Allowed: 0 to 380 Default: `0` Seconds of new audio to make before the start of your audio (0-380, 0 by default) |
| [#](https://flymy.ai/models/stable-audio-3-medium-audio-outpainting/#input-extend_seconds_after) `extend_seconds_after` | number optional Allowed: 0 to 380 Default: `10` Seconds of new audio to make after the end of your audio (0-380, 10 by default); at least one of the two must be above 0 |
| [#](https://flymy.ai/models/stable-audio-3-medium-audio-outpainting/#input-negative_prompt) `negative_prompt` | string optional Qualities to keep out of the music, e.g. distortion or noise |
| [#](https://flymy.ai/models/stable-audio-3-medium-audio-outpainting/#input-seed) `seed` | integer optional Allowed: 0 to 2147483647 Seed for a repeatable result |
| [#](https://flymy.ai/models/stable-audio-3-medium-audio-outpainting/#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/models/stable-audio-3-medium-audio-outpainting/#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.

**“Add 20 seconds of new music after the end of the track I attach with Stable Audio 3 Medium Outpainting: the same groove building to a big finish.”** runs `flymyai/stable-audio-3-medium-audio-outpainting`

**“Use Stable Audio 3 Medium Outpainting to make an intro: add 8 seconds before the start of my loop.”** runs `flymyai/stable-audio-3-medium-audio-outpainting`

**“Extend my 30-second loop to a full minute with Stable Audio 3 Medium Outpainting.”** runs `flymyai/stable-audio-3-medium-audio-outpainting`

## Stable Audio 3 Medium Outpainting price

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

[Every model's price →](https://flymy.ai/models/pricing/) [Usage pricing →](https://flymy.ai/pricing/)

## Stable Audio 3 Medium Outpainting vs similar models

Popular music models beside it, with prices from billing and settings from each live schema.

| Model | Provider | Kind | Price | Default run | Length |
|---|---|---|---|---|---|
| **Stable Audio 3 Medium Outpainting** | Stability AI | Audio extension | $0.0446 / run | $0.0446 |  |
| [Lyria 3.5](https://flymy.ai/models/lyria-3-5-music/) | Google | Music | $0.10 / run | $0.10 |  |
| [MiniMax Music 3](https://flymy.ai/models/minimax-music-3/) | MiniMax | Music | $0.002 / s | $0.12 | 1 to 300 seconds |
| [Stable Audio 3 Medium](https://flymy.ai/models/stable-audio-3-medium-text-to-audio/) | Stability AI | Instrumental music | $0.0376 / run | $0.0376 | 1 to 380 seconds |

## Stable Audio 3 Medium Outpainting API

The same model from your own code or from an agent. Send your FlyMy.AI API key in the `X-API-KEY` header; [get a key](https://app.flymy.ai/developers) in your account.

### cURL

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-audio-outpainting/predict/async/result/?request_id=<prediction_id>`.

```
curl -X POST https://api.flymy.ai/api/v1/flymyai/stable-audio-3-medium-audio-outpainting/predict/async/ \
  -H "X-API-KEY: $FLYMYAI_API_KEY" \
  -F 'prompt=The same groove building to a big finish' \
  -F "audio=@voice.mp3"
```

### Python

The FlyMy.AI SDK sends the same fields; a file input also takes a public URL.

```
# pip install flymyai
import os

from flymyai import client

fma = client(apikey=os.environ["FLYMYAI_API_KEY"])
task = fma.predict_async_task(
    model="flymyai/stable-audio-3-medium-audio-outpainting",
    payload={
        "prompt": "The same groove building to a big finish",
        "audio": "https://example.com/voice.mp3"
    },
)
# a long run: wait for its result (up to 15 minutes here)
result = task.result(timeout=900)
print(result.inference_responses[0].output_data)
```

### JavaScript / TypeScript

The FlyMy.AI SDK sends the same fields; a file input also takes a public URL.

```
// npm install flymyai-js-client
import { FlyMyAI } from "flymyai-js-client";

const client = new FlyMyAI({ apiKey: process.env.FLYMYAI_API_KEY });
const response = await client.predict(
  {
    "prompt": "The same groove building to a big finish",
    "audio": "https://example.com/voice.mp3"
  },
  "flymyai/stable-audio-3-medium-audio-outpainting",
);
console.log(response.output_data);
```

### MCP

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

```
{
  "endpoint_id": "flymyai/stable-audio-3-medium-audio-outpainting",
  "input": {
    "prompt": "The same groove building to a big finish",
    "audio": "https://example.com/voice.mp3"
  }
}
```

## Questions about Stable Audio 3 Medium Outpainting

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

No. Stable Audio 3 Medium Outpainting 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 Outpainting cost?**

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

**Can I try Stable Audio 3 Medium Outpainting before I write code?**

Yes. Open Stable Audio 3 Medium Outpainting in the FlyMy.AI playground at https://app.flymy.ai/models/flymyai/stable-audio-3-medium-audio-outpainting, fill in its inputs and run it; the same run is one API call later, billed the same way.

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

Add the FlyMy.AI MCP with one command and sign in, then ask in plain words, for example: "Add 20 seconds of new music after the end of the track I attach with Stable Audio 3 Medium Outpainting: the same groove building to a big finish." Your agent reads the inputs with get_model_schema and runs flymyai/stable-audio-3-medium-audio-outpainting with run_model.

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

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

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

Yes. Send form fields to https://api.flymy.ai/api/v1/flymyai/stable-audio-3-medium-audio-outpainting/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

Stability AI's music model for backing tracks, loops and intros: stereo, up to 6 minutes, one flat price.

Instrumental music / $0.0376 / run

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

### 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/models/stable-audio-3-medium-audio-inpainting/

### 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/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/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/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/models/stable-audio-3-small-sfx-text-to-audio/

## Go to the source

[Stable Audio 3 Medium Outpainting in the playground →](https://app.flymy.ai/models/flymyai/stable-audio-3-medium-audio-outpainting), [Music models →](https://flymy.ai/models/music/), [Stability AI models →](https://flymy.ai/models/provider/stability-ai/), [Model endpoints in the docs →](https://docs.flymy.ai/api/models-endpoints), [Every model on FlyMy.AI →](https://flymy.ai/models/), [Model prices →](https://flymy.ai/models/pricing/), [Every MCP in the catalog →](https://flymy.ai/mcp/#catalog)

From the FlyMy.AI model catalog of 2026-11-18: inputs from each 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.
