MiniMax: Music 2
fal/fal-ai/minimax-music/v2MiniMax Music 2.0 uses a dual-input composition workflow: musical direction establishes genre, mood and atmosphere, while separate lyrics provide the words and song structure. Section markers such as [Intro], [Verse], [Chorus], [Bridge] and [Outro] can guide how the arrangement progresses. The model produces a complete song with vocals and accompaniment, so the lyrics and intended structure should be prepared before generation. It suits creators who know what they want to say and want to explore how it should sound. Use cases: indie music production, content soundtracks and structured lyric-driven composition.
- 模型组织
- minimax
- 上下文长度
- 未提供
- 输入
- 文本
- 输出
- 音频
价格
直连音频生成 $0.03 / 次请求
能力
modalitiesaudiostreamlyricsstyle
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/minimax-music/v2",
"messages": [
{
"role": "user",
"content": "Gentle acoustic music with warm piano and soft guitar"
}
],
"modalities": [
"text",
"audio"
],
"stream": true,
"audio": {
"format": "mp3",
"lyrics": "[verse]\nMorning light across the bay\n[chorus]\nWe greet a bright new day"
}
}'