音频Open source

Stable Audio

AI音乐生成

model: "stable-audio"

API 文档代理文档

模式

一个模型ID,支持下列所有模式。您发送的字段决定模式,价格随模式而定。

模式选择方式典型价格
文本生成音频prompt
请求示例
{
  "model": "stable-audio",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.033

输入

必需

Description

可选
10

Duration

结果

示例输出

该模型的真实结果。运行它可在此处查看您的输出。

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."
  }
}'