← 返回 Skills 市场
blackeight4752

Alibaba Super Resolution

作者 BlackEight4752 · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ✓ 安全检测通过
261
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install alibaba-super-resolution
功能描述
Enhance video resolution using Alibaba Cloud Super Resolution API. Use when the user wants to: (1) upscale low-res videos to higher resolution, (2) improve v...
使用说明 (SKILL.md)

Alibaba Cloud Super Resolution (阿里云视频超分辨率)

Enhance video resolution using Alibaba Cloud's video super resolution API, converting low-resolution videos to higher resolution (e.g., 480p → 960p).

Prerequisites

Set the following environment variables for authentication:

export ALIBABA_CLOUD_ACCESS_KEY_ID="your-access-key-id"
export ALIBABA_CLOUD_ACCESS_KEY_SECRET="your-access-key-secret"

Optional OSS Configuration (for large files)

For files larger than 2GB or when using OSS directly:

export ALIYUN_OSS_BUCKET="your-bucket-name"
export ALIYUN_OSS_ENDPOINT="oss-cn-shanghai.aliyuncs.com"

Execution (Python CLI Tool)

A Python CLI tool is provided at ~/.openclaw/workspace/skills/alibaba-super-resolution/alibaba_super_resolve.py.

Quick Examples

# Basic usage: local file → local HD file
python3 ~/.openclaw/workspace/skills/alibaba-super-resolution/alibaba_super_resolve.py \
  --input videos/input-480p.mp4 \
  --output videos/output-960p.mp4

# Custom bit rate (higher = better quality, larger file)
python3 ~/.openclaw/workspace/skills/alibaba-super-resolution/alibaba_super_resolve.py \
  --input videos/input-480p.mp4 \
  --output videos/output-960p.mp4 \
  --bit-rate 8

# Do not wait for completion (return job ID immediately)
python3 ~/.openclaw/workspace/skills/alibaba-super-resolution/alibaba_super_resolve.py \
  --input videos/input-480p.mp4 \
  --no-wait

# Check status of an existing job
python3 ~/.openclaw/workspace/skills/alibaba-super-resolution/alibaba_super_resolve.py \
  --status \x3CJOB_ID>

# Wait for an existing job and download result
python3 ~/.openclaw/workspace/skills/alibaba-super-resolution/alibaba_super_resolve.py \
  --wait \x3CJOB_ID> \
  --output videos/output-960p.mp4

Input Requirements

Video Files

  • Formats: MP4, MOV, AVI, MKV
  • Max Size: 2GB (direct upload) / No limit (OSS URL)
  • Max Duration: 30 minutes
  • Input Resolutions: 480p, 720p

Output Resolutions

Input Output
480p 960p (2x upscale)
720p 2K (2x upscale)

Bit Rate Settings

Bit Rate Quality File Size Processing Time Use Case
1-3 Low Small Fast Preview/Testing
4-6 Medium Medium Medium Social Media
7-10 High Large Slow HD Publishing

Rules

  1. Always check that credentials are configured before making API calls.
  2. Files over 2GB must use OSS URL instead of direct upload.
  3. Default bit rate: 5 (balanced quality/size).
  4. Default timeout: 1200 seconds (20 minutes).
  5. Download immediately - output URLs expire after 24 hours.
  6. Handle errors gracefully - display clear error messages.

Troubleshooting

VideoTooLarge

Error: File exceeds 2GB limit

Fix: Use OSS URL instead of direct upload

Timeout

Error: Task timed out

Fix: Increase timeout parameter: --timeout 1800 (30 minutes)

OSSAccessDenied

Error: OSSAccessDenied

Fix: Verify RAM permissions for the access key, ensure it has OSS read/write access.

Related Documents

安全使用建议
This skill appears to do what it says: call Alibaba Cloud's video super-resolution API. Before installing or running it, verify the source (repository/author) since the package owner is 'unknown' in the registry. Provide only an Alibaba RAM key with the minimal permissions required (videoenhan and OSS read/write if you use OSS), preferably a temporary/key with narrow scope. Review the requirements.txt and installed packages (alibabacloud_videoenhan SDK and requests) and consider installing in a virtualenv. Note the registry metadata omitted the required env vars — set ALIBABA_CLOUD_ACCESS_KEY_ID and ALIBABA_CLOUD_ACCESS_KEY_SECRET as described in SKILL.md. If you will upload sensitive videos, confirm you trust the destination (the code defaults to endpoint videoenhan.cn-shanghai.aliyuncs.com) and understand that uploaded videos will be sent to Alibaba Cloud and output URLs expire (24h).
功能分析
Type: OpenClaw Skill Name: alibaba-super-resolution Version: 0.1.0 The skill bundle provides a legitimate interface for the Alibaba Cloud Video Super Resolution API. The Python script (alibaba_super_resolve.py) handles authentication via standard environment variables, performs file uploads to Alibaba Cloud, and downloads processed results using the requests library. There is no evidence of data exfiltration, malicious command execution, or prompt injection; the code logic is consistent with the stated purpose of video enhancement.
能力评估
Purpose & Capability
Name/description claim to use Alibaba Cloud Super Resolution; the SKILL.md and the Python code both require ALIBABA_CLOUD_ACCESS_KEY_ID and ALIBABA_CLOUD_ACCESS_KEY_SECRET (and optionally OSS settings) which are appropriate and expected for this purpose. The registry metadata, however, lists no required environment variables — an omission in the metadata but not a functional mismatch.
Instruction Scope
SKILL.md and the CLI code limit actions to uploading a local video (or using OSS), submitting jobs to Alibaba Cloud, polling job status, and downloading results. The instructions reference only the Alibaba credentials and optional OSS config; they do not instruct reading unrelated system files or sending data to unexpected endpoints. The code uses the Alibaba SDK and requests to download output URLs.
Install Mechanism
There is no automated install spec (instruction-only install) and dependencies are declared in requirements.txt (pip). This is low-risk; install-time actions are limited to installing Python packages from PyPI, and no arbitrary archive downloads or unknown URLs are used.
Credentials
Requested credentials (ALIBABA_CLOUD_ACCESS_KEY_ID, ALIBABA_CLOUD_ACCESS_KEY_SECRET) and optional OSS variables are proportionate to the skill's functionality. The SKILL.md explicitly asks for them. The only issue is the registry metadata failing to declare these required env vars — users should be aware the skill will attempt to read those environment variables at runtime.
Persistence & Privilege
The skill is not always-enabled, does not request elevated platform privileges, and does not attempt to modify other skills or global agent config. It runs as a CLI tool invoked by the user/agent and does not persist additional privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install alibaba-super-resolution
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /alibaba-super-resolution 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
- Initial release of the Alibaba Super Resolution skill. - Upscale and enhance video resolution using Alibaba Cloud's Super Resolution API. - Supports MP4, MOV, AVI, MKV formats; input up to 2GB (or unlimited with OSS). - CLI tool provided for video processing, job management, and bitrate customization. - Includes error handling guidance and OSS configuration options. - Default behaviors: balanced bitrate, 20-minute timeout, output link expires in 24 hours.
元数据
Slug alibaba-super-resolution
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Alibaba Super Resolution 是什么?

Enhance video resolution using Alibaba Cloud Super Resolution API. Use when the user wants to: (1) upscale low-res videos to higher resolution, (2) improve v... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 261 次。

如何安装 Alibaba Super Resolution?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install alibaba-super-resolution」即可一键安装,无需额外配置。

Alibaba Super Resolution 是免费的吗?

是的,Alibaba Super Resolution 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Alibaba Super Resolution 支持哪些平台?

Alibaba Super Resolution 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Alibaba Super Resolution?

由 BlackEight4752(@blackeight4752)开发并维护,当前版本 v0.1.0。

💬 留言讨论