Stability AI: Stable Audio 3 Medium
fal/fal-ai/stable-audio-3/medium/text-to-audioStable Audio 3 Medium is a 1.4-billion-parameter latent diffusion model for stereo music and longer-form compositions. Its positioning within the Stable Audio 3 family gives arrangements more room to develop themes, changes in texture and a musical resolution. Prompts can describe instrumentation, harmony, mood and the intended progression of a piece, with seed, negative-prompt and requested-duration controls. The official playground illustrates a cinematic piano-and-strings sketch. Use cases: extended instrumental development, cinematic underscore and compositions built around a sustained musical or emotional arc.
- 模型组织
- stability
- 上下文长度
- 未提供
- 输入
- 文本
- 输出
- 音频
价格
直连音频生成 $0.0376 / 次请求
能力
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/medium/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
}
}'