MiniMax Music icon

MiniMax Music

Generate music from a prompt using MiniMax Music API

MiniMax Music

AI-generated

Summary

Generate music from a prompt using the MiniMax Music API, with optional lyrics and audio settings, returning JSON metadata and optionally binary audio data.

Inputs

  • model — Music generation model to use
  • prompt (required) — Style/mood description for the generated music, e.g. Indie folk, melancholic, introspective
  • lyrics — Optional lyrics for the generated music. Use [verse], [chorus], [bridge] tags to structure sections.
  • audioSettings — Audio output configuration
  • returnBinary — Whether to return the generated audio as binary data on property audio

Output shape

Array of output items, each containing json (enriched API response), optional binary (audio buffer), and pairedItem (input index).

Prompt is required; missing or empty prompt throws an error. Audio binary is downloaded only when returnBinary is true and a downloadable URL or hex string is returned by the API.

Links

Discussion