首页龙虾技能列表 › For using minimax mcp to generate audio, image, video to telegram. — 技能工具

For using minimax mcp to generate audio, image, video to telegram. — 技能工具

v1.0.0

Generate images, audio, video using MiniMax MCP and send to Telegram. Use when user wants to create media with MiniMax and deliver it via Telegram.

0· 803·3 当前·3 累计
by @hoyin258·MIT-0
下载技能包
License
MIT-0
最后更新
2026/4/12
安全扫描
VirusTotal
可疑
查看报告
OpenClaw
可疑
high confidence
The instructions match the stated purpose (generate media via MiniMax and send it to Telegram), but the skill metadata omits required credentials and a few operational details; it also instructs sending presigned URLs (containing auth tokens) into Telegram chats, which has privacy implications.
评估建议
Before installing or using this skill: (1) be aware the SKILL.md requires a MINIMAX_API_KEY (and MINIMAX_RESOURCE_MODE) but the published metadata does not list these — verify and supply the MiniMax API key only if you trust the MiniMax service. (2) The instructions explicitly tell you to send the FULL presigned URLs returned by MiniMax (they contain authentication tokens in the query string) to Telegram; anyone with that URL can access the media until the token expires — avoid sending sensitive...
详细分析 ▾
用途与能力
The skill's description is consistent with the instructions (use MiniMax MCP via mcporter and deliver results to Telegram). However, the published metadata declares no required environment variables while the SKILL.md clearly requires MINIMAX_API_KEY (and MINIMAX_RESOURCE_MODE) — this metadata omission is an incoherence that can mislead users about what credentials are needed.
指令范围
SKILL.md stays within the stated purpose (install mcporter, call MCP tools, then send returned URLs to Telegram). However it instructs the agent/user to read or set ~/.mcporter/config.json and to include full presigned URLs with query-string authentication tokens when sending media. The instructions therefore require access to a local config file and to share URLs that embed auth tokens; both are material behaviors that were not declared in the manifest.
安装机制
There is no formal install spec (instruction-only), which is low risk for the skill bundle itself. The README tells users to install mcporter via npm (npm install -g mcporter or npx). Installing a global npm package is a normal, expected step but is an external action the user must trust; the skill does not automatically download or execute anything itself.
凭证需求
The runtime instructions require MINIMAX_API_KEY and optionally MINIMAX_RESOURCE_MODE, but the registry metadata lists no required env vars or primary credential — this mismatch is a clear inconsistency. The SKILL.md also assumes a Telegram 'message' tool/integration will be available (and that the agent has Telegram credentials), but does not document any Telegram token or configuration requirement. The credential requests that do appear (MiniMax API key) are appropriate for the feature, but they are not declared in the skill metadata.
持久化与权限
The skill is instruction-only, has no install spec, and does not request always: true or other elevated persistence. It does not attempt to modify other skills or system-wide configurations in its instructions.
安全有层次,运行前请审查代码。

License

MIT-0

可自由使用、修改和再分发,无需署名。

运行时依赖

无特殊依赖

版本

latestv1.0.02026/2/16

Initial release of minimax-to-telegram. - Generate images, audio, and videos using MiniMax MCP and send them directly to Telegram. - Comprehensive setup instructions for installing mcporter and configuring the MiniMax API Key. - Detailed usage examples for generating and sending images, audio, and video to Telegram, including required parameters. - Clear guidance on sending media to Telegram, emphasizing the use of full media URLs with authentication tokens. - Includes troubleshooting tips for timeouts, background processing, and common errors (e.g., 403 Forbidden). - Special tips for generating and delivering Cantonese (廣東話) audio content.

● 可疑

安装命令 点击复制

官方npx clawhub@latest install minimax-to-telegram
镜像加速npx clawhub@latest install minimax-to-telegram --registry https://cn.clawhub-mirror.com

技能文档

1. Install mcporter

# 如果未有 npm/npx
npm install -g mcporter

或者用 npx 直接跑:

npx mcporter --help

2. Set MiniMax API Key

响 terminal 度 set 環境變數:

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

或者响 ~/.mcporter/config.json 入面 set:

{
  "env": {
    "MINIMAX_API_KEY": "your-api-key-here",
    "MINIMAX_RESOURCE_MODE": "url"
  }
}

3. Add MiniMax MCP Server

mcporter mcp add minimax-mcp

# MiniMax MCP Skill

Use mcporter to call MiniMax MCP server tools.

