ACE Studio & StepFun: ACE-Step Prompt
fal/fal-ai/ace-step/prompt-to-audioACE-Step Prompt offers a natural-language workflow for the ACE-Step music foundation model. A brief can describe the scene, genre, mood and intended character of a song in one place, supporting both vocal and instrumental music. It is useful for exploring an idea before writing a separate lyric document; creators with fixed words can use the companion tags-and-lyrics version. Seed and requested-duration controls support repeated exploration of the brief. Use cases: exploratory song concepts, mood-led compositions and instrumental background cues.
- 模型组织
- ace-step
- 上下文长度
- 未提供
- 输入
- 文本
- 输出
- 音频
价格
直连音频生成 $0.0002 / 秒
能力
modalitiesaudiostream随机种子secondsinstrumental
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/prompt-to-audio",
"messages": [
{
"role": "user",
"content": "Gentle acoustic music with warm piano and soft guitar"
}
],
"modalities": [
"text",
"audio"
],
"stream": true,
"audio": {
"format": "wav",
"duration": 30
}
}'