MiniMax: Music 1
fal/fal-ai/minimax-musicMiniMax Music 1 uses an audio reference to guide the musical style of a new vocal composition built around supplied lyrics. The reference provides an existing musical example instead of requiring the creator to express every stylistic detail in writing. The official guide recommends a reference longer than fifteen seconds containing both music and vocals. This makes the model useful for developing a written idea around a sound that is already familiar. Use cases: reference-guided songwriting, short vocal prototypes and exploring new lyrics against an established musical direction.
- 模型组织
- minimax
- 上下文长度
- 未提供
- 输入
- 文本 + 音频
- 输出
- 音频
价格
直连音频生成 $0.035 / 次请求
能力
modalitiesaudiostreamlyrics
API 调用
将 ROUTER_BASE_URL 设为 https://api.mkrouter.com, ROUTER_API_KEY 设为你的 API 密钥. 示例中的媒体地址、文件和音色占位值需要替换.
Chat CompletionsPOST /api/v1/chat/completions
# 将 REPLACE_HTTPS_REFERENCE_AUDIO 替换为可公开访问的 HTTPS 音频 URL, WAV/MP3 且超过 15 秒, 含音乐和人声.
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",
"messages": [
{
"role": "user",
"content": "[verse]\nMorning light across the bay\n[chorus]\nWe greet a bright new day"
}
],
"modalities": [
"text",
"audio"
],
"stream": true,
"audio": {
"format": "mp3",
"reference_audio_url": "REPLACE_HTTPS_REFERENCE_AUDIO"
}
}'