#MiniMax Music

1 messages · Page 1 of 1 (latest)

stray raven
#

I'm struggling to get MiniMax to generate songs. I've provided an API key. Nothing else. My OpenAI Codex OAuth is calling the function. I see funds go down on the MiniMax side but no audio file is returned.

warm fractalBOT
jolly mapleBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

warm fractalBOT
stuck whaleBOT
#

I checked the current docs/source. Two important things:

  1. MiniMax music is async in normal agent sessions, so the first music_generate call does not return the MP3 inline. It starts a background task, then the agent is supposed to post the file in a follow-up message later. Docs: https://docs.openclaw.ai/tools/music-generation
  2. The current MiniMax music provider expects /v1/music_generation to return an audio URL or audio payload. If MiniMax only returns a task_id, OpenClaw can burn credits and then fail with no file to attach.

First, what version are you on?

openclaw --version

Then please grab these after one failed attempt:

openclaw tasks list
openclaw tasks show <taskId>
#
openclaw logs --follow
openclaw models status
openclaw status --all

What I’d look for in the logs:

  • MiniMax music generation response missing audio output
  • Music generation completion wake failed
  • Media generation completion wake failed

Also, for a cleaner repro, I’d pin the music model explicitly:

{
#
  agents: {
    defaults: {
      musicGenerationModel: {
        primary: "minimax/music-2.5+",
      },
    },
  },
}

And if the task is actually succeeding but the agent never posts the file back to Discord, try this workaround:

{
  tools: {
stray raven
#

Okay. Is there a url I can visit on the MiniMax side that will show me the generated output?

stuck whaleBOT
#

Short answer, not a stable dashboard page that I can verify from the docs.

What MiniMax can return is a temporary audio_url for the generated file. According to their music API docs, that URL expires after 24 hours. OpenClaw already requests that url output format for MiniMax music, then tries to download it immediately.

So:

  • If MiniMax returned an audio_url, yes, you could open that direct file URL.
  • If MiniMax only returned a task_id and no audio_url, then no, there is not a documented “go here to view the finished song” page that I can point you to.

The easiest way to check is:

openclaw logs --follow

and look for audio_url, task_id, or MiniMax music generation response missing audio output.