Agent skill

Mm Voice Maker

by LeoYeAI in LeoYeAI/openclaw-master-skills

Enables voice synthesis, voice cloning, voice design, and audio post-processing using MiniMax Voice API and FFmpeg.

MITAuto-check: notesMedia & Creative

Install Mm Voice Maker

skills CLI
$ npx skills add LeoYeAI/openclaw-master-skills --skill mm-voice-maker -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install LeoYeAI/openclaw-master-skills mm-voice-maker --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/mm-voice-maker .claude/skills/mm-voice-maker && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
mm-voice-maker
GitHub stars
2.2k
Token cost
~6.6k tokens
SKILL.md length
1,725 words
Files
24 (incl. scripts)
Skills in repo
1,235
Repo updated
First seen
Licence
MIT

At a glance

Enables voice synthesis, voice cloning, voice design, and audio post-processing using MiniMax Voice API and FFmpeg.

  • Works in 6 steps: Verify environment → Decision and Pre-processing → Present plan to user for confirmation → …
  • Converting text to speech
  • SKILL.md covers Capabilities, File structure:, Main Workflow Guideline (Text… and Other Usage, plus 2 more sections
  • Runs Python scripts from its folder; calls python, pip and brew; needs MINIMAX_VOICE_API_KEY

What it does

Mm Voice Maker is an agent skill from LeoYeAI/openclaw-master-skills. Enables voice synthesis, voice cloning, voice design, and audio post-processing using MiniMax Voice API and FFmpeg. Use when converting text to speech, creating custom voices, or processing/merging audio.

Its SKILL.md is about 6.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 25 other files, including scripts (for example `_meta.json`, `check_environment.py` and `mmvoice.py`).

It sits in Media & Creative, covering Text to speech and voice and Video production. It works with MiniMax and FFmpeg. The repository describes itself as: 🧠 Curated collection of 1209+ best OpenClaw skills — weekly updated by MyClaw.ai. The licence is MIT.

When your agent uses it

  • Converting text to speech
  • Creating custom voices
  • Processing/merging audio

Example prompts

  • “Use the mm-voice-maker skill to enable voice synthesis, voice cloning, voice design, and audio post-processing using MiniMax Voice API and FFmpeg”
  • “/mm-voice-maker”

Requirements

  • Python 3
  • A credential in MINIMAX_VOICE_API_KEY

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Verify environment
  2. Decision and Pre-processing
  3. Present plan to user for confirmation
  4. Validate segments.json (model, emotion, voice_id validation)
  5. Generate and merge audio
  6. Confirm and cleanup

What it can do on your machine

Read from SKILL.md and the folder at commit e5199b5. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 4 files in scripts/ (Python, from the files we listed), which the agent can run.

    Shell commands in SKILL.md call:

    • python
    • pip
    • brew
    • apt

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pip, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • MINIMAX_VOICE_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Mm Voice Maker loads about 6.6k tokens when it runs. Until then it costs about 55 tokens; SKILL.md has 1,725 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~55
When it runs · the whole SKILL.md, loaded when a task matches
~6.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteRuns commands with sudoSKILL.md:541
    stall: `brew install ffmpeg` (macOS) or `sudo apt install ffmpeg` (Ubuntu)

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from LeoYeAI/openclaw-master-skills at commit e5199b5, republished under its MIT licence (© LeoYeAI). 1,725 words, ~6,566 tokens.

Download SKILL.mdSave it as .claude/skills/mm-voice-maker/SKILL.md (or your agent's skills folder). This skill also uses 23 other files; get the full folder from GitHub.
name
mm-voice-maker
description
Enables voice synthesis, voice cloning, voice design, and audio post-processing using MiniMax Voice API and FFmpeg. Use when converting text to speech, creating custom voices, or processing/merging audio.

MiniMax Voice Maker

Professional text-to-speech skill with emotion detection, voice cloning, and audio processing capabilities powered by MiniMax Voice API and FFmpeg.

Capabilities

AreaFeatures
TTSSync (HTTP/WebSocket), async (long text), streaming
Segment-basedMulti-voice, multi-emotion synthesis from segments.json, auto merge
VoiceCloning (10s–5min), design (text prompt), management
AudioFormat conversion, merge, normalize, trim, remove silence (FFmpeg)

File structure:

mmVoice_Maker/
├── SKILL.md                       # This overview
├── mmvoice.py                     # CLI tool (recommended for Agents)
├── check_environment.py           # Environment verification
├── requirements.txt
├── scripts/                       # Entry: scripts/__init__.py
│   ├── utils.py                   # Config, data classes
│   ├── sync_tts.py                # HTTP/WebSocket TTS
│   ├── async_tts.py               # Long text TTS
│   ├── segment_tts.py             # Segment-based TTS (multi-voice, multi-emotion)
│   ├── voice_clone.py             # Voice cloning
│   ├── voice_design.py            # Voice design
│   ├── voice_management.py        # List/delete voices
│   └── audio_processing.py        # FFmpeg audio tools
└── reference/                     # Load as needed
    ├── cli-guide.md               # CLI usage guide
    ├── getting-started.md         # Setup and quick test
    ├── tts-guide.md               # Sync/async TTS workflows
    ├── voice-guide.md             # Clone/design/manage
    ├── audio-guide.md             # Audio processing
    ├── script-examples.md         # Runnable code snippets
    ├── troubleshooting.md         # Common issues
    ├── api_documentation.md       # Complete API reference
    └── voice_catalog.md           # Voice selection guide

Main Workflow Guideline (Text to Speech)

6-step workflow: [step1]. Verify environment

[step2-preparation]⚠️NOTE: Before processing the text, you must read voice-catalog.md for voice selection.

[step2]. Process text into script → <cwd>/audio/segments.json. Note: [Step2.4] is really important, you must check it twice before sending the script to the user.

[step2.5]. ⚠️ Generate preview for user confirmation (highly recommended for multi-voice content)

[step3]. Present plan to user for confirmation

[step4]. Validate segments.json

[step5]. Generate and merge audio → intermediate files in <cwd>/audio/tmp/, final output in <cwd>/audio/output.mp3

[step6]. ⚠️ CRITICAL: User confirms audio quality FIRST → THEN cleanup temp files (only after user is satisfied)

<cwd> is Claude's current working directory (not the skill directory). Audio files are saved relative to where Claude is running commands.

Step 1: Verify environment
bash
python check_environment.py

Checks:

  • Python 3.8+
  • Required packages (requests, websockets)
  • FFmpeg installation
  • MINIMAX_VOICE_API_KEY environment variable

If API key is not set, ask user for keys and set it:

bash
export MINIMAX_VOICE_API_KEY="your-api-key-here"
Step 2: Decision and Pre-processing

⚠️ MOST IMPORTANT PRINCIPLE: Gender Matching First

Before selecting voices, you MUST always match gender first. This is non-negotiable.

Golden Rule:

If a character is male → use male voice If a character is female → use female voice If a character is neutral/other → choose appropriate neutral voice

Why this matters:

  • Violating gender matching (e.g., male character with female voice) breaks immersion
  • Even if personality traits match, gender comes first
  • This is especially critical for classic literature, historical content, and professional narration

Examples:

CharacterWrong VoiceCorrect Voice
唐三藏 (male monk)female-yujie ❌Chinese (Mandarin)_Gentleman ✅
林黛玉 (female)male-qn-badao ❌female-shaonv ✅
曹操 (male warlord)female-chengshu ❌Chinese (Mandarin)_Unrestrained_Young_Man ✅

Decision guide: Evaluate based on:

  • Does the user specify a model? → Use that model, or use the default one "speech-2.8"
  • Is multi-voice needed? → Different voice_id per speaker/character
  • For speech-2.8: emotion is auto-matched (leave emotion empty)
  • For older models: manually specify emotion tags

Use case scenarios:

ScenarioDescriptionSegmentsVoice Selection
Single VoiceUser needs one voice for the entire content. Segment only by length (≤1,000,000 chars per segment).Split by length onlyOne voice_id for all segments
Multi-VoiceMultiple characters/speakers, each with different voice. Segment by speaker/role changes.Split by logical unit (speaker, dialogue, etc.)Different voice_id per role
Podcast/InterviewHost and guest speakers with distinct voices.Split by speakerVoice per host/guest
Audiobook/FictionNarrator and character voices.Split by narration vs. dialogueVoice per narrator/character
DocumentaryMostly narration with occasional quotes.Keep as one segmentSingle narrator voice
Report/AnnouncementFormal content with consistent tone.Keep as one segmentProfessional voice

Processing Workflow (4 sub-steps):

Step 2.1: Text Segmentation and Role Analysis First, segment your text into logical units and identify the role/character for each segment.

Key principle (Important!): Split by logical unit, NOT simply by sentence

When to split (Important!):

  • Different speakers clearly marked
  • Narrator vs. character dialogue (in fiction/audiobooks/interview etc.)
  • In some scenarios (like audiobooks, multi-voice fiction etc.), where speaker's identity is important, split when narration and dialogue mix in the same sentence.

When NOT to split (Important!):

  • Third-person narration like "John said..." or "The reporter noted..."
  • Quoted speech in narration (in documentary/podcast/report etc.) should keep in narrator's voice
  • Keep in narrator's voice unless specific characterization is needed

Decision depends on use case:

Use caseExampleSplit strategy
Single VoiceLong article, news piece, announcementSplit by length (≤1,000,000 chars), same voice for all
Podcast/Interview"Host: Welcome to the show. Guest: Thank you for having me."Split by speaker
Documentary narration"The scientist explained, 'The results are promising.'"Keep as one segment (narrator voice)
Audiobook/Fiction"'Who's there?' she whispered."Split: "'Who's there?'" should be in character voice, while "she whispered." should be in narrator's voice
Report"According to the report, the economy is growing."Keep as one segment

Example1: Single Voice (speech-2.8) For single-voice content (e.g., news, announcements, articles), segment only by length while maintaining the same voice:

json
[
  {"text": "First part of the article (under 1,000,000 chars)...", "role": "narrator", "voice_id": "female-shaonv", "emotion": ""},
  {"text": "Second part of the article (under 1,000,000 chars)...", "role": "narrator", "voice_id": "female-shaonv", "emotion": ""},
  {"text": "Third part of the article (under 1,000,000 chars)...", "role": "narrator", "voice_id": "female-shaonv", "emotion": ""}
]

Example2: Audiobook with characters (speech-2.8) In audiobooks (multi-voice fiction), split when narration and dialogue mix in the same sentence:

json
[
  {"text": "The detective entered the room.", "role": "narrator", "voice_id": "", "emotion": ""},
  {"text": "\"Who's there?\"", "role": "female_character", "voice_id": "", "emotion": ""},
  {"text": "she whispered.", "role": "narrator", "voice_id": "", "emotion": ""},
  {"text": "\"It's me,\"", "role": "male_character", "voice_id": "", "emotion": ""},
  {"text": "he replied calmly.", "role": "narrator", "voice_id": "", "emotion": ""}
]

Example3: Documentary/podcast narration (speech-2.8) Quoted speech in narration stays in narrator's voice (no need to split):

json
[
  {
    "text": "The scientist explained, \"The results show significant improvement in all test groups.\"",
    "role": "narrator",
    "voice_id": "",
    "emotion": ""
  },
  {
    "text": "According to the latest report, the economy has grown by 3% this quarter.",
    "role": "narrator",
    "voice_id": "",
    "emotion": ""
  }
]

**Note:** In the preliminary `segments.json`:
- Fill in the `text` field with segment content
- Fill in the `role` field to identify the character (narrator, male_character, female_character, host, guest, etc.)
- Leave `voice_id` empty (to be filled in Step 2.2)
- Leave `emotion` empty for speech-2.8 models


**Step 2.2: Voice Selection**

After segmenting and labeling roles, analyze all detected characters in your text. Consult [voice_catalog.md](reference/voice_catalog.md) **Section 1 "How to Choose a Voice"** to match voices to characters.

**⚠️ CRITICAL: Follow the two-step selection process below**

**Path A — Professional domains (Story/Narration, News/Announcements, Documentary):**
If the content belongs to one of these three professional domains, prioritize selecting from the recommended voices in **voice_catalog.md Section 2.1** (filter by scenario + gender). These voices are specifically optimized for their professional use cases.

**Path B — All other scenarios:**
Select from **voice_catalog.md Section 2.2**, following this strict priority hierarchy:

1. **First: Match Gender** (non-negotiable) — Male characters MUST use male voices, female characters MUST use female voices
2. **Second: Match Language** — The voice MUST match the content language (Chinese content → Chinese voice, Korean content → Korean voice, English content → English voice, etc.). Never assign a voice from the wrong language.
3. **Third: Match Age** — Determine the age group (Children / Youth / Adult / Elderly / Professional) and select from the corresponding subsection in Section 2.2
4. **Fourth: Match Personality & Role** — Choose the best fit based on personality traits, tone, and character role

**Voice Selection Decision Tree:**

Is this a professional domain (Story/News/Documentary)? ├── YES → Select from voice_catalog Section 2.1 (filter by scenario + gender) └── NO → Select from voice_catalog Section 2.2: Step 1: Match Gender ├── Male character → Male voices only └── Female character → Female voices only Step 2: Match Age Group └── Children / Youth / Adult / Elderly / Professional Step 3: Match Language └── Filter to voices matching the content language Step 4: Match Personality & Role └── Choose best fit by tone, personality, character role


**Step 2.3: Emotions Segmentation** *(For non-2.8 series models only)*
For models other than speech-2.8 series, analyze emotions in your segments:
- For **long segments**, split further based on **emotional transitions**
- Add appropriate **emotion tags** to each segment
- Refer to Section 3 in [text-processing.md](reference/text-processing.md) for emotion tags and examples
- Skip this step for speech-2.8 models (emotion is auto-matched)

**Emotion Tags:**
- For speech-2.6 series (speech-2.6-hd and speech-2.6-turbo): happy, sad, angry, fearful, disgusted, surprised, calm, fluent, whisper
- For older models: happy, sad, angry, fearful, disgusted, surprised, calm (7 emotions)


**Step 2.4: Check and Post-processing**
Finally, review and optimize your script:
- Verify segment length limits (async TTS ≤1,000,000 characters)
- Clean up conversational text (remove speaker names if needed)
- Ensure consistency in voice and emotion tags
- **Critical check for multi-voice content**: For audiobooks, multi-voice fiction, or content where dialogue is presented from a first-person perspective, verify that narration and dialogue mixed in the same sentence are properly split.

  **When splitting IS needed (first-person dialogue in fiction/audiobooks):**
  
  Example: `"John asked, 'Where are you going?'"` should be split into:
  - Segment 1: `"John asked, "` - uses narrator voice (describes who is speaking)
  - Segment 2: `"Where are you going?"` - uses the character's voice (actual dialogue in first-person)

  This ensures proper voice differentiation: descriptive narration uses the narrator's voice, while the character's spoken words use the character's designated voice.

  **When splitting is NOT needed (third-person quotes in podcast/documentary/news):**
  
  In podcasts, documentaries, or news reports, quoted speech is typically presented in third-person narrative style - the speaker's words are being reported, not performed. Keep these as one segment with the narrator's voice and remove the speaker's name at the beginning:
  
  - `"Welcome to our show." → narrator voice, remove the speaker's name (like "The host said:") at the beginning
  - `"According to experts, 'This technology represents a significant breakthrough.'" → keep as one segment (narrator voice)
  - `"Scientists noted, 'The experimental results exceeded our expectations.'" → keep as one segment (narrator voice)
- **If the split is missing**: Go back to Step 2.1 and ensure dialogue portions are separated from narration with appropriate role labels.

**Create segments.json:**
After completing all 4 sub-steps, save the final `segments.json` to `<cwd>/audio/segments.json`.


### Step 2.5: Generate Preview for User Confirmation (Highly Recommended)

**For multi-voice content (audiobooks, dramas, etc.), always generate a preview first.**

This saves time and prevents waste when voice selections need adjustment.

**How to generate a preview:**
1. Create a smaller segments file with 10-20 representative segments (include all characters)
2. Generate the preview audio
3. Ask user to listen and confirm voice choices

**Preview segments.json example:**
```json
[
  {"text": "Narration opening...", "role": "narrator", "voice_id": "...", "emotion": ""},
  {"text": "Male character speaks...", "role": "male_character", "voice_id": "...", "emotion": ""},
  {"text": "Female character speaks...", "role": "female_character", "voice_id": "...", "emotion": ""},
  {"text": "More dialogue...", "role": "...", "voice_id": "...", "emotion": ""}
]

Preview command:

bash
python mmvoice.py generate segments_preview.json -o preview.mp3

When user confirms preview:

  • Use the same voice selections for the full segments.json
  • No need to re-select voices

Step 3: Present plan to user for confirmation

Before proceeding to validation and generation, present the segmentation plan to the user and wait for confirmation:

Present to the user:

  • Roles identified: List all characters/speakers in the text
  • Voice assignments: Show which voice_id is assigned to each role (include voice characteristics from voice_catalog.md)
  • Model being used: Explain why this model was selected
  • Language: Confirm the primary language of the content
  • Emotion approach: Auto-matched (speech-2.8) or manual tags (older models)

Example confirmation message:

I've analyzed the text and created a segmentation plan:

**Roles and Voices:**
- Narrator: male-qn-jingying (deep, authoritative, suitable for storytelling)
- Protagonist: female-shaonv (bright, energetic, youthful)
- Antagonist: male-qn-qingse (cool, menacing)

**Model:** speech-2.8-hd (recommended - automatic emotion matching)
**Language:** Chinese
**Segments:** 8 segments total

Please review and confirm:
1. ⚠️ **Gender Verification**: Do the voice genders match the character genders?
   - [Narrator: Male ✓] [Protagonist: Female ✓] [Antagonist: Male ✓]
2. ⚠️ **Language Verification**: Do the voice languages match the content language?
   - [All voices: Chinese ✓]
3. Are the voice assignments appropriate for each character (age, personality)?
4. Should any segments be combined or split differently?
5. Any other changes you'd like to make?

**After generation:**
- I'll generate a preview first for you to review
- Only after you confirm the audio quality will I clean up temporary files
- If not satisfied, I'll re-generate and we iterate until you're happy

Reply "confirm" to proceed, or let me know what to adjust.

Wait for user response:

  • If user confirms → Proceed to Step 4 (validate)
  • If user suggests changes → Update segments.json and present the plan again for confirmation
Step 4: Validate segments.json (model, emotion, voice_id validation)

Before generating audio, validate the segments file:

bash
# Default: speech-2.8-hd (auto emotion matching)
python mmvoice.py validate <cwd>/audio/segments.json

# Specify model for context-specific validation
python mmvoice.py validate <cwd>/audio/segments.json --model speech-2.6-hd

# Validate voice_ids against available voices (slower, requires API call)
python mmvoice.py validate <cwd>/audio/segments.json --validate-voices

# Combined options (recommended)
python mmvoice.py validate <cwd>/audio/segments.json --model speech-2.6-hd --validate-voices

# Use `--verbose` to see segment details
python mmvoice.py validate <cwd>/audio/segments.json --model speech-2.6-hd --validate-voices --verbose

Emotion Validation checks:

ModelEmotion Validation
speech-2.8-hd/turboEmotion can be empty (auto emotion matching)
speech-2.6-hd/turboAll 9 emotions supported
Older modelshappy, sad, angry, fearful, disgusted, surprised, calm (7 emotions)

Voice ID validation: With --validate-voices:

  • Calls API once to get all available voices
  • Validates each voice_id against the list
  • Shows errors for invalid voice_ids (blocks validation)
Step 5: Generate and merge audio

Generate audio for all segments and merge into final output.

File placement (default behavior if user doesn't specify):

<cwd>/                      # Claude's current working directory
└── audio/                  # Created automatically
    ├── tmp/                # Intermediate segment files
    │   ├── segment_0000.mp3
    │   ├── segment_0001.mp3
    │   └── ...
    └── <custom_audio_name>.mp3             # Final merged audio, name can be customized

Where <cwd> is Claude's current working directory (where commands are executed).

  • If -o is not specified, output goes to <cwd>/audio/output.mp3
  • Intermediate files go to <cwd>/audio/tmp/
  • After user confirms the final audio, ask whether to delete <cwd>/audio/tmp/

Basic usage:

bash
# Default: speech-2.8-hd, output to <cwd>/audio/output.mp3
python mmvoice.py generate <cwd>/audio/segments.json

# Specify output path
python mmvoice.py generate <cwd>/audio/segments.json -o <cwd>/audio/<custom_audio_name>.mp3

# Specify model if needed
python mmvoice.py generate <cwd>/audio/segments.json --model speech-2.6-hd

Skip existing segments (for rate limit retries):

bash
# Only generate segments that don't exist yet - skips already-generated files
python mmvoice.py generate <cwd>/audio/segments.json --skip-existing

Error handling:

  • If a segment fails, the script reports which segment and why
  • Use --continue-on-error to generate remaining segments despite failures
  • Use --skip-existing to skip already successfully generated segments (recommended for retries after rate limit)
  • The script automatically uses fallback merging if FFmpeg filter_complex fails
Show full SKILL.md (684 more words)Show less
Step 6: Confirm and cleanup

⚠️ CRITICAL: Never delete temp files until user confirms!

After generation completes, you MUST follow this exact sequence:

Step 6.1: Report generation result to user

✓ Audio saved to: <output_path>
  Generated: X/Y segments
  Intermediate files in: <cwd>/audio/tmp/

Step 6.2: Ask user to confirm audio quality Ask the user to listen to the audio and confirm:

  1. Is the audio quality satisfactory?
  2. Are all voices appropriate?
  3. Any adjustments needed?

Step 6.3: Wait for user response

Step 6.4: Only after user confirms, offer cleanup

After confirming audio quality, temporary files can be deleted with:
rm -rf <cwd>/audio/tmp/

NEVER execute rm -rf on temp files without explicit user confirmation!

If user is NOT satisfied:

  • Do NOT delete temp files
  • Discuss what needs to be adjusted
  • Re-generate affected segments if needed
  • Ask for confirmation again

Other Usage

Use the following when the task involves voice creation, single-voice TTS (sync/async), or audio processing instead of the main segment-based workflow. Each subsection gives CLI commands, script paths, and the reference doc to open for details.

Voice creation (clone / design / list)
  • Purpose: Create custom voices from audio (clone) or from a text description (design); list system and custom voices.
  • CLI (entry point: mmvoice.py):
    bash
    python mmvoice.py clone AUDIO_FILE --voice-id VOICE_ID   # Clone from 10s–5min audio
    python mmvoice.py design "DESCRIPTION" --voice-id ID      # Design from text
    python mmvoice.py list-voices                             # List all voices
  • Scripts: scripts/voice_clone.py (clone), scripts/voice_design.py (design), scripts/voice_management.py (list/manage).
  • Documentation: reference/voice-guide.md — cloning (quick + high-quality + step-by-step), design workflow, management.
Text-to-speech (sync / async)
  • Purpose: Single-voice TTS: sync for short text (≤10k chars), async for long text (up to 1M chars); optional streaming.
  • CLI:
    bash
    python mmvoice.py tts "TEXT" -o OUTPUT.mp3 [-v VOICE_ID] [--model MODEL]
  • Scripts: scripts/sync_tts.py (HTTP/WebSocket sync), scripts/async_tts.py (async task + poll).
  • Documentation: reference/tts-guide.md — sync TTS, async TTS, streaming, segment-based production.
Audio processing (merge / convert / normalize)
  • Purpose: Merge files (with optional crossfade), convert format, normalize loudness, trim.
  • CLI:
    bash
    python mmvoice.py merge FILE1 [FILE2 ...] -o OUTPUT [--crossfade MS]
    python mmvoice.py convert INPUT -o OUTPUT [--format FORMAT]
  • Script: scripts/audio_processing.py (merge, convert, normalize, trim).
  • Documentation: reference/audio-guide.md — format conversion, merging (filter_complex + concat demuxer fallback), normalization, trimming, optimization.
Segment-based TTS (main workflow)
  • CLI: validate and generate as in Steps 4–5 above.
  • Script: scripts/segment_tts.py.
  • Documentation: reference/cli-guide.md, reference/api_documentation.md.

Reference documents (on-demand)

Open these when you need concrete usage, parameters, or troubleshooting. Paths are relative to the skill root.

DocumentContent for the Agent
reference/cli-guide.mdAll CLI commands (validate, generate, tts, clone, design, list-voices, merge, convert, check-env) with options and examples. Use for correct CLI invocation.
reference/getting-started.mdEnvironment setup (venv, pip install, FFmpeg), MINIMAX_VOICE_API_KEY, basic synthesis test. Use for first-time setup or “env not working”.
reference/tts-guide.mdSync TTS (short text), async TTS (long text), streaming TTS, multi-segment production. Use for sync/async/streaming logic and parameters.
reference/voice-guide.mdVoice cloning (quick, high-quality with prompt audio, step-by-step), voice design, voice management. Use for custom voice creation flows.
reference/audio-guide.mdFormat conversion, merging (including crossfade and fallback), normalization, trimming, optimization. Use for merge/convert/normalize behavior and options.
reference/script-examples.mdCopy-paste runnable examples for sync TTS, async TTS, segment-based TTS, audio processing, voice clone/design/management. Use for quick Python snippets.
reference/troubleshooting.mdEnvironment (API key, FFmpeg), API errors, segment-based TTS, audio, voice. Use when an error message or unexpected behavior appears.
reference/api_documentation.mdFull API reference: config, sync/async TTS, emotion parameter, segment-based TTS, voice clone/design/management, audio processing, common parameters, error handling. Use for exact function signatures and parameter details.
reference/voice_catalog.mdSystem voices list (male/female/beta), selection guide, voice parameters, custom voices, voice IDs. Use to choose or look up voice_id.

Important notes

Requirements
  • Python: 3.8 or higher
  • API Key: MINIMAX_VOICE_API_KEY environment variable must be set
  • FFmpeg: Required for audio processing (merge, convert, normalize)
    • Install: brew install ffmpeg (macOS) or sudo apt install ffmpeg (Ubuntu)
Limits and constraints
  • Text length: Sync TTS ≤10,000 chars; async TTS ≤1,000,000 chars
  • Voice cloning: Audio must be 10s–5min duration, ≤20MB, formats: mp3/wav/m4a
  • Voice expiration: Custom voices (cloned/designed) expire after 7 days if not used with TTS
Special features
  • Pause insertion: Use <#x#> in text where x = pause duration in seconds (0.01–99.99)
    • Example: "Hello<#1.5#>world" creates 1.5s pause between words
  • Supported emotions: happy, sad, angry, fearful, disgusted, surprised, calm, fluent, whisper
    • speech-2.8: automatic matching; speech-2.6: all 9; older models: first 7
Troubleshooting

© LeoYeAI, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 23 other files (scripts) in skills/mm-voice-maker of LeoYeAI/openclaw-master-skills.

  • SKILL.md
  • _meta.json
  • check_environment.py
  • mmvoice.py
  • reference/api_documentation.md
  • reference/audio-guide.md
  • reference/cli-guide.md
  • reference/getting-started.md
  • reference/script-examples.md
  • reference/text-processing.md
  • reference/troubleshooting.md
  • reference/tts-guide.md
  • reference/voice-catalog.md
  • reference/voice-guide.md
  • requirements.txt
  • scripts/__init__.py
  • scripts/async_tts.py
  • scripts/audio_processing.py
  • scripts/segment_tts.py
  • … and 5 more

Open the folder on GitHubat commit e5199b5

Compare with similar skills

Mm Voice Maker next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Mm Voice Maker compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Mm Voice Maker this skillLeoYeAI/openclaw-master-skills2.2k—~6.6kAutomated safety check: NotesMIT
Vox ExplainerCK42BB/vox-explainer-skill109—~2.6kAutomated safety check: PassMIT
Videohub Story Editorcacity/VideoHub168—~2.3kAutomated safety check: NotesMIT
MiniMax Multimodal Toolkitmadebyaris/advance-minimax-m3-cursor-rules126—~1.6kAutomated safety check: PassMIT
Media Productionleon-ai/leon18k—~999Automated safety check: PassMIT
Vox DirectorAlisa0808/vox-director2.2k—~5.6kAutomated safety check: PassMIT

Similar skills

  • Vox Explainer

    CK42BB/vox-explainer-skill

    End-to-end pipeline for producing Vox-style explainer videos from a single topic prompt.

    109 GitHub stars~2.6k tokensUpdated 3 mo ago
    Media & CreativeAuto-check passed
  • Videohub Story Editor

    cacity/VideoHub

    把长视频或已有字幕转成有完整叙事的几分钟短片。先基于原文字幕和画面证据理解、选段与重排,再对最终时间轴重新翻译和可选润色;既可输出保留原声的双语字幕版,也可把原声降到 30% 并用 MiniMax 或豆包 TTS 生成影视解说、短剧混剪、播客串讲或知识解读版。已有项目可进入本地五轨时间线继续调整切点、旁白、原声窗口、字幕、音量和转场,并按修订版本渲染。用于“把长视频讲成短故事”“按字幕自动剪辑”…

    168 GitHub stars~2.3k tokensUpdated 9 days ago
    Media & CreativeAuto-check: notes
  • MiniMax Multimodal Toolkit

    madebyaris/advance-minimax-m3-cursor-rules

    Routes image, video, voice, music and media-processing requests to the smallest suitable MiniMax or local path, with FFmpeg-style processing around generated media.

    126 GitHub stars~1.6k tokensUpdated 3 mo ago
    Media & CreativeAuto-check passed
  • Media Production

    leon-ai/leon

    Generates images, audio and video through Leon's media tools, joins them with FFmpeg, checks the output and attaches playable files for the owner.

    18k GitHub stars~999 tokensUpdated today
    Media & CreativeAuto-check passed
  • Vox Director

    Alisa0808/vox-director

    Turn ONE topic into a finished Vox-style paper-collage explainer / ad video, end to end on the Atlas Cloud API + local ffmpeg — script, collage keyframes, motion, voice-over, music, captions, all…

    2.2k GitHub stars~5.6k tokensUpdated 5 days ago
    Media & CreativeAuto-check passed
  • Explain Video

    limin112/min-skill

    Build a narrated explainer video from a concept — discussion → structure → HTML slide deck → narration script → TTS voice → subtitles → background music → Playwright screen recording → ffmpeg…

    454 GitHub stars~2.4k tokensUpdated 2 days ago
    Media & CreativeAuto-check passed

More from LeoYeAI/openclaw-master-skills

All 1,200 skills in this repo
  • DevOps Pipeline Management

    LeoYeAI/openclaw-master-skills

    Manages pipelines on a DevOps quality and efficiency platform through its OpenAPI: list workspaces and templates, create, update, run and cancel pipelines, and read run records.

    2.2k GitHub stars~4.2k tokensUpdated 2 mo ago
    Auto-check: notes
  • Feishu Document Collaboration

    LeoYeAI/openclaw-master-skills

    Patches OpenClaw's Feishu extension so an edited document triggers an isolated agent session that reads the doc and replies inline, turning it into a live chat space.

    2.2k GitHub stars~2k tokensUpdated 2 mo ago
    Auto-check passed
  • Files Memory System

    LeoYeAI/openclaw-master-skills

    Multi-context memory management system for OpenClaw agents with group-isolated storage, global shared memory, workspace organization, and group-specific skills isolation.

    2.2k GitHub stars~3.8k tokensUpdated 2 mo ago
    Auto-check passed
  • GEO-Claw AI Visibility Agent

    LeoYeAI/openclaw-master-skills

    Runs a brand's AI-search visibility work end to end: diagnosing how AI platforms represent it, repositioning it, producing AI-optimized content and monitoring ongoing mentions.

    2.2k GitHub stars~4.7k tokensUpdated 2 mo ago
    Auto-check passed
  • Google Workspace CLI

    LeoYeAI/openclaw-master-skills

    Installs and authenticates the gws CLI, then automates Gmail, Drive, Sheets, Calendar, Docs, Chat and Tasks with ready-made recipes, persona bundles and security audits.

    2.2k GitHub stars~2.6k tokensUpdated 2 mo ago
    Auto-check: notes
  • HealthFit Health Advisors

    LeoYeAI/openclaw-master-skills

    Runs four advisor roles, a fitness coach, nutritionist, data analyst and TCM practitioner, to build a health profile and track workouts, diet and wellness over time.

    2.2k GitHub stars~4.4k tokensUpdated 2 mo ago
    Auto-check passed

Works with

Questions about Mm Voice Maker

What does Mm Voice Maker do?

Enables voice synthesis, voice cloning, voice design, and audio post-processing using MiniMax Voice API and FFmpeg. Mm Voice Maker is an agent skill from LeoYeAI/openclaw-master-skills. Enables voice synthesis, voice cloning, voice design, and audio post-processing using MiniMax Voice API and FFmpeg.

When should I use Mm Voice Maker?

Mm Voice Maker fits situations like: converting text to speech; creating custom voices; processing/merging audio.

How do I install Mm Voice Maker in Claude Code?

Run `npx skills add LeoYeAI/openclaw-master-skills --skill mm-voice-maker -a claude-code`. Or copy the skill folder (skills/mm-voice-maker in LeoYeAI/openclaw-master-skills) into .claude/skills/mm-voice-maker in your project. Claude Code loads it when a task matches its description.

How do I install Mm Voice Maker in Codex?

Run `npx skills add LeoYeAI/openclaw-master-skills --skill mm-voice-maker -a codex`. Or copy the skill folder (skills/mm-voice-maker in LeoYeAI/openclaw-master-skills) into .agents/skills/mm-voice-maker in your project. Codex loads it when a task matches its description.

Can I use Mm Voice Maker in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add LeoYeAI/openclaw-master-skills --skill mm-voice-maker -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/mm-voice-maker, .gemini/skills/mm-voice-maker, .github/skills/mm-voice-maker and .opencode/skills/mm-voice-maker in your project.

What does Mm Voice Maker need to run?

Going by SKILL.md and its folder, Mm Voice Maker needs Python for the scripts in its folder, the command-line tools its instructions call (python, pip, brew and apt) and credentials named MINIMAX_VOICE_API_KEY. Our summary lists: Python 3; A credential in MINIMAX_VOICE_API_KEY.

Does Mm Voice Maker access the network?

SKILL.md contains no URLs. Its commands use pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Mm Voice Maker safe to install?

Our automated static check of SKILL.md found notes only (runs commands with sudo), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Mm Voice Maker use?

Mm Voice Maker is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Mm Voice Maker use?

About 6.6k tokens (SKILL.md is roughly 26k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Mm Voice Maker?

Skills that share tags, products or a category with Mm Voice Maker: Vox Explainer (CK42BB/vox-explainer-skill, 109 stars), Videohub Story Editor (cacity/VideoHub, 168 stars), MiniMax Multimodal Toolkit (madebyaris/advance-minimax-m3-cursor-rules, 126 stars) and Media Production (leon-ai/leon, 18k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Mm Voice Maker?

LeoYeAI (a GitHub user) maintains it in LeoYeAI/openclaw-master-skills, which has 2,161 GitHub stars. The repository holds 1,235 skills in this directory. The repository was last updated on July 20, 2026.

Source: LeoYeAI/openclaw-master-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.