Unified Multimedia Generation: Invoking MiniMax Speech, Music, Image, and Video within Agents

Preface

In conversational Agents, performing voice-over, background music, image generation, or short video creation usually involves checking MiniMax documentation, hand-writing curl commands, or assembling local FFmpeg scripts. This process is fragmented and prone to missing regional endpoints, API keys, and output directory conventions. Below is an introduction to Minimax Multimedia Generation (@user_6f64fcbc/minimax-multimedia-generate) on SkillHub: it encapsulates TTS, music, image, video generation, and local media processing into a set of bash scripts, allowing the Agent to call the MiniMax API according to the workflow defined in SKILL.md.

What is this

Minimax Multimedia Generation is a community-sourced (community) Agent Skill. The current version is 1.0.0, categorized under design-media, with subcategories covering image generation, video processing, and audio processing. The publisher is user_6f64fcbc; the version notes state that the content is reposted from a third-party author of the Minimax Agent web version. The SkillHub tag is requires_api_key=true; a MiniMax API Key must be configured before use.

Official Entry Points:

  • API Page: https://api.skillhub.cn/user_6f64fcbc/minimax-multimedia-generate
  • SkillHub Details: https://www.skillhub.cn/skills/user_6f64fcbc/minimax-multimedia-generate

The main document within the Skill package is SKILL.md (English title: MiniMax Multi-Modal Toolkit). It connects to the MiniMax Open Platform via environment variables and does not rely on Python; the scripts are based on curl, ffmpeg, jq, and xxd.

Core Functions

The following capabilities are derived from the Skill package’s SKILL.md and accompanying references/ and scripts/:

Capability Description Entry Script
TTS Text-to-Speech with multiple voices and emotions; supports multi-segment merging scripts/tts/generate_voice.sh
Voice Cloning / Voice Design Clone from samples or create voice profiles via text description Same as above (clone / design)
Music Generation Songs with lyrics or pure accompaniment (default model music-2.5) scripts/music/generate_music.sh
Image Generation Text-to-image, character reference image generation (image-01) scripts/image/generate_image.sh
Video Generation Text-to-video, image-to-video, first/last frame, subject reference, etc. scripts/video/generate_video.sh
Long Video Multi-scene串联 (concatenation) and transitions scripts/video/generate_long_video.sh
Media Tools Format conversion, merging, cropping, audio extraction, mixing scripts/media_tools.sh

Generated artifacts must be placed in minimax-output/ under the Agent’s current working directory (explicit --output / -o is required for each call), and intermediate files can be placed in minimax-output/tmp/.

Installation and Activation

1. Install SkillHub CLI (if not already installed)

Check or install according to the SkillHub Installation Documentation:

command -v skillhub && skillhub --version

If not installed, you can execute:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

2. Install this Skill

During installation, you must use --dir to point to the current Agent’s skills directory; otherwise, if it defaults to ./skills/, it may not be loaded. Common path examples:

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project
skillhub install @user_6f64fcbc/minimax-multimedia-generate --dir ~/.cursor/skills/

You can also download the Zip (minimax-multimedia-generate-1.0.0.zip) from the SkillHub page and extract it to the corresponding skills directory. The installation prompt provided on the page is: Install @user_6f64fcbc/minimax-multimedia-generate based on https://skillhub.cn/install/skillhub.md.

3. System Dependencies and API Configuration

Under the Skill directory or before specifying the script path, first install ffmpeg and jq (Linux users can use apt install ffmpeg jq), and run the environment check:

bash <skill_directory>/scripts/check_environment.sh

Configure the regional API host and key (choose either中国大陆 or Global, must match the platform where the user account is located):

# Mainland China: https://platform.minimaxi.com
export MINIMAX_API_HOST="https://api.minimaxi.com"

# Global: https://platform.minimax.io
# export MINIMAX_API_HOST="https://api.minimax.io"

export MINIMAX_API_KEY="sk-api-your-key"

Keys can be obtained from the console of the corresponding platform; if not set, the Agent should confirm with the user and assist in writing to the shell configuration as required by the SKILL.

Typical Usage

The following examples assume the Skill scripts are called from the Agent’s working directory (using absolute or relative paths after installation), and mkdir -p minimax-output has been executed.

Single Voice-over (Default Scenario)

bash <skill_directory>/scripts/tts/generate_voice.sh tts "Hello World" \
  -v female-shaonv -o minimax-output/hello_cn.mp3

Text-to-Image

bash <skill_directory>/scripts/image/generate_image.sh \
  --prompt "Cat on a roof at sunset, cinematic warm tones, realistic" \
  --aspect-ratio 16:9 \
  -o minimax-output/cat.png

Default Short Video (6s, 768P, Text-to-Video)

Before generating, optimize the prompt according to references/video-prompt-guide.md; example:

bash <skill_directory>/scripts/video/generate_video.sh \
  --mode t2v \
  --prompt "Golden retriever puppy running towards the camera in a sunny meadow, [Follow] tracking shot, warm golden hour, shallow depth of field" \
  --output minimax-output/puppy.mp4

Generate Accompaniment and Mix for Video

bash <skill_directory>/scripts/video/add_bgm.sh \
  --video minimax-output/puppy.mp4 \
  --generate-bgm --instrumental \
  --music-prompt "soft piano background" \
  --bgm-volume 0.3 \
  --output minimax-output/puppy_with_bgm.mp4

For complete parameters and segmented JSON formats for multi-character audiobooks, long video storyboards, and template videos, please refer to the SKILL.md and the API descriptions under references/ within the Skill.

Use Cases and Notes

Who is it for

  • Users working in Agents that support Skills (such as Cursor, Claude Code, Codex) and need to delegate MiniMax multimodal capabilities to the Agent to execute according to documentation.
  • Teams or individuals requiring unified output directories, quota prompts (TTS, image, video limits under Starter / Plus / Max plans), and FFmpeg post-processing pipelines.

Limitations and Notes

  1. Must provide your own MiniMax API Key, and select api.minimaxi.com or api.minimax.io based on the account.
  2. The SKILL emphasizes that the video default is 768P, 6 seconds; various plans do not support 1080P, and daily video quotas are limited, so it is advisable to confirm with the user before generation.
  3. This is a community Skill; the author has not displayed official certification on SkillHub; the page security scan result is “Safe, No Risk,” but it is still recommended to review the scripts yourself before production use.
  4. SkillHub statistics (at time of scraping): approximately 1006 downloads, rating 100000, 3 favorites; the overview text on the store page is empty, details should be based on SKILL.md in the installation package.

Conclusion

Minimax Multimedia Generation consolidates MiniMax’s voice, music, image, and video APIs with local media tools into a single Agent Skill, reducing the cost of repeatedly checking documentation and piecing together scripts. For installation and updates, please refer to SkillHub:

https://www.skillhub.cn/skills/user_6f64fcbc/minimax-multimedia-generate

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye