openclaw - 💡(How to fix) Fix [Feature]: Feature Request: Support MiniMax TTS HD (speech-02-hd) in MiniMax plugin [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#55017Fetched 2026-04-08 01:33:41
View on GitHub
Comments
0
Participants
1
Timeline
1
Reactions
2
Participants
Timeline (top)
labeled ×1

Error Message

  • Severity: Annoying / Blocks workflow — TTS is completely non-functional for MiniMax users; the tool returns an error instead of providing the expected voice output

Fix Action

Fix / Workaround

Feature Description

MiniMax Token Plan includes TTS HD capability (speech-2.8-hd / speech-2.6-hd / speech-02-hd), but the OpenClaw MiniMax plugin only exposes text (M2.7) and image generation (image-01). The built-in TTS module falls back to Microsoft Edge TTS instead of MiniMax TTS HD.

Expected Behavior

When using the tts tool with MiniMax OAuth authentication, it should:

  1. Use the MiniMax TTS HD models available in the user's Token Plan
  2. Consume the TTS HD quota from the Token Plan (not external paid TTS)
  3. Support voice options like emotion control and voice selection

Current Workaround

The vm0-ai/vm0-skills@minimax skill can call MiniMax TTS API directly, but it requires a separate API key and doesn't integrate with Token Plan quotas.

Additional Context

RAW_BUFFERClick to expand / collapse

Summary

Feature Description

MiniMax Token Plan includes TTS HD capability (speech-2.8-hd / speech-2.6-hd / speech-02-hd), but the OpenClaw MiniMax plugin only exposes text (M2.7) and image generation (image-01). The built-in TTS module falls back to Microsoft Edge TTS instead of MiniMax TTS HD.

Expected Behavior

When using the tts tool with MiniMax OAuth authentication, it should:

  1. Use the MiniMax TTS HD models available in the user's Token Plan
  2. Consume the TTS HD quota from the Token Plan (not external paid TTS)
  3. Support voice options like emotion control and voice selection

Current Workaround

The vm0-ai/vm0-skills@minimax skill can call MiniMax TTS API directly, but it requires a separate API key and doesn't integrate with Token Plan quotas.

Additional Context

Problem to solve

Problem to Solve

  1. Wasted subscription benefit: Users with MiniMax Token Plan have TTS HD quota, but cannot use it through OpenClaw — the built-in TTS completely ignores MiniMax and falls back to Edge TTS, which produces empty audio.
  2. Forced to pay twice: To use MiniMax TTS, users must pay for a separate API key outside their Token Plan, even though TTS HD is already included in their subscription.
  3. Inconsistent experience: Text and image generation correctly use MiniMax Token Plan, but TTS silently fails and uses an unrelated Microsoft TTS service.

Proposed solution

Proposed Solution

Extend the MiniMax plugin to include TTS HD support, similar to how text and image generation are already integrated. The TTS should use the user's Token Plan

Alternatives considered

No response

Impact

Impact

  • Affected users: All OpenClaw users with MiniMax Token Plan subscription who want to use voice synthesis (primarily Feishu, Discord, and other chat channel users)
  • Severity: Annoying / Blocks workflow — TTS is completely non-functional for MiniMax users; the tool returns an error instead of providing the expected voice output
  • Frequency: Always — every time a user tries to use the tts tool with MiniMax OAuth, it fails and falls back to Edge TTS (which also fails)
  • Consequence: Users must manually work around by using third-party TTS services or giving up on voice synthesis entirely. This breaks the expected "all-in-one" experience where the Token Plan should cover all modalities.

Evidence/examples

No response

Additional information

No response

extent analysis

Fix Plan

To extend the MiniMax plugin and include TTS HD support, follow these steps:

  • Update the MiniMax plugin to recognize and utilize the TTS HD models available in the user's Token Plan.
  • Modify the tts tool to consume the TTS HD quota from the Token Plan instead of falling back to external paid TTS services.
  • Integrate voice options like emotion control and voice selection into the tts tool.

Example code snippet to integrate TTS HD into the MiniMax plugin:

import requests

class MiniMaxTTS:
    def __init__(self, token_plan):
        self.token_plan = token_plan
        self.tts_hd_models = self.get_tts_hd_models()

    def get_tts_hd_models(self):
        # Retrieve available TTS HD models from the user's Token Plan
        response = requests.get(f"https://platform.minimaxi.com/api/token-plan/{self.token_plan}/tts-hd-models")
        return response.json()

    def synthesize_speech(self, text, voice_option):
        # Use the TTS HD model to synthesize speech
        tts_hd_model = self.tts_hd_models[voice_option]
        response = requests.post(f"https://platform.minimaxi.com/api/tts-hd/{tts_hd_model}", json={"text": text})
        return response.content

# Usage example:
minimax_tts = MiniMaxTTS("user_token_plan")
speech = minimax_tts.synthesize_speech("Hello, world!", "emotion_control")

Verification

To verify that the fix worked:

  • Test the tts tool with MiniMax OAuth authentication to ensure it uses the TTS HD models available in the user's Token Plan.
  • Check the Token Plan quota to confirm that the TTS HD quota is being consumed correctly.
  • Verify that voice options like emotion control and voice selection are working as expected.

Extra Tips

  • Ensure that the MiniMax plugin is properly configured to recognize and utilize the TTS HD models available in the user's Token Plan.
  • Monitor the Token Plan quota to prevent unexpected overages or shortages.
  • Consider adding error handling and logging to the tts tool to improve debugging and troubleshooting.

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