You're looking at a specific version of this model. Jump to the model overview.

stability-ai /stable-audio-2.5:46a26015

Input schema

The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.

Field Type Default value Description
prompt
string
A beautiful piano melody in C major
Text prompt describing the desired audio
duration
number
30

Min: 1

Max: 180

Duration of generated audio in seconds
steps
integer
8

Min: 4

Max: 100

Number of diffusion steps (higher = better quality but slower)
cfg_scale
number
6

Min: 1

Max: 15

Classifier-free guidance scale (higher = more prompt adherence)
seed
integer
Random seed for reproducible results. Leave blank for random seed.

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{'format': 'uri', 'title': 'Output', 'type': 'string'}