Prerequisites

  • mcporter CLI installed
  • MiniMax MCP server configured in mcporter

Available Tools

ToolDescription
text_to_imageGenerate images from text prompts
text_to_audioConvert text to speech (TTS)
generate_videoGenerate videos from text prompts
image_to_videoGenerate videos from images
music_generationGenerate music from prompt + lyrics
voice_cloneClone voice from audio file
voice_designGenerate voice from description
list_voicesList available voice IDs
play_audioPlay audio file

Basic Usage

Image Generation

mcporter call minimax-mcp.text_to_image prompt:"your prompt" aspectRatio:"4:3"

Audio Generation (TTS)

mcporter call minimax-mcp.text_to_audio text:"Hello world" voiceId:"male-qn-qingse"

Video Generation

mcporter call minimax-mcp.generate_video prompt:"your video description"

Sending to Telegram

IMPORTANT: When MiniMax returns a URL, it includes a query string with authentication token. You MUST use the FULL URL including all query parameters.

Correct (full URL with token):

?Expires=xxx&OSSAccessKeyId=xxx&Signature=xxx

Incorrect (URL without token):


Sending Image to Telegram

  • Call text_to_image and capture the FULL URL (including query string)
  • Send directly to Telegram using message tool with media parameter:
message(
  action="send",
  channel="telegram",
  target="",
  media="",
  message="Your caption"
)

Sending Audio to Telegram

Same approach - use FULL URL with token:

message(
  action="send",
  channel="telegram",
  target="",
  media="",
  message="Your caption"
)

IMPORTANT: When sending audio, ALWAYS include the text content as the message caption below the audio!

Example:

# Generate audio
audio_url = "?Expires=xxx&Signature=xxx"
text_content = "呢段係你想既文字內容..."

# Send with both audio and text message( action="send", channel="telegram", target="", media=audio_url, message=text_content # Always include the text! )

Common Parameters

text_to_image

  • prompt: Text description of desired image
  • aspectRatio: "1:1", "16:9", "4:3", "3:2", "2:3", "3:4", "9:16", "21:9"
  • n: Number of images (1-9)
  • model: Model to use (default: "image-01")

text_to_audio

  • text: Text to convert to speech
  • voiceId: Voice ID (e.g., "male-qn-qingse", "female-shaonv")
  • speed: Speech speed (0.5-2)
  • emotion: "happy", "sad", "angry", "fearful", "disgusted", "surprised", "neutral"
  • format: "mp3", "wav", "pcm", "flac"
  • languageBoost: Enhance recognition for specific languages/dialects
- Cantonese: "Chinese,Yue" or "Chinese" - Mandarin: "Chinese" or "Chinese,Mandarin" - English: "English" - Always include this when generating Cantonese audio!

generate_video

  • prompt: Video description
  • model: "T2V-01", "T2V-01-Director", "I2V-01", "I2V-01-Director", "I2V-01-live", "MiniMax-Hailuo-02"
  • duration: 6 or 10 (for MiniMax-Hailuo-02)
  • resolution: "768P", "1080P"

Optimization & Troubleshooting

  • Timeout Management: Video generation can take significant time (up to 20-30 minutes for high-quality 10s clips). Always pass a large --timeout value (e.g., --timeout 1800000) to mcporter to prevent early termination.
  • Gateway Turn Limit: Most OpenClaw profiles have a 10-minute turn timeout (600000ms). To avoid being killed by the gateway, ALWAYS run generate_video with background: true or inside a background process.
  • Model Choice: Use MiniMax-Hailuo-02 for higher quality 10-second videos.

Error Handling

If you get 403 Forbidden when sending to Telegram:

  • Make sure you're using the FULL URL with query string
  • The token (Signature) expires - regenerate if needed

Notes

  • MiniMax MCP must be configured with MINIMAX_RESOURCE_MODE=url in mcporter config
  • Generated media URLs include authentication tokens that expire
  • Always use the complete URL returned by MCP calls

Cantonese (廣東話) Tips

When generating Cantonese audio:

  • Use voice ID from Cantonese category (e.g., "Cantonese_PlayfulMan", "Cantonese_CuteGirl")
  • Always add: languageBoost:"Chinese,Yue" or languageBoost:"Chinese"
  • Example:
  mcporter call minimax-mcp.text_to_audio text:"新年快樂" voiceId:"Cantonese_PlayfulMan" languageBoost:"Chinese,Yue"
  

数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制

免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制

了解定制服务