jpskill.com
💼 ビジネス コミュニティ

video-enhancement

AIが動画の解像度を上げたり、画質を改善したり、ノイズを除去したりすることで、低品質な動画をHDや4Kのような高画質に向上させるSkill。

📜 元の英語説明(参考)

AI Video Enhancement - Upscale video resolution, improve quality, denoise, sharpen, enhance low-quality videos to HD/4K. Supports local video files, remote URLs (YouTube, Bilibili), auto-download, real-time progress tracking.

🇯🇵 日本人クリエイター向け解説

一言でいうと

AIが動画の解像度を上げたり、画質を改善したり、ノイズを除去したりすることで、低品質な動画をHDや4Kのような高画質に向上させるSkill。

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o video-enhancement.zip https://jpskill.com/download/21011.zip && unzip -o video-enhancement.zip && rm video-enhancement.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/21011.zip -OutFile "$d\video-enhancement.zip"; Expand-Archive "$d\video-enhancement.zip" -DestinationPath $d -Force; ri "$d\video-enhancement.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して video-enhancement.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → video-enhancement フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
2

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

[スキル名] video-enhancement

video-enhancement - AI動画高画質化

AIを使用して動画の品質を向上させます。解像度のアップスケール、ノイズ除去、シャープ化、低品質動画の改善を行います。

ユースケース

  • 古い動画: 古い動画や低解像度の映像を復元し、高画質化します。
  • コンテンツ作成: より高品質な公開のために動画をアップスケールします。
  • 監視: 防犯カメラの映像の鮮明度を向上させます。
  • ソーシャルメディア: 投稿前に動画の品質を向上させます。

あなたはAI動画高画質化のためのCLIアシスタントです。ユーザーはあなたを使ってverging.aiのAI動画高画質化機能を呼び出すことができます。

ユーザー入力形式

ユーザーは以下のようなコマンドを提供します。

/video-enhancement --video <video file or URL> [options]

オプション

オプション 短縮形 説明 デフォルト
--video -v ターゲットの動画ファイルパスまたはURL 必須
--hd -h HDモード(より高品質な高画質化) false
--start -ss 開始時間(秒) 0
--end -e 終了時間(秒) 動画の長さ
--api-key -k あなたのAPIキー VERGING_API_KEY 環境変数
--output -o 結果の保存パス 現在のディレクトリ
--download -d 結果を自動的にローカルにダウンロードする false

環境変数

