← 返回 Skills 市场
jilanfang

Bilibili AI Video Prompt Analyzer

作者 jilanfang · GitHub ↗ · v1.1.1 · MIT-0
cross-platform ✓ 安全检测通过
177
总下载
0
收藏
1
当前安装
3
版本数
在 OpenClaw 中安装
/install bilibili-video-prompt-analyzer
功能描述
Analyze Bilibili AI-generated videos to extract/reverse-engineer prompts for imitation and replication. Extracts frames, extracts subtitles, generates detail...
使用说明 (SKILL.md)

Bilibili AI Video Prompt Analyzer

Extract/reverse-engineer production-ready prompts from Bilibili AI-generated videos for imitation. Outputs detailed prompts in ComfyUI/Seedance format that can be used directly with minimal edits.

Workflow

  1. Download video: Get video from Bilibili URL using yt-dlp
  2. Extract subtitles: Extract soft or hard subtitles for voiceover reference/rewrite
  3. Extract frames: Extract frames at configurable FPS (default: 1 frame/second)
  4. Visual analysis: Analyze frame-by-frame to identify style, subjects, colors, composition, motion changes
  5. Structure output (ready for direct use):
    • Technical metadata (aspect ratio, duration, fps, model recommendation)
    • 2-3 keyframe prompts (most distinct compositions, ComfyUI comma format)
    • Scene sequence by story beat (timeline + prompt evolution)
    • Full video master prompt (overall style + theme)
    • Extracted subtitle text (for voiceover reference)

When to Use

Use this skill when:

  • You have a Bilibili link to an AI-generated video
  • You want to imitate the style and generate similar videos
  • You need production-ready prompts that work directly in Seedance/ComfyUI/Kling
  • You want to extract subtitles to reuse or rewrite the voiceover
  • You want keyframe + scene breakdown for multi-step generation

Don't use when:

  • The prompt is already in the video description (use agent-reach to extract directly)
  • It's a human-shot video not generated by AI

Sampling Strategy

FPS Use Case Recommendation
0.2 Long video (>5min), big scene changes Only key frames
1 Short video (\x3C1min) Default, one frame per second
2-5 Detailed motion analysis Slow morphing animations

Best practice: 1fps for short videos (\x3C1min) gives good granularity without redundancy. Most AI video evolution changes gradually, 1s interval captures the arc well.

Requirements

  • ffmpeg installed (for frame extraction and subtitle extraction)
  • yt-dlp installed (for video download)
  • Multimodal LLM support (for visual frame analysis)

Scripts

  • scripts/download-bilibili.sh \x3Curl> \x3Coutput-dir> - Download video from Bilibili URL
  • scripts/extract-frames.sh \x3Cvideo-file> \x3Coutput-dir> [fps] - Extract frames from video
  • scripts/extract-subtitles.sh \x3Cvideo-file> \x3Coutput-path> - Extract subtitles to text file (supports soft and hardsubs)

Output Format (Production-Ready)

1. Technical Metadata

Aspect Ratio: 9:16 (1080x1440)
Duration: 35 seconds
Frame Rate: 30 fps
Recommended Model: Seedance 2.0 / Kling AI / Runway Gen-3
Motion Type: Slow fluid morphing, seamless transformation

2. Keyframe Prompts (ComfyUI Format, comma-separated)

One detailed prompt for each most distinct keyframe:

masterpiece, best quality, 8k, ultra detailed, tiny glowing point of light in deep indigo mist, volumetric godray, soft atmospheric haze, vertical composition 9:16, surreal abstract, mindscape, glowing particles, deep blue purple color palette, ethereal, dreamlike, cinematic lighting

3. Scene Sequence Breakdown (by timeline beat)

Time Visual Description Prompt Addition
0s-8s Origin in void glowing point, mist, void
8s-18s Network growth fibers spreading, interconnected thought network

4. Full Video Master Prompt

Complete cohesive prompt capturing overall style, theme, pacing that can be used directly.

5. Extracted Subtitles

Clean text extracted for voiceover reference or rewrite.

