ZV

zysilm/video-producer-skill

浏览器自动化

本页由 AI 翻译,技术细节请以原文为准。 查看原文

20 stars 质量 67 趋势 24MIT

Claude 代码 / 开放代码技能一步步引导你,使用 Gemini 网页界面生成连续拍摄视频

概览

一项面向具备浏览器自动化的代理的AI视频制作技能,包括Claude Code、OpenCode和Codex环境。代理负责规划视频,操作Google Flow生成图像和视频片段,然后在本地组装下载的媒体。 1. 定义 philosophy.md 和style.json的视觉方向。2. 规划场景和片段 scene-breakdown.md。3. 将提示、输出路径和状态写入pipeline.json。4. 生成参考素材。5. 为每个场景生成起始关键帧。6. 顺序生成片段,使用上一个片段的最后一帧作为下一个起始图像。7. 组装场景并交付output.mp4。 场景代表叙事/摄像单元。片段代表一个世代大小的块(默认为8秒;请验证当前的流程选项)。一个20秒的连续场景可以包含8 + 8 + 4秒的保留时间。帧链有助于视觉连续性;通过复习连接以保证运动和角色一致性。

概述(AI 翻译)

一项面向经纪人且具备浏览器自动化功能的AI视频制作技能,包括Claude Code, OpenCode 和 Codex 环境。代理规划视频,操作 Google Flow 生成图像和视频片段,然后在本地组装下载的媒体。

它是如何运作的

  1. 定义 philosophy.md 和 style.json 中的视觉方向。
  2. 规划scene-breakdown.md中的场景和片段。
  3. 将提示词、输出路径和状态写入pipeline.json。
  4. 生成参考素材。
  5. 为每个场景生成起始关键帧。
  6. 顺序生成段,使用上一个段的最后一帧作为下一个起始图像。
  7. 组装场景并交付output.mp4。

场景代表叙事/摄像单元。片段代表世代规模 块(默认为8秒;请验证当前流选项)。一个20秒的连续场景 可包含8 + 8 + 4个保留秒。帧链有助于视觉连续性;评测 连接是为了动作和角色一致性。

主代理负责规划、审查、状态更新和组装。生成角色 指令在技能内传递,并通过以下方式传递给生成子代理 主宰的代表团工具。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Flow Video Producer Skill

An AI video production skill for agents with browser automation, including Claude Code, OpenCode, and Codex environments. The agent plans the video, operates Google Flow to generate images and video segments, then assembles downloaded media locally.

How it works

  1. Define visual direction in philosophy.md and style.json.
  2. Plan scenes and segments in scene-breakdown.md.
  3. Write prompts, output paths, and status into pipeline.json.
  4. Generate reference assets.
  5. Generate a starting keyframe for each scene.
  6. Generate segments sequentially, using the previous segment’s last frame as the next starting image.
  7. Assemble scenes and deliver output.mp4.

A scene represents a narrative/camera unit. A segment represents a generation-sized chunk (8 seconds by default; verify current Flow options). A 20-second continuous scene can contain 8 + 8 + 4 retained seconds. Frame chaining helps visual continuity; review joins for motion and character consistency.

The main agent handles planning, review, status updates, and assembly. Generation role instructions ship inside the skill and are passed to generation sub-agents through the host’s delegation tools. Tasks sharing one browser session run serially.

Setup

Requirements: browser automation tools, a signed-in Google account with Flow access, and Python 3.9+ for local media processing. Generation uses Flow’s cloud service; it requires neither a local GPU nor a Google API key. Verify generation settings in the current UI. Default models are Nano Banana Pro for images and Veo 3.1 Quality for video, with one output per prompt.

For Claude Code:

/plugin marketplace add zysilm-ai/flow-video-producer-skill
/plugin install gemini-video-producer@gemini-video-producer

If MCP Playwright is missing in Claude Code:

claude mcp add playwright -- npx @playwright/mcp@latest

Restart the host if needed to load its browser tools. In other hosts, configure their available browser tooling instead of running Claude-specific setup commands.

For manual installation, copy the entire skills/gemini-video-producer/ folder into the host’s skills directory. Its scripts, references, and example style are self-contained.

Install local dependencies in a virtual environment:

python3 -m venv .venv
.venv/bin/python -m pip install -r requirements.txt

Then describe the video, for example: “Create a 24-second first-person battlefield experience.” The skill establishes creative direction and plans scenes before generation.

Local assembly

# Assemble completed segments from the project manifest.
.venv/bin/python scripts/merge_videos.py --pipeline output/example/pipeline.json

# Manual assembly, including a single source if needed.
.venv/bin/python scripts/merge_videos.py -o scene.mp4 seg-A.mp4 seg-B.mp4 --durations 8 4
.venv/bin/python scripts/merge_videos.py -o output.mp4 scene-01.mp4 scene-02.mp4 --transitions dissolve
在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add zysilm/video-producer-skill
新手?先看 mcpskill.org 教程 →