Models / Music
Stable Audio 3 Medium Outpainting - API, Playground & Pricing
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.
- Provider
- Stability AI
- Category
- 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

$ YOUR NEXT RUN
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.
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 |
|---|---|
# prompt | string required What the new part of the track should sound like, e.g. the same groove building to a big finish |
# 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 |
# 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) |
# 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 |
# negative_prompt | string optional Qualities to keep out of the music, e.g. distortion or noise |
# seed | integer optional Allowed: 0 to 2147483647 Seed for a repeatable result |
# 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 |
# 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.
flymyai/stable-audio-3-medium-audio-outpaintingflymyai/stable-audio-3-medium-audio-outpaintingflymyai/stable-audio-3-medium-audio-outpaintingStable 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.
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 | Music | $0.10 / run | $0.10 | ||
| MiniMax Music 3 | MiniMax | Music | $0.002 / s | $0.12 | 1 to 300 seconds |
| Stable Audio 3 Medium | 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 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.
Go to the source
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.





