← 模型目录

ACE Studio & StepFun: ACE-Step

fal/fal-ai/ace-step
已启用
模型类别:Audio

ACE-Step is an open music foundation model co-led by ACE Studio and StepFun. Its diffusion-based architecture combines a compressed audio representation with a lightweight linear transformer, with the technical report emphasizing musical coherence and alignment between sung words and music. This version accepts style tags and optional lyrics as separate creative inputs, giving songwriters explicit control over the musical palette and words. Seed and duration controls also support instrumental compositions. Use cases: lyric-led song sketches, genre-tag exploration and music built around a defined song structure.

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

价格

直连
音频生成 $0.0002 / 秒

能力

modalitiesaudiostream随机种子secondslyricsinstrumentalstyle

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/ace-step",
  "messages": [
    {
      "role": "user",
      "content": "Gentle acoustic music with warm piano and soft guitar"
    }
  ],
  "modalities": [
    "text",
    "audio"
  ],
  "stream": true,
  "audio": {
    "format": "wav",
    "duration": 30
  }
}'
管理 API 密钥
ACE Studio & StepFun: ACE-Step | Router