AudioOpen source

Stable Audio

AI music generation

model: "stable-audio"

API docsDocs for agents

Modes

One model id, every mode below. The fields you send pick the mode, and the price follows the mode.

ModeSelected byTypical price
Text to audioprompt
Example request
{
  "model": "stable-audio",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.033

Input

Required

Description

Optional
10

Duration

Result

Example output

A real result from this model. Run it to see yours here.

curl https://arteza.ai/api/v1/generations \
  -H "Authorization: Bearer $ARTEZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "stable-audio",
  "input": {
    "prompt": "Short upbeat advertising jingle, bright ukulele and handclaps, a cheerful glockenspiel melody, clean and positive."
  }
}'