Video Enhancement

Upscale, denoise, and sharpen videos using AI with support for local files, YouTube, and batch processing.

Install
cmdop skills install agensi-video-enhancement

Video Enhancement is a skill published by agensi that handles AI-driven video quality improvement programmatically. It uses AI models to upscale resolution up to 4K, reduce grain through denoising, and sharpen blurry details. Rather than requiring manual steps, it manages the full processing pipeline: downloading remote video from YouTube or Bilibili via yt-dlp, trimming clips locally using ffmpeg and ffprobe before upload, pushing content to cloud storage via R2 presigned URLs, and polling a background job until the enhanced file is ready. Supported input formats are MP4, MOV, AVI, MKV, and WebM. Sources can be local files, YouTube links, Bilibili links, or direct URLs. The skill integrates with the verging.ai API as its processing backend. During execution it reports status transitions from PENDING through PROCESSING to COMPLETED, so agents can track progress in real time. On completion it returns a direct URL to the enhanced file and can optionally download the result to the local workspace. An HD mode is available for high-fidelity output, with a 30-second maximum duration per clip in that mode. The local ffmpeg trimming step reduces file size before upload, which affects both bandwidth usage and API credit consumption. There are no environment variables listed in the registry record.

Use cases

  • Upscale archival or low-resolution footage to 4K before publication
  • Denoise grainy video captured in low-light conditions
  • Sharpen blurry footage from dashcams, drones, or older recordings
  • Download a YouTube or Bilibili clip, trim it, and enhance it in one automated pipeline
  • Integrate video quality improvement into a content production agent workflow
  • Poll enhancement job status and retrieve final output URL programmatically

When to use it

  • When an agent needs to improve video quality without manual intervention
  • When the source video lives on YouTube or Bilibili and must be fetched remotely
  • When pre-upload trimming is needed to reduce file size before cloud processing
  • When the workflow requires real-time job status tracking across PENDING, PROCESSING, and COMPLETED states

When not to use it

  • When the clip exceeds 30 seconds and HD mode output is required
  • When input format is outside MP4, MOV, AVI, MKV, or WebM
  • When local ffmpeg and yt-dlp dependencies cannot be installed in the execution environment
  • When the task requires audio enhancement rather than video quality improvement
  • When no verging.ai API access is available, as it is the required processing backend