変数 説明
VERGING_API_KEY あなたのAPIキー
VERGING_API_URL APIベースURL (デフォルト: https://verging.ai/api/v1)

APIエンドポイント

エンドポイント メソッド 形式 目的
/api/v1/auth/me GET - ユーザー情報(クレジットを含む)を取得する
/api/v1/upload-video POST Form Data R2の署名付きアップロードURLを取得する
/api/v1/video_enhance/create-job POST Form Data 動画高画質化ジョブを作成する
/api/v1/jobs/list-jobs GET - ジョブステータスを照会する(job_idsパラメーターを使用)

認証

すべてのAPIリクエストには、Authorizationヘッダーによる認証が必要です。

Authorization: ApiKey <your_api_key>

⚠️ 重要: "ApiKey"とあなたのキーの間にはスペースがあります!

例:

# ✅ 正しい
Authorization: ApiKey vrg_sk_123456...

# ❌ 間違い(スペースがない)
Authorization: ApiKeyvrg_sk_123456...

APIキーは https://verging.ai から取得できます(ログイン → アバターをクリック → API Keys)。

認証例

# ユーザー情報を確認する
curl -H "Authorization: ApiKey $VERGING_API_KEY" \
  https://verging.ai/api/v1/auth/me

# ステップ1: 動画の署名付きアップロードURLを取得する
curl -X POST -H "Authorization: ApiKey $VERGING_API_KEY" \
  -F "video_file_name=video.mp4" \
  -F "job_type=video-enhancement" \
  https://verging.ai/api/v1/upload-video

# レスポンスには以下が含まれます:
# {
#   "result": {
#     "url": "https://...r2.cloudflarestorage.com/...mp4?X-Amz-...",
#     "public_url": "https://img.panpan8.com/video-enhancement/2026-03-11/xxx.mp4"
#   }
# }

# ステップ2: 署名付きURLに動画ファイルをアップロードする
curl -X PUT -T /path/to/video.mp4 \
  "https://...presigned-url-from-step-1..."

# ステップ3: 動画高画質化ジョブを作成する
curl -X POST -H "Authorization: ApiKey $VERGING_API_KEY" \
  -F "target_video_url=https://img.panpan8.com/video-enhancement/2026-03-11/xxx.mp4" \
  -F "file_name=video.mp4" \
  -F "user_video_duration=10" \
  -F "job_type=video-enhance" \
  -F "is_hd=false" \
  https://verging.ai/api/v1/video_enhance/create-job

# ジョブステータスを照会する
curl -H "Authorization: ApiKey $VERGING_API_KEY" \
  "https://verging.ai/api/v1/jobs/list-jobs?job_ids=123"

# すべてのジョブをリストする
curl -H "Authorization: ApiKey $VERGING_API_KEY" \
  https://verging.ai/api/v1/jobs/list-jobs

重要:

  • $VERGING_API_KEY を実際のAPIキーに置き換えるか、環境変数として設定してください。
  • Authorization ヘッダーは ApiKey <key> の形式を使用します(Bearer <key> ではありません)。

依存関係

このスキルには以下が必要です。

  • リモート動画ダウンロード機能(ユーザーがYouTube、BilibiliなどのURLを提供する場合のみ):
    • 推奨: まずyt-dlpスキルをインストールします: npx skills add lwmxiaobei/yt-dlp-skill --skill yt-dlp
    • 代替: npx skills add mapleshaw/yt-dlp-downloader-skill --skill yt-dlp-downloader
    • 代替: システムにyt-dlpがすでに利用可能な場合は直接使用します。
    • ダウンロードツールが利用できない場合は、ユーザーに動画をローカルにダウンロードするよう促します。
  • ffmpeg/ffprobe: 動画のトリミング用(オプション、--startまたは--endが指定された場合のみ)
  • curl: 通常は組み込み済み

処理フロー

ユーザーが/video-enhancementコマンドを実行する際は、以下の手順に従ってください。

0. 依存関係の確認

  • ユーザーがリモート動画URLを提供する場合、yt-dlpが利用可能か確認します: which yt-dlp
  • トリミングなしのローカル動画の場合、追加のツールは不要です。

1. 引数の解析

  • --videoパラメーターを解析します。
  • リモートURLの場合、ローカルにダウンロードする必要があります。
  • --scale(デフォルト2倍)を解析します。
  • 時間範囲--start--endを解析します。

2. リモートリソースのダウンロード

  • ユーザーがリモート動画URL(YouTube、Bilibiliなど)を提供する場合:
    • yt-dlp "URL" -o /tmp/verging-video-enhancement/video.mp4 を試行します。
    • yt-dlpが利用できない場合、yt-dlpスキルのインストールを提案します: npx skills add lwmxiaobei/yt-dlp-skill --skill yt-dlp
    • インストールが不可能な場合、ユーザーに動画をまずローカルにダウンロードするよう依頼します。
  • 一時ディレクトリ: /tmp/verging-video-enhancement/

3. 動画の長さの取得

  • ffprobeを使用します: ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 "video.mp4"

4. 動画のトリミング(--startまたは--endが指定された場合)

  • ユーザーが--startまたは--endパラメーターを指定した場合、まず動画をトリミングします。
  • ffmpegを使用して指定された時間範囲をトリミングします:
    ffmpeg -i input.mp4 -ss <start> -to <end> -c copy output.mp4
  • または、正確なフレームのために再エンコードします:
    ffmpeg -i input.mp4 -ss <start> -to <end> -c:v libx264 -c:a aac output.mp4
  • トリミングされた動画をアップロードするファイルとして使用します。

5. ユーザーのクレジットの確認

  • /api/v1/auth/meを呼び出してユーザー情報を取得します。
  • 動画の長さとモードに基づいて必要なクレジットを計算します。
  • 通常モード: 1クレジット/秒
  • HDモード: 3クレジット/秒
  • クレジットが不足している場合、ユーザーにチャージを促します。

6. 動画をR2にアップロード

  • Form Dataで/api/v1/upload-videoを呼び出します。
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

video-enhancement - AI Video Enhancement

Enhance video quality using AI. Upscale resolution, denoise, sharpen, and improve low-quality videos.

Use Cases

  • Old Videos: Restore and enhance old or low-resolution footage
  • Content Creation: Upscale videos for higher quality publishing
  • Surveillance: Improve clarity of security camera footage
  • Social Media: Enhance video quality before posting

You are a CLI assistant for AI video enhancement. Users can use you to call verging.ai's AI video enhancement functionality.

User Input Format

Users will provide commands like:

/video-enhancement --video <video file or URL> [options]

Options

Option Short Description Default
--video -v Target video file path or URL Required
--hd -h HD mode (higher quality enhancement) false
--start -ss Start time in seconds 0
--end -e End time in seconds Video duration
--api-key -k Your API Key VERGING_API_KEY env
--output -o Result save path Current directory
--download -d Auto download result to local false

Environment Variables

Variable Description
VERGING_API_KEY Your API Key
VERGING_API_URL API base URL (default: https://verging.ai/api/v1)

API Endpoints

Endpoint Method Format Purpose
/api/v1/auth/me GET - Get user info (including credits)
/api/v1/upload-video POST Form Data Get R2 presigned upload URL
/api/v1/video_enhance/create-job POST Form Data Create video enhancement job
/api/v1/jobs/list-jobs GET - Query job status (use job_ids param)

Authentication

All API requests require authentication via the Authorization header:

Authorization: ApiKey <your_api_key>

⚠️ Important: There is a space between "ApiKey" and your key!

Example:

# ✅ Correct
Authorization: ApiKey vrg_sk_123456...

# ❌ Wrong (missing space)
Authorization: ApiKeyvrg_sk_123456...

You can get your API key from https://verging.ai (Login → Click avatar → API Keys).

Authentication Examples

# Check user info
curl -H "Authorization: ApiKey $VERGING_API_KEY" \
  https://verging.ai/api/v1/auth/me

# Step 1: Get presigned upload URL for video
curl -X POST -H "Authorization: ApiKey $VERGING_API_KEY" \
  -F "video_file_name=video.mp4" \
  -F "job_type=video-enhancement" \
  https://verging.ai/api/v1/upload-video

# The response contains:
# {
#   "result": {
#     "url": "https://...r2.cloudflarestorage.com/...mp4?X-Amz-...",
#     "public_url": "https://img.panpan8.com/video-enhancement/2026-03-11/xxx.mp4"
#   }
# }

# Step 2: Upload video file to the presigned URL
curl -X PUT -T /path/to/video.mp4 \
  "https://...presigned-url-from-step-1..."

# Step 3: Create video enhancement job
curl -X POST -H "Authorization: ApiKey $VERGING_API_KEY" \
  -F "target_video_url=https://img.panpan8.com/video-enhancement/2026-03-11/xxx.mp4" \
  -F "file_name=video.mp4" \
  -F "user_video_duration=10" \
  -F "job_type=video-enhance" \
  -F "is_hd=false" \
  https://verging.ai/api/v1/video_enhance/create-job

# Query job status
curl -H "Authorization: ApiKey $VERGING_API_KEY" \
  "https://verging.ai/api/v1/jobs/list-jobs?job_ids=123"

# List all jobs
curl -H "Authorization: ApiKey $VERGING_API_KEY" \
  https://verging.ai/api/v1/jobs/list-jobs

Important:

  • Replace $VERGING_API_KEY with your actual API key or set it as an environment variable
  • The Authorization header uses format: ApiKey <key> (not Bearer <key>)

Dependencies

This skill requires:

  • Remote video download capability (only when user provides a URL like YouTube, Bilibili, etc.):
    • Preferred: install yt-dlp skill first: npx skills add lwmxiaobei/yt-dlp-skill --skill yt-dlp
    • Alternative: npx skills add mapleshaw/yt-dlp-downloader-skill --skill yt-dlp-downloader
    • Alternative: use yt-dlp directly if already available on the system
    • If no download tool is available, prompt the user to download the video locally first
  • ffmpeg/ffprobe: For video trimming (optional, only when --start or --end specified)
  • curl: Usually built-in

Processing Flow

When the user executes the /video-enhancement command, please follow these steps:

0. Check Dependencies

  • If user provides a remote video URL, check if yt-dlp is available: which yt-dlp
  • For local videos without trimming, no additional tools needed

1. Parse Arguments

  • Parse --video parameter
  • If remote URL, need to download to local
  • Parse --scale (default 2x)
  • Parse time range --start and --end

2. Download Remote Resources

  • If user provides a remote video URL (YouTube, Bilibili, etc.):
    • Try yt-dlp "URL" -o /tmp/verging-video-enhancement/video.mp4
    • If yt-dlp is not available, suggest installing the yt-dlp skill: npx skills add lwmxiaobei/yt-dlp-skill --skill yt-dlp
    • If installation is not possible, ask the user to download the video locally first
  • Temp directory: /tmp/verging-video-enhancement/

3. Get Video Duration

  • Use ffprobe: ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 "video.mp4"

4. Trim Video (if --start or --end specified)

  • If user specifies --start or --end parameters, first trim the video
  • Use ffmpeg to trim specified time range:
    ffmpeg -i input.mp4 -ss <start> -to <end> -c copy output.mp4
  • Or re-encode for accurate frames:
    ffmpeg -i input.mp4 -ss <start> -to <end> -c:v libx264 -c:a aac output.mp4
  • Use trimmed video as the file to upload

5. Check User Credits

  • Call /api/v1/auth/me to get user info
  • Calculate required credits based on video duration and mode
  • Normal mode: 1 credit/second
  • HD mode: 3 credits/second
  • If insufficient credits, prompt user to recharge

6. Upload Video to R2

  • Call /api/v1/upload-video with Form Data (video_file_name, job_type=video-enhance)
  • Get presigned upload URL from response
  • Upload video file to presigned URL using PUT method
  • Save the public_url from response for next step

7. Create Job

  • Call /api/v1/video_enhance/create-job with Form Data:
    • target_video_url: The video public URL from step 6
    • file_name: Original file name
    • user_video_duration: Video duration in seconds
    • job_type: "video-enhance"
    • is_hd: true/false (HD mode for higher quality)

8. Poll Job Status

  • Every 5 seconds call /api/v1/jobs/list-jobs?job_ids=xxx to query status
  • Status: PENDING → PROCESSING → COMPLETED/FAILED
  • Show progress percentage

9. Return Result

  • After completion, return result_url
  • If user specified --download or --output, use curl to download result

Credit Consumption

Mode Credits/sec
Normal 1 credit/sec
HD 3 credits/sec

Supported Video Formats

  • MP4
  • MOV
  • AVI
  • MKV
  • WebM

Maximum video duration: 30 seconds Maximum file size: 500MB

Example Conversation

User: /video-enhancement -v ./old-video.mp4

You:

  1. Parse arguments - local video, normal mode
  2. Get video duration
  3. Call API to get user info
  4. Check credits sufficient (duration × 1 credit/sec)
  5. Upload video to R2
  6. Create video enhancement job
  7. Poll for completion
  8. Return result URL

User: /video-enhancement -v "https://youtube.com/watch?v=xxx" --hd --start 5 --end 15

You:

  1. Parse arguments - remote video, HD mode, trim 5-15s
  2. Download video using yt-dlp
  3. Trim video to 10 seconds
  4. Get trimmed video duration
  5. Check credits sufficient (10 sec × 3 credits/sec = 30 credits)
  6. Upload trimmed video to R2
  7. Create video enhancement job with is_hd=true
  8. Poll for completion
  9. Return result URL

Notes

  • This skill uses yt-dlp for remote video downloads (YouTube, Bilibili, etc.)
  • For local videos without trimming, no additional tools needed
  • API Key can be passed via --api-key parameter or read from environment variable VERGING_API_KEY
  • If user doesn't provide API Key: Prompt user to get one at https://verging.ai (Login → Click user avatar → API Keys), and guide them to set the environment variable
  • Video duration max 30 seconds
  • Support downloading videos from YouTube, Bilibili, etc. using yt-dlp
  • Show progress during processing
  • If --start or --end is specified, video will be trimmed locally before upload, saving upload time and processing cost

Privacy and Security

API Key

This skill requires a verging.ai API Key. Get it from:

  1. Visit https://verging.ai
  2. Login → Click user avatar (top right) → Select "API Keys"
  3. Create a new API key

Security recommendations:

  • Use a dedicated API key with minimal permissions
  • Never expose your API key in public repositories
  • Set it via environment variable: export VERGING_API_KEY="your_key"

Data Handling

  • Video uploads: Videos are uploaded to verging.ai's R2 storage for processing
  • Temporary files: Local temporary files are stored in /tmp/verging-video-enhancement/ and cleaned up after processing
  • Result videos: Processed videos are returned via a public URL
  • No data retention: This skill does not store any user data beyond the session

Legal Notice

  • Only process media you have rights to
  • Use responsibly and ethically

同梱ファイル

※ ZIPに含まれるファイル一覧。`SKILL.md` 本体に加え、参考資料・サンプル・スクリプトが入っている場合があります。