← 模型目录

Stability AI: Stable Audio 3 Small Music Base

fal/fal-ai/stable-audio-3/small/music/base/text-to-audio
已启用
模型类别:Audio

Stable Audio 3 Small Music Base is the foundational 459-million-parameter checkpoint in the Small Music family, generating stereo music compositions up to two minutes long from text. The Base designation identifies the underlying, unmodified model checkpoint in this family. For generation, a brief can specify instruments, rhythm and atmosphere, with seed, negative-prompt and duration controls. Use cases: baseline composition experiments, short instrumental beds and comparing how the foundational checkpoint responds to different musical prompts.

模型组织
stability
上下文长度
未提供
输入
文本
输出
音频

价格

直连
音频生成 $0.0281 / 次请求

能力

modalitiesaudiostream随机种子seconds

API 调用

将 ROUTER_BASE_URL 设为 https://api.mkrouter.com, ROUTER_API_KEY 设为你的 API 密钥. 示例中的媒体地址、文件和音色占位值需要替换.

Chat CompletionsPOST /api/v1/chat/completions
curl "$ROUTER_BASE_URL/api/v1/chat/completions" \
  -H "Authorization: Bearer $ROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "fal/fal-ai/stable-audio-3/small/music/base/text-to-audio",
  "messages": [
    {
      "role": "user",
      "content": "Gentle acoustic music with warm piano and soft guitar"
    }
  ],
  "modalities": [
    "text",
    "audio"
  ],
  "stream": true,
  "audio": {
    "format": "mp3",
    "duration": 30
  }
}'
管理 API 密钥
Stability AI: Stable Audio 3 Small Music Base | Router