BytePlus MediaKit Video Highlights for Openclaw

An AI-powered tool to automatically generate and query football video highlight reels from web URLs using BytePlus MediaKit.

bpvnebot
v1.0.0
Jul 20, 2026
0
430
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install byteplus-mediakit-video-highlights

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install byteplus-mediakit-video-highlights using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is BytePlus MediaKit Video Highlights?

The BytePlus MediaKit Video Highlights skill enables developer agents to interface with the BytePlus MediaKit API to generate soccer and football highlight reels. By using the video-highlights-llm tool, this skill automates the process of submitting video URLs, specifying target clip lengths, and parsing natural language instructions into technical API arguments. As part of the Openclaw Skills ecosystem, it manages the complete asynchronous task lifecycle from creation to polling.

This integration handles multi-video inputs up to 15 hours total and supports multiple target output durations in a single job. Developers can utilize presets or supply custom prompts to refine highlight selection, making it a reliable utility for building automated sports content workflows.

BytePlus MediaKit Video Highlights Use Cases

  • Generate quick match summaries or social media-ready highlights from football match recordings.
  • Create multi-duration cuts of the same soccer video (e.g., a 60-second summary and a 90-second summary) in a single run.
  • Automatically identify and extract key sports scenes like goals or saves using targeted prompts.
  • Monitor and retrieve long-running highlight generation tasks asynchronously.

How BytePlus MediaKit Video Highlights Works

  1. Parse the request to collect valid HTTP/HTTPS media URLs and verify target durations (up to 5 values).
  2. Run the doctor script to verify the local environment and API key configuration.
  3. Submit the video highlight request via CLI, passing parameters as JSON strings.
  4. Save the generated unique task ID to track process status.
  5. Poll the job status using the query command until completion.
  6. Return the resulting highlight video URLs and duration metrics.

BytePlus MediaKit Video Highlights Setup

Set up the required environment variables to authenticate with the BytePlus MediaKit API:

export BYTEPLUS_MEDIAKIT_API_KEY="your_api_key_here"

Run the preflight check to verify your configuration:

python3 scripts/video_highlights_llm.py doctor

To submit a basic task for a 60-second football highlight:

python3 scripts/video_highlights_llm.py submit \
  --video-urls '["https://example.com/match.mp4"]' \
  --preset football \
  --target-duration '[60]'

To query the progress of a submitted job:

python3 scripts/video_highlights_llm.py query \
  --task-id "your_task_id_here"

BytePlus MediaKit Video Highlights Data Schema & Taxonomy

Input Configuration

CLI Flag / Field Type Description
--video-urls JSON Array Array of HTTP/HTTPS source video URLs. Supported: mp4, flv, ts, avi, mov, wmv, mkv.
--target-duration JSON Array Output durations in seconds (e.g., '[60, 90]'). Max 5 unique values.
--preset String Clip generation preset. Only football is currently supported.
--scoring-prompt String Optional template/prompt override to score play scenes.
--analysis-prompt String Optional extra prompt for detailed analysis enhancement.

Output Schema

When queried, a successful task yields details on each processed clip:

Output Field Description
duration Total aggregated duration of the output videos.
outputs Array containing clip information: index, target_duration, duration, and the static video_url.

BytePlus MediaKit Video Highlights Advanced Features

  • Multi-video input batching up to 15 hours total.
  • Fine-grained control over highlights using scoring and analysis prompt overrides.
  • Dual-environment compatibility supporting production and custom PPE/test environments.
  • Automated validation via preflight diagnostic checks.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*