openclaw - 💡(How to fix) Fix MiniMax Token Plan support gaps: video_generate rejects 768P and music provider defaults to unsupported music-2.5+ [1 comments, 1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#62315Fetched 2026-04-08 03:06:10
View on GitHub
Comments
1
Participants
1
Timeline
1
Reactions
0
Participants
Timeline (top)
commented ×1

OpenClaw 2026.4.5 does not correctly match MiniMax Token Plan behavior for video and music generation on the CN endpoint.

MiniMax Token Plan docs: https://platform.minimaxi.com/docs/token-plan/intro

Root Cause

MiniMax Token Plan is advertised as supporting these media capabilities, but OpenClaw currently makes valid Token Plan use cases fail locally or use the wrong model defaults.

Code Example

resolution must be one of 480P, 720P, or 1080P

---

curl -H 'Authorization: Bearer ...'   -H 'Content-Type: application/json'   -d '{"model":"MiniMax-Hailuo-2.3","prompt":"a ginger cat watching rain","resolution":"768P","duration":6}'   https://api.minimaxi.com/v1/video_generation

---

{"task_id":"...","base_resp":{"status_code":0,"status_msg":"success"}}

---

invalid params, model MiniMax-Hailuo-2.3-Fast does not support Text-to-Video mode

---

your current token plan not support model, music-2.5+

---

invalid params, lyrics is required

---

invalid params, is_instrumental only supported on music-2.5+
RAW_BUFFERClick to expand / collapse

Summary

OpenClaw 2026.4.5 does not correctly match MiniMax Token Plan behavior for video and music generation on the CN endpoint.

MiniMax Token Plan docs: https://platform.minimaxi.com/docs/token-plan/intro

Environment

  • OpenClaw: 2026.4.5
  • MiniMax CN endpoint: https://api.minimaxi.com
  • Token Plan includes:
    • MiniMax-M2.7-highspeed
    • Speech 2.8
    • image-01
    • Hailuo-2.3-Fast-768P 6s
    • Hailuo-2.3-768P 6s
    • music-2.5

Problem 1: video_generate rejects 768P before request is sent

Repro

Ask an agent to call video_generate with:

  • model: default MiniMax video model (MiniMax-Hailuo-2.3)
  • resolution: 768P
  • duration: 6

Actual result

OpenClaw rejects the request locally with:

resolution must be one of 480P, 720P, or 1080P

Expected result

768P should be accepted for MiniMax Token Plan usage.

Evidence

Direct call to MiniMax CN API succeeds:

curl -H 'Authorization: Bearer ...'   -H 'Content-Type: application/json'   -d '{"model":"MiniMax-Hailuo-2.3","prompt":"a ginger cat watching rain","resolution":"768P","duration":6}'   https://api.minimaxi.com/v1/video_generation

Response:

{"task_id":"...","base_resp":{"status_code":0,"status_msg":"success"}}

Additional evidence

MiniMax-Hailuo-2.3-Fast correctly returns:

invalid params, model MiniMax-Hailuo-2.3-Fast does not support Text-to-Video mode

So the main issue is not the account; the main issue is local 768P validation blocking a valid request for MiniMax-Hailuo-2.3.

Problem 2: MiniMax music defaults are mismatched for Token Plan

Actual OpenClaw behavior

MiniMax music provider default model is music-2.5+.

Actual Token Plan behavior

Direct MiniMax API returns:

your current token plan not support model, music-2.5+

for music-2.5+.

But music-2.5 is included in Token Plan.

Additional API behavior

Direct MiniMax API returns:

invalid params, lyrics is required

when calling music-2.5 without lyrics.

Direct MiniMax API also returns:

invalid params, is_instrumental only supported on music-2.5+

when is_instrumental is used with music-2.5.

Expected result

For Token Plan compatibility, OpenClaw should at least:

  • default MiniMax music model to music-2.5 when that is the only supported model
  • not assume music-2.5+ is available
  • avoid sending is_instrumental for music-2.5
  • require or help supply lyrics for music-2.5

Suspected root causes

  1. video_generate tool schema / normalization only accepts 480P | 720P | 1080P, which is too narrow for MiniMax Token Plan.
  2. MiniMax music provider defaults are written for music-2.5+ behavior, but Token Plan access is music-2.5.

Why this matters

MiniMax Token Plan is advertised as supporting these media capabilities, but OpenClaw currently makes valid Token Plan use cases fail locally or use the wrong model defaults.

extent analysis

TL;DR

Update OpenClaw's validation and defaults to match MiniMax Token Plan capabilities, specifically allowing 768P resolution and correctly handling music-2.5 model requirements.

Guidance

  • Review and update the video_generate tool schema to include 768P as a valid resolution option for MiniMax Token Plan usage.
  • Modify OpenClaw's MiniMax music provider defaults to use music-2.5 when it is the only supported model in the Token Plan, and ensure that is_instrumental is not sent for music-2.5 requests.
  • Implement a check to require or help supply lyrics for music-2.5 requests to match the MiniMax API's expectations.
  • Verify these changes by testing video_generate with 768P resolution and music-2.5 model requests to ensure they are no longer rejected locally and that the correct models are used.

Example

No specific code snippet is provided due to the lack of direct code references in the issue, but the updates should focus on adjusting validation rules and default model selections within OpenClaw to align with MiniMax Token Plan capabilities.

Notes

The solution hinges on updating OpenClaw to better align with the specifics of the MiniMax Token Plan, particularly in terms of supported resolutions and music model defaults. This may involve modifying configuration files, updating code logic for validation and model selection, or adjusting API request construction to ensure compatibility.

Recommendation

Apply a workaround by manually adjusting OpenClaw's configuration or code to match the MiniMax Token Plan's supported capabilities until a formal update can be released. This approach allows for immediate mitigation of the issues while a more permanent solution is developed.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING