Skip to content
Back to skills

Alibaba Super Resolution

ASecurity

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 video quality before publishing, or (3) convert 480p videos to 1080p.

  • 33 stars
  • 0 votes
  • 0 copies
  • 11 views
  • Added September 5, 2026
securitypythonbashtestingapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 5, 2026

npx -y skills add dvcrn/openclaw-skills-marketplace --skill alibaba-super-resolution --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Alibaba Super Resolution?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Alibaba Super Resolution
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dvcrn-alibaba-super-resolution/badge)](https://www.skillsdirectory.com/skills/dvcrn-alibaba-super-resolution)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: alibaba-super-resolution
description: "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 video quality before publishing, or (3) convert 480p videos to 1080p."
---

# 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:

```bash
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:

```bash
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

```bash
# 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 <JOB_ID>

# Wait for an existing job and download result
python3 ~/.openclaw/workspace/skills/alibaba-super-resolution/alibaba_super_resolve.py \
  --wait <JOB_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

- [Alibaba Cloud Super Resolution Docs](https://help.aliyun.com/zh/viapi/developer-reference/api-w2n4j6)

Files in this skill

  • README.md4.5 KB
  • SKILL.md3.5 KB
  • alibaba_super_resolve.py12.1 KB
  • requirements.txt117 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.