← 模型目录

Sonilo: Sonilo 1.1

fal/sonilo/v1.1/text-to-music
已启用
模型类别:Audio

Sonilo 1.1 generates music from descriptions of style, mood and instrumentation, with an explicit requested duration. Its own model family is developed using licensed music datasets. A prompt can combine musical influences and describe the feel of a backing track rather than being limited to a single genre label. Whole-second duration control, from one second to ten minutes, helps fit a cue to the time available in a creative project. Use cases: mood-led backing music, short-form soundtrack cues and accompaniment matched to a specified runtime.

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

价格

直连
音频生成 $0.0025 / 秒

能力

modalitiesaudiostreamseconds

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/sonilo/v1.1/text-to-music",
  "messages": [
    {
      "role": "user",
      "content": "Gentle acoustic music with warm piano and soft guitar"
    }
  ],
  "modalities": [
    "text",
    "audio"
  ],
  "stream": true,
  "audio": {
    "format": "m4a",
    "duration": 30
  }
}'
管理 API 密钥
Sonilo: Sonilo 1.1 | Router