Models / Music

Stable Audio 3 Small Music - API, Playground & Pricing

Stable Audio 3 Small Music makes stereo music of up to 2 minutes from a text prompt with a lightweight model, at one price per clip. 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 / Instrumental music
Price
$0.0217 / run ($0.0217 at the defaults)
Length
1 to 120 seconds
Returns
audio, seed
Commercial use
Allowed
Model ID
flymyai/stable-audio-3-small-music-text-to-audio
Stable Audio 3 Small Music by Stability AI: instrumental music sample, cheap music up to 2 minutes
Stable Audio 3 Small Music sample from the FlyMy.AI catalog

$ YOUR NEXT RUN

Claude CodeCodexCursorAny agent

Use Stable Audio 3 Small Music 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-small-music-text-to-audio.md. Help me connect the FlyMy.AI MCP to this assistant, then run Stable Audio 3 Small Music (flymyai/stable-audio-3-small-music-text-to-audio) for this task: Compose calm lo-fi background music for my product demo with Stable Audio 3 Small Music.
Open FlyMy.AIDownload brief

What Stable Audio 3 Small Music 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 120 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. It is a 459-million-parameter text-to-music model from Stability AI, light enough to run on a device. Use it for cheap background music, loops and drafts.

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 or sound effects.

Stable Audio 3 Small Music inputs

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

InputType, values and default
# prompt
string required Describe the music: genre, mood, instruments and tempo, e.g. an anthemic pop rock instrumental with a nostalgic feel
# negative_prompt
string optional Qualities to keep out of the music, e.g. distortion or noise
# duration
number optional Allowed: 1 to 120 Default: 30 Length in seconds, 1-120 (30 by default); the price is $0.0217 an audio whatever the length
# 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.

“Compose calm lo-fi background music for my product demo with Stable Audio 3 Small Music.”runs flymyai/stable-audio-3-small-music-text-to-audio
“Use Stable Audio 3 Small Music to write an upbeat electronic intro for my podcast.”runs flymyai/stable-audio-3-small-music-text-to-audio
“Make a cinematic orchestral track for a game trailer with Stable Audio 3 Small Music.”runs flymyai/stable-audio-3-small-music-text-to-audio

Stable Audio 3 Small Music price

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

Stable Audio 3 Small Music vs similar models

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

ModelProviderKindPriceDefault runLength
Stable Audio 3 Small MusicStability AIInstrumental music$0.0217 / run$0.02171 to 120 seconds
Lyria 3.5GoogleMusic$0.10 / run$0.10
MiniMax Music 3MiniMaxMusic$0.002 / s$0.121 to 300 seconds
Stable Audio 3 MediumStability AIInstrumental music$0.0376 / run$0.03761 to 380 seconds

Stable Audio 3 Small Music 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-small-music-text-to-audio/predict/async/result/?request_id=<prediction_id>.

curl -X POST https://api.flymy.ai/api/v1/flymyai/stable-audio-3-small-music-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'

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-small-music-text-to-audio",
    payload={
        "prompt": "Warm lo-fi beat with soft piano and light vinyl crackle"
    },
)
# 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": "Warm lo-fi beat with soft piano and light vinyl crackle"
  },
  "flymyai/stable-audio-3-small-music-text-to-audio",
);
console.log(response.output_data);

MCP

Your agent calls get_model_schema, then run_model with:

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

Questions about Stable Audio 3 Small Music

Do I need a Stability AI API key for Stable Audio 3 Small Music?

No. Stable Audio 3 Small Music 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 Small Music cost?

$0.0217 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 Small Music before I write code?

Yes. Open Stable Audio 3 Small Music in the FlyMy.AI playground at https://app.flymy.ai/models/flymyai/stable-audio-3-small-music-text-to-audio, 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 Small Music 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 Small Music." Your agent reads the inputs with get_model_schema and runs flymyai/stable-audio-3-small-music-text-to-audio with run_model.

What does Stable Audio 3 Small Music need as input?

Stable Audio 3 Small Music 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 Small Music from my own code?

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