Back to Music & sound
fal.ai·Music & sound

MiniMax (Hailuo AI) Music

/fal-ai/minimax-musicasync$0.07 / generation

Generate music from text prompts using the MiniMax model, which leverages advanced AI techniques to create high-quality, diverse musical compositions. Returns hosted file URLs (download promptly; fal keeps them for a limited time). Billed per generation.

Charged per generation produced; a call that produces nothing is charged one unit.

Input
  • promptstringrequired

    Lyrics with optional formatting. You can use a newline to separate each line of lyrics. You can use two newlines to add a pause between lines. You can use double hash marks (##) at the beginning and end of the lyrics to add accompaniment. Maximum 600 characters.

  • reference_audio_urlstringrequired

    Reference song, should contain music and vocals. Must be a .wav or .mp3 file longer than 15 seconds.

Run it

curl -s https://sooma.dev/v1/run \ -H "Authorization: Bearer $SOOMA_API_KEY" \ -H "Content-Type: application/json" \ -d '{"provider":"fal","endpoint":"/fal-ai/minimax-music","input":{}}'

Or ask your agent: it will call inspect for this schema and run it over MCP.