Introduction¶
When working on audio/video or image-related requirements, the common path is checking MPS documentation, assembling API parameters, uploading files to COS, and polling for TaskIds. This is a long process, and capabilities like transcoding, enhancement, subtitles, and AIGC are scattered across different interfaces. If you are already using Skill extensions in environments like Cursor or Claude Code, you can hand off the “describe requirement → select script → call cloud API → check task” workflow to the specifications and scripts within the Skill, rather than integrating from scratch every time.
Below is an introduction to Tencent MPS on SkillHub (coordinates @tencent-adm/tencent-mps), including installation, configuration, and typical usage.
What is this¶
Tencent MPS is an Agent-oriented SKILL.md format skill package published by the Tencent Video Cloud MPaaS Team (SkillHub Source: enterprise, Category: design-media). The current SkillHub version is v1.3.2, tagged with requires_api_key=true, meaning you must configure Tencent Cloud API keys and COS before you can actually initiate processing tasks.
It encapsulates Tencent Cloud MPS (Media Processing Service) capabilities for audio/video and image processing, AI generation, and content understanding into trigger scenarios and accompanying Python scripts that Agents can recognize. When operations like actual uploading, transcoding, or enhancement are involved, the Agent calls them according to the Skill’s instructions. The Skill description explicitly states that it will not trigger if only consulting on capabilities without requiring actual processing.
Official Entry Points:
- Skill API / Info Page: https://api.skillhub.cn/tencent-adm/tencent-mps
- SkillHub Page: https://www.skillhub.cn/skills/tencent-adm/tencent-mps
- Upstream Repository (as noted by SkillHub): https://clawhub.ai/ollielin/tencent-mps
- Tencent Cloud Deployment Guide: https://cloud.tencent.cn/document/product/862/129183
Core Features¶
The following capabilities are derived from the SkillHub brief and page descriptions, categorized by scenario. For specific parameters and script names, refer to the installed SKILL.md and references/.
Video & Audio¶
- Transcoding: Transcoding, compression, format conversion, remuxing; H.264 / H.265 / AV1, bitrate, resolution, etc.
- Quality Enhancement: Quality restoration, old film restoration, super-resolution, portrait enhancement, anime enhancement, stabilization, face fidelity, upscaling to 1080P / 2K / 4K, etc.
- Audio: Audio separation, vocal extraction, accompaniment extraction, vocal removal, noise reduction, volume normalization.
- Orientation Conversion: Landscape / Portrait conversion, 9:16 / 16:9, ROI smart cropping, AIGC scene completion, short video aspect ratio conversion.
- Highlights & Commentary: Highlight reels, key moment extraction, auto-editing (including scenarios for sports, short dramas, VLOGs); short drama commentary, short drama remixing.
- Secondary Creation & Deduplication: Face swap, person replacement, interlaced video; video deduplication, picture-in-picture, video extension.
- Quality Inspection: Media quality inspection, image quality detection, blur / glitch / stutter detection, audio quality inspection.
Subtitles, Erase & Dubbing¶
- Subtitles: Subtitle extraction, subtitle translation, speech recognition / speech-to-text, ASR / OCR subtitles, SRT, video translation.
- Erase: Subtitle removal, watermark removal, face blur, license plate blur, mosaics (video and image capabilities are distinguished by separate scripts within the Skill).
- Dubbing: Speech synthesis / TTS, text-to-speech, AI dubbing, voice cloning / voice replication.
Images & E-commerce¶
- Image Enhancement: Image super-resolution, beautification, noise reduction, color enhancement, low-light enhancement.
- Matting & Outpainting: AI matting, background removal, transparent PNG, AI outpainting, image restoration.
- Image Editing: Inpainting, object detection, storyboard splitting, multi-view generation, angle change, watermark removal.
- Image Understanding: Image OCR, image Q&A, AI image viewing.
- E-commerce Images: AI try-on, image dress-up, model replacement / body shape replacement, background replacement, background fusion, product set images, poster set images, etc.
AIGC & Documents¶
- AIGC: AI image generation / text-to-image / image-to-image, panoramic images; AI video generation / text-to-video / image-to-video, reference video, storyboard generation; The Skill brief mentions scenarios related to models like Kling, Vidu, Mingmou, PixVerse, and Hunyuan.
- AI Audio Generation: Text-to-sound effects, video-to-sound effects, text-to-music, BGM generation, song covers, etc.
- Document to Video: Generating videos from PDF / PPT / Word documents.
Content Understanding, COS & Operations¶
- Multimodal Understanding: Audio/video understanding, video summarization, scene recognition, content analysis, comparative analysis of multiple audio/video segments, audio understanding.
- COS: Upload, download, list bucket files, view directories, etc. — Must use the COS scripts included with this Skill; the Skill requires disabling alternatives like
coscli,tccli,aws s3. - Tasks & Usage: Query MPS tasks / TaskIds, environment variable checks, MPS usage queries.
- Comparison: Generate comparison pages (the Skill provides a local comparison tool script).
The Skill calls APIs via Tencent Cloud Official SDKs (such as tencentcloud-sdk-python, cos-python-sdk-v5); task fees are consistent with direct MPS API calls and are pay-as-you-go. See the “How Skills are Billed” section in the Tencent Cloud Billing Description.
Installation & Enablement¶
1. Install SkillHub CLI (if not installed)¶
First, check if the CLI exists:
command -v skillhub && skillhub --version
If not installed, you can follow the SkillHub installation documentation to perform a full installation (CLI + default Skill):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
To install only the CLI:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
Documentation: https://skillhub.cn/install/skillhub.md
2. Install Tencent MPS¶
When installing, you must use --dir to point to the current Agent’s skills directory; otherwise, installing to the default ./skills/ might not be recognized.
skillhub install tencent-adm/tencent-mps --dir <your skills directory>
You can also ask the Agent in the conversation to install it according to SkillHub instructions. Example prompt (from the SkillHub page):
Please install `@tencent-adm/tencent-mps` based on https://skillhub.cn/install/skillhub.md.
Common skills paths for various clients (excerpted from SkillHub installation docs):
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
Clients like WorkBuddy can install directly from the Skill Market page; you can also use the Zip package provided by SkillHub and request installation within an agent conversation (see the Tencent Cloud deployment guide).
3. Prerequisites (Tencent Cloud)¶
You need the following before use (see Tencent Cloud MPS Skill Deployment Guide):
- A registered Tencent Cloud account with Media Processing Service (MPS) activated, and service-related role authorization completed.
- COS activated with a created bucket. Record the bucket name (e.g.,
examplebucket-1250000000) and region (e.g.,ap-guangzhou); the guide suggests creating a separate bucket for the Skill and setting it to public-read, private-write. - Obtain SecretId and SecretKey from Access Management.
4. Configure Environment Variables¶
The Skill documentation requires configuring keys via the user environment. Do not ask others to fill in the SecretKey for you in conversations. You can set them in ~/.env (highest priority), .env in the Skill directory, ~/.bashrc, or ~/.profile.
Check if configuration is complete:
python3 scripts/mps_load_env.py --check-only
(Execute within the Skill installation directory; <SKILL_DIR> refers to the path where tencent-mps is located.)
Required items example (replace placeholders with real values; copying them directly will cause authentication failures like AuthFailure.SecretIdNotFound):
export TENCENTCLOUD_SECRET_ID="<SecretId>"
export TENCENTCLOUD_SECRET_KEY="<SecretKey>"
export TENCENTCLOUD_API_REGION="<MPS API Region, e.g., ap-guangzhou>"
export TENCENTCLOUD_COS_BUCKET="<Bucket Name>"
export TENCENTCLOUD_COS_REGION="<Bucket Region, e.g., ap-guangzhou>"
Optional for International site users:
export TENCENTCLOUD_MPS_ENDPOINT="mps.intl.tencentcloudapi.com"
After modifying ~/.bashrc, execute:
source ~/.bashrc
5. Install Python Dependencies¶
For first-time use, install script dependencies in the Skill directory:
python3 -m pip install -r scripts/requirements.txt
It is recommended to run --upgrade periodically to support new models and capabilities (as per Skill documentation).
Typical Usage¶
Once configured, simply describe your requirements in natural language within the Agent conversation. The Agent will select the corresponding script according to the Skill (e.g., mps_transcode.py for transcoding, mps_enhance.py for enhancement, mps_subtitle.py for subtitles, etc.). Processing targets are mostly URLs or COS paths, and asynchronous tasks can be tracked via TaskIds using the task query scripts provided by the Skill.
The following conversation examples are from the official Tencent Cloud deployment guide. You can reproduce the phrasing directly (replace URLs or files with your resources):
Video Transcoding & Compression
Help me transcode and compress this video to H265 format.
https://example.com/video.mp4
Quality Improvement
This short drama video is a bit blurry. Please use large model enhancement to upscale the resolution to 2K.
Subtitles & Erasing (Translation Scenario)
Extract the subtitles from this Chinese video, translate them to English, and export an SRT subtitle file for me. Then, erase the Chinese subtitles from the video.
AI Image Generation
Use the GEM model to generate an image for me:
A cyberpunk style city night view, with neon lights reflected on the street after rain.
AI Video Generation
Use Hunyuan to generate a video for me:
A cherry blossom forest, petals falling with the wind, sunlight filtering through the leaves.
Note: The first call may be slow due to installing SDKs and other dependencies; COS-related operations should use the built-in COS scripts of the Skill, not coscli / tccli / aws s3.
Use Cases & Caveats¶
Who it is for
- Teams or individuals already handling media within Agent workflows who want to unify their processes using Tencent Cloud MPS.
- Scenarios requiring coverage of long chains like transcoding, enhancement, subtitles, erasure, AIGC, understanding, and quality inspection without writing separate integration code for each API.
- Trigger scenarios listed in the Skill brief, such as short drama translation, e-commerce images, document-to-video, and highlight editing.
Limitations & Cautions
- API Keys and COS must be configured; Skill scripts will exit with an error if
TENCENTCLOUD_API_REGIONis not set. - MPS pay-as-you-go fees will be incurred, consistent with direct API calls.
- Compliance & Keys: Do not leak SecretKeys or send them in group chats; capabilities like erasure, face swap, and watermark removal must comply with platform and legal requirements.
- COS Paths: The guide suggests using a dedicated Bucket and appropriate read/write policies to facilitate Agents writing back results.
- Pure Consultation: If you are only asking “what capabilities are supported” and do not need actual processing, the Skill is designed not to trigger script execution.
SkillHub Public Data (as of page display): Enterprise source, v1.3.2; SkillHub Tencent Cloud site shows approximately 41,000 downloads and an AI rating of 4.7; Pre-fetched metadata also contains statistics like installation volume. Please refer to the current SkillHub page for the most accurate data.
Conclusion¶
Tencent MPS consolidates Tencent Cloud MPS capabilities such as transcoding, enhancement, subtitles, AIGC, understanding, COS, and task queries into a single Agent Skill, making it suitable for driving media pipelines via natural language. Remember to point --dir to the correct skills directory during installation, configure SecretId / SecretKey, API Region, and COS completely, and use the Skill’s built-in scripts for environment and COS operations.
Official Skill Address: https://api.skillhub.cn/tencent-adm/tencent-mps