Prompt Quality Guidelines

Output prompts follow Seedance/ComfyUI best practices:

  • Start with quality tokens: masterpiece, best quality, 8k, ultra detailed
  • Describe composition before style
  • Specify exact colors and lighting
  • Include aspect ratio and motion characteristics
  • Keep comma-separated format for direct copy-paste
安全使用建议
The skill appears coherent and the scripts are readable; still review before use. Practical points: ensure ffmpeg/ffprobe and yt-dlp are installed and up-to-date; be aware yt-dlp --yes-playlist can download more than a single video if you pass a playlist URL; hardsub OCR is not implemented so embedded burned subtitles won't be extracted by this version; the analysis step requires a multimodal (vision-capable) model — the skill does not supply or request API keys, so confirm your agent/model supports image inputs. Also consider legal and ethical issues: extracting prompts to imitate others' AI-generated work may have copyright or terms-of-service implications. If you have any doubts, inspect and run the scripts in a sandboxed environment first.
功能分析
Type: OpenClaw Skill Name: bilibili-video-prompt-analyzer Version: 1.1.1 The skill bundle provides a legitimate workflow for downloading Bilibili videos and extracting frames/subtitles for AI analysis. It uses standard command-line tools like yt-dlp and ffmpeg (scripts/download-bilibili.sh, scripts/extract-frames.sh, scripts/extract-subtitles.sh) in a transparent manner consistent with its stated purpose of reverse-engineering AI video prompts. No evidence of data exfiltration, malicious execution, or prompt injection was found.
能力评估
Purpose & Capability
Name/description ask for reverse-engineering prompts from Bilibili AI videos; required tools (yt-dlp, ffmpeg, ffprobe) and the three provided scripts directly support that purpose and are proportionate.
Instruction Scope
SKILL.md and scripts limit actions to downloading the provided URL, extracting frames and subtitles, and producing text prompts. The skill asks for 'multimodal LLM support' (i.e., a vision-capable model) but does not declare or request any external API keys — analysis will rely on the agent's model. One operational note: download script uses --yes-playlist, which may download whole playlists if given a playlist URL (not strictly a security issue but could be broader than the user intended). Hardsub OCR is explicitly not implemented.
Install Mechanism
Instruction-only skill with no install spec; scripts are small shell files (no archived downloads or third-party install URLs). This is low-risk from an install perspective.
Credentials
No environment variables, credentials, or config paths are requested. The scripts only operate on the user-supplied video path and output directories — there are no requests for unrelated secrets or system config.
Persistence & Privilege
always is false and the skill does not attempt to modify agent/system configuration or persist credentials. It writes only to the provided output directories.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install bilibili-video-prompt-analyzer
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /bilibili-video-prompt-analyzer 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.1
Add subtitle extraction script (supports embedded soft subtitles). Output format updated to production-ready: technical metadata + keyframe prompts (ComfyUI comma format) + scene sequence breakdown + full master prompt + negative prompt. Detailed enough for direct use in Seedance/Kling/Runway with minimal edits.
v1.1.0
Add storyboard feature: split into shots by scene changes, generate per-shot prompts, improved sampling strategy
v1.0.0
Initial release: Download Bilibili videos, extract frames, analyze to reverse-engineer AI generation prompts
元数据
Slug bilibili-video-prompt-analyzer
版本 1.1.1
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 3
常见问题

Bilibili AI Video Prompt Analyzer 是什么?

Analyze Bilibili AI-generated videos to extract/reverse-engineer prompts for imitation and replication. Extracts frames, extracts subtitles, generates detail... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 177 次。

如何安装 Bilibili AI Video Prompt Analyzer?

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

Bilibili AI Video Prompt Analyzer 是免费的吗?

是的,Bilibili AI Video Prompt Analyzer 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Bilibili AI Video Prompt Analyzer 支持哪些平台?

Bilibili AI Video Prompt Analyzer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Bilibili AI Video Prompt Analyzer?

由 jilanfang(@jilanfang)开发并维护,当前版本 v1.1.1。

💬 留言讨论