原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。使用 Google 登录即可撰写评价。原型 · 每 30 分钟更新
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

gbro-collage-broll Skill

代码仓库 ↗

作者:pyang5166★ 1,9491 个 skill

安装

What it does

半调纸拼贴 B-roll 生成 skill:三闸门审批,Gemini Omni Flash 首尾帧组装动画 | Editorial halftone paper-collage B-roll agent skill

  • Connects Instruction files the AI reads, with steps that call an outside service
  • Account or key Some steps need a key for Google Gemini (per the README)
  • Category 自动化与智能体
给作者:在 README 中加徽章

如果你是作者,可把这段代码贴到 README。徽章会链接回本页。

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/skill/pyang5166-gbro-collage-broll.svg)](https://mcp.popnx.com/en/skills/pyang5166-gbro-collage-broll)

相似的 Skill

同类工作,排序与 Skill 列表相同

与相似项目对比
本项
gbro-collage-broll
skillsnacosanatomyleon
作者pyang5166vercel-labsalibabawheresryan22leon-ai
Skill 数11111
GitHub 星标1,94939,90833,52827,99617,693
最近代码更新2026年7月15日2026年11月17日2026年11月18日2026年10月19日2026年11月13日
许可证MITMITApache-2.0MITMIT

pyang5166 提供的 1 个 Skill(指令集),AI 读取后照做 · 不是 MCP server

Skill 和 MCP 有什么不同

MCP = 手

把 AI 连到外部服务或数据,例如读取 Notion 或开发票。需要有程序或服务器在运行。

Skill = 手册

教 AI 怎么做某项工作的文本文件,不连接任何服务。

有些会重叠:少数 Skill 带有调用工具的脚本,少数 MCP 只提供知识。请从你想完成的工作出发。

适用的应用

Codex

依据开发者 README 和 repo 中的文件夹

安装

Is it safe?

  • Who made it

    GitHub account pyang5166 (person), 2 years old

  • Use and upkeep

    ★ 1,949 stars · code last changed 2026年7月15日

  • Any scripts?

    4 scripts that can run on a computer: scripts/check_setup.sh, scripts/generate_veo_first_last.py, scripts/generate_video.py, scripts/upload_file.py

  • Uses the internet?

    Scripts that go online: scripts/generate_video.py

  • Changes machine-wide settings?

    No hooks or writes to machine settings found

Checked automatically from the repo files at commit a1a4ee2 (read only, nothing was run). Not a safety guarantee: read it and decide for yourself

第一步:你用哪个 AI?

选择你用的应用,本页只显示该应用的安装方法

Option 1Upload to claude.ai (web and app)

Uploading to claude.ai would fail: the description is over 200 characters (319). Use "Let the AI install it" instead

Option 1让 Claude Code 帮你安装

复制这句话,粘贴到 Claude Code 的对话中

Where to install
Please install the skill gbro-collage-broll from https://github.com/pyang5166/gbro-collage-broll (commit a1a4ee2) for all my projects, at ~/.claude/skills/gbro-collage-broll. First show me every file and tell me whether it has scripts or changes machine settings, then tell me the full path you will install to and wait for me to agree.
Please install the skill gbro-collage-broll from https://github.com/pyang5166/gbro-collage-broll (commit a1a4ee2) into the project this chat is open in (at .claude/skills/gbro-collage-broll). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the project name and the full path you will install to and wait for me to agree.

For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

重新打开 Claude Code,输入 /gbro-collage-broll,或直接提出相关任务,Claude 会自动选用

Checked against official docs 2026年11月12日 · Source: code.claude.com

For Terminal users

Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。

  1. 打开终端

    Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”

  2. 把 skill 文件夹复制到 ~/.claude/skills

    这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹

    git clone --depth 1 https://github.com/pyang5166/gbro-collage-broll.git /tmp/popnx-skill-pyang5166-gbro-collage-broll-a1a4ee2 && mkdir -p ~/.claude/skills && cp -R '/tmp/popnx-skill-pyang5166-gbro-collage-broll-a1a4ee2/.' ~/.claude/skills/gbro-collage-broll
  3. 重新打开 Claude Code,输入 /gbro-collage-broll,或直接提出相关任务,Claude 会自动选用

自己安装的 Skill 可用于 ChatGPT 桌面应用、Codex CLI 和 IDE 中的 Codex 扩展 · 网页版和手机版 ChatGPT 不能使用自己安装的 Skill,只能使用目录中插件自带的 Skill

ChatGPT 桌面应用

ChatGPT 桌面应用内置 Codex,Codex 从 ~/.agents/skills 文件夹读取 Skill

Option 1让 ChatGPT 帮你安装

在 ChatGPT 桌面应用中打开 Codex,把这句话粘贴到对话中

Where to install
Please install the skill gbro-collage-broll from https://github.com/pyang5166/gbro-collage-broll (commit a1a4ee2) for all my projects, at ~/.agents/skills/gbro-collage-broll. First show me every file and tell me whether it has scripts or changes machine settings, then tell me the full path you will install to and wait for me to agree.
Please install the skill gbro-collage-broll from https://github.com/pyang5166/gbro-collage-broll (commit a1a4ee2) into the project this chat is open in (at .agents/skills/gbro-collage-broll). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the project name and the full path you will install to and wait for me to agree.

The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

Option 2自己放入文件夹

把 gbro-collage-broll 文件夹放到 ~/.agents/skills/gbro-collage-broll

~ 是你的主文件夹($HOME)

For Terminal users

Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。

  1. 打开终端

    Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”

  2. 把 skill 文件夹复制到 ~/.agents/skills

    这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹

    git clone --depth 1 https://github.com/pyang5166/gbro-collage-broll.git /tmp/popnx-skill-pyang5166-gbro-collage-broll-a1a4ee2 && mkdir -p ~/.agents/skills && cp -R '/tmp/popnx-skill-pyang5166-gbro-collage-broll-a1a4ee2/.' ~/.agents/skills/gbro-collage-broll

安装之后

  • ChatGPT 桌面应用:打开侧边栏中的 Skills,确认 Skill 已出现
  • 使用方法:在 ChatGPT 中输入 @ 并选择 Skill · 在 Codex CLI 或 IDE 扩展中运行 /skills,或输入 $ 加 Skill 名称
  • Codex 会自动发现新安装的 Skill;如果没有出现,请重启 Codex

Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com

网页版和手机版 ChatGPT

不能使用你自己安装的 Skill,只能使用目录中插件自带的 Skill

想在 ChatGPT 中使用这个 Skill,请按上面的方法使用 ChatGPT 桌面应用

Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com

Option 1让 Codex 帮你安装

复制这句话,粘贴到 Codex 的对话中 · 适用于 ChatGPT 桌面应用中的 Codex、Codex CLI 和 IDE 扩展

Where to install
Please install the skill gbro-collage-broll from https://github.com/pyang5166/gbro-collage-broll (commit a1a4ee2) for all my projects, at ~/.agents/skills/gbro-collage-broll. First show me every file and tell me whether it has scripts or changes machine settings, then tell me the full path you will install to and wait for me to agree.
Please install the skill gbro-collage-broll from https://github.com/pyang5166/gbro-collage-broll (commit a1a4ee2) into the project this chat is open in (at .agents/skills/gbro-collage-broll). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the project name and the full path you will install to and wait for me to agree.

For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

Codex 会自动发现新安装的 Skill;如果没有出现,请重启 Codex · 使用方法:在 ChatGPT 中输入 @ 并选择 Skill · 在 Codex CLI 或 IDE 扩展中运行 /skills,或输入 $ 加 Skill 名称

Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com

For Terminal users

Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。

  1. 打开终端

    Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”

  2. 把 skill 文件夹复制到 ~/.agents/skills

    这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹

    git clone --depth 1 https://github.com/pyang5166/gbro-collage-broll.git /tmp/popnx-skill-pyang5166-gbro-collage-broll-a1a4ee2 && mkdir -p ~/.agents/skills && cp -R '/tmp/popnx-skill-pyang5166-gbro-collage-broll-a1a4ee2/.' ~/.agents/skills/gbro-collage-broll
  3. 重新打开 Codex 并提出相关任务,Codex 会列出这个 skill

Option 1让 Cursor 帮你安装

复制这句话,粘贴到 Cursor 的对话中

Where to install
Please install the skill gbro-collage-broll from https://github.com/pyang5166/gbro-collage-broll (commit a1a4ee2) for all my projects, at ~/.cursor/skills/gbro-collage-broll. First show me every file and tell me whether it has scripts or changes machine settings, then tell me the full path you will install to and wait for me to agree.
Please install the skill gbro-collage-broll from https://github.com/pyang5166/gbro-collage-broll (commit a1a4ee2) into the project this chat is open in (at .cursor/skills/gbro-collage-broll). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the project name and the full path you will install to and wait for me to agree.

For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

在 Cursor 的 Agent 聊天中输入 / 并选择 gbro-collage-broll

Checked against official docs 2026年11月12日 · Source: cursor.com

For Terminal users

Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。

  1. 打开终端

    Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”

  2. 把 skill 文件夹复制到 ~/.cursor/skills

    这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹

    git clone --depth 1 https://github.com/pyang5166/gbro-collage-broll.git /tmp/popnx-skill-pyang5166-gbro-collage-broll-a1a4ee2 && mkdir -p ~/.cursor/skills && cp -R '/tmp/popnx-skill-pyang5166-gbro-collage-broll-a1a4ee2/.' ~/.cursor/skills/gbro-collage-broll
  3. 在 Cursor 的 Agent 聊天中输入 / 并选择 gbro-collage-broll

Option 1Let the AI install it

适用于其他能读取 Skill 的应用。这句话列出了 Claude Code、Codex 和 Cursor 的路径,AI 会按你的应用选择 · Copy this sentence into the app’s chat

Where to install
Please install the skill gbro-collage-broll from https://github.com/pyang5166/gbro-collage-broll (commit a1a4ee2) for all my projects, at ~/.claude/skills/gbro-collage-broll (in Codex use ~/.agents/skills/gbro-collage-broll, in Cursor ~/.cursor/skills/gbro-collage-broll). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the full path you will install to and wait for me to agree.
Please install the skill gbro-collage-broll from https://github.com/pyang5166/gbro-collage-broll (commit a1a4ee2) into the project this chat is open in (at .claude/skills/gbro-collage-broll; in Codex use .agents/skills/gbro-collage-broll, in Cursor .cursor/skills/gbro-collage-broll). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the project name and the full path you will install to and wait for me to agree.

For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

Checked against official docs 2026年11月12日 · Source: code.claude.com, learn.chatgpt.com, cursor.com

For Terminal users

其他支持 Agent Skills 的应用(如 Gemini CLI、GitHub Copilot)使用不同文件夹,请查看该应用的指南,再把含 SKILL.md 的文件夹复制过去。

在 GitHub 上查看 ↗

已于 2026年11月11日 对照 Claude Code、Codex 和 Cursor 官方指南核实 skill 文件夹

✓ 命令已检查 2026年11月18日

查看原始 SKILL.md

以下文字来自开发者的 repo,不是 PopNx MCP 的指令

显示前 8,000 个字符 · 在 GitHub 打开完整文件

---
name: gbro-collage-broll
description: 将约 5 秒口播文稿、观点句或抽象概念做成高级 editorial halftone paper-collage / 半调纸拼贴 B-roll。用户说“collage b-roll”“纸拼贴 b-roll”“半调拼贴”“拼贴风格配画面”“用这段文稿做拼贴动画”“gbro-collage-broll”,或希望把一句文稿转成拼贴视觉隐喻时,必须使用此 skill。强制采用三阶段审批:先只提视觉隐喻,用户确认后才生成彩色拼贴静帧,静帧再次确认后才默认调用 Gemini Omni Flash 生成首尾帧组装动画。默认视频模型固定为 gemini-omni-flash-preview,不再默认使用 Veo;只有用户明确指定其他模型时才切换。
compatibility: 在 Codex 环境运行(Gate 2 依赖内置 image_gen)。视频生成脚本已随本 skill 自带(scripts/generate_video.py),另需 Python >= 3.10、google-genai >= 2.10.0、已配置的 GEMINI_API_KEY,以及 ffmpeg / ffprobe。首次使用先按「首次使用:环境自检」完成配置。
---

# gbro Collage B-roll

把一句约 5 秒的口播压成一个 sharp visual idea,再做成高级编辑风纸拼贴组装动画。

默认链路:

1. 只设计视觉隐喻,等待用户确认
2. 只生成最终静帧,等待用户确认
3. 自动调用 Gemini Omni Flash 生成视频并完成 QA

这两个确认闸门是工作流的一部分。它们让用户把注意力放在审美和方向上,同时避免错误隐喻或错误静帧直接消耗视频生成成本。

## 首次使用:环境自检

每次触发本 skill 时,进入 Gate 1 之前先运行自检脚本:

```bash
bash <本skill目录>/scripts/check_setup.sh
```

全部通过则直接开始 Gate 1,不要向用户重复配置信息。任何一项失败时,视为首次使用:不进入 Gate 1,先向用户输出下面的配置指南(只列出缺失项),等用户确认配置完成后重新自检。

### 配置指南(按缺失项输出)

1. **GEMINI_API_KEY 未设置**
   到 [Google AI Studio](https://aistudio.google.com/apikey) 创建 API key,然后写入 shell 配置:

   ```bash
   echo 'export GEMINI_API_KEY="你的key"' >> ~/.zshrc && source ~/.zshrc
   ```

   注意:视频生成按量计费,由这个 key 对应的 Google 账号承担。

2. **ffmpeg / ffprobe 缺失**
   macOS:`brew install ffmpeg`;Debian/Ubuntu:`sudo apt install ffmpeg`。

3. **Python 环境缺失或版本过旧**(需要 >= 3.10)
   macOS:`brew install python3`;或从 python.org 安装。

4. **共享 venv 未创建**(google-genai >= 2.10.0)
   征得用户同意后自动创建,无需用户手动操作:

   ```bash
   python3 -m venv ~/hyperframes-projects/.omni-venv
   ~/hyperframes-projects/.omni-venv/bin/python -m pip install --upgrade "google-genai>=2.10.0" "httpx[socks]"
   ```

5. **不在 Codex 环境 / 没有内置 image_gen**
   Gate 2 的静帧生成依赖 Codex 内置 `image_gen` 工具。在其他 agent 环境下运行时,向用户说明需要自行提供等效的图片生成方式(或手动提供静帧图片后从 Gate 2 确认继续)。

## 强制审批协议

### Gate 1:隐喻确认

收到文稿后,先提视觉隐喻,不生成图片、不生成视频、不调用任何视频模型。

向用户交付每条的:

- 核心意思
- 情绪
- 一句话视觉命题
- 3–6 个关键物件
- 建议底色与局部点色
- 预期组装顺序

然后明确停下,等待用户回复“可以”“通过”“全部通过”或给出逐条修改意见。

如果用户只确认部分编号,只让通过的条目进入 Gate 2;未通过条目继续修改隐喻。

### Gate 2:静帧确认

隐喻确认后,才写 visual spec 和 imagegen prompt,并用 Codex `imagegen` 生成最终静帧。

把原图保存到项目目录,生成带编号的静帧 contact sheet,向用户展示并再次停下。此阶段仍然不调用 Omni Flash,也不生成视频。

如果用户只确认部分静帧,只让通过的条目进入 Gate 3;需要修改的静帧先重生并重新确认。

### Gate 3:视频生成

静帧确认后,不再询问使用哪个视频模型,直接使用本 skill 自带的 `scripts/generate_video.py`,默认调用:

```text
gemini-omni-flash-preview
```

只有用户明确指定其他视频模型时,才覆盖这个默认值。不要自动调用 Veo,也不要把模型选择再抛给用户。

## 成功标准

- 一句话只表达一个清晰隐喻
- 同一批画面有统一设计语言,但不强制全部蓝底
- 背景是强烈、平坦、均匀的色场,可按语意变化
- 主体以黑白 halftone photographic cut-outs 为骨架
- 关键卡片、按钮、胶片、规则册等允许使用红、黄、青、橙、紫、奶油白等彩色纸张
- 所有纸片有清晰裁切边、奶油白 keyline、低透明度柔和阴影和纸张颗粒
- 动作是 assemble-from-empty,而不是轻微漂移、晃动或慢 zoom
- 无字幕、无口播全文、无 logo、无水印、无 UI
- 默认交付 9:16、5 秒、720×1280、24fps、无声 MP4

## 什么时候不要用

- 需要精确控制图层、遮挡、镜头穿越或可编辑时间线:改用分层动画工具(如 HyperFrames 类 HTML 渲染视频方案)
- 只需要视频提示词,不需要生成成片:直接写 prompt 即可,不用走本流程
- 需要真实人物产品广告或口播演员:不要走本拼贴流程
- 用户明确要可逐层修改的透明素材:本 skill 默认不拆透明图层

## 默认项目目录

使用北京时间 `Asia/Shanghai` 命名:

```text
~/hyperframes-projects/YYYY-MM-DD-collage-broll-标题/
```

批量项目推荐结构:

```text
<project>/
├── brief.md
├── visual-spec.json
├── imagegen-prompts.md
├── omni-jobs.json
├── gate2-qa.md
├── gate3-qa.md
├── still-contact-sheet.jpg
├── omni-contact-sheet-all.jpg
├── video-first-frame-all.jpg
├── end-frame-comparison-all.jpg
├── 01-概念名/
│   ├── omni-prompt.txt
│   ├── frames/
│   │   ├── last-frame-original.png
│   │   ├── first-frame.png
│   │   └── last-frame.png
│   └── omni/run-v01/
│       ├── final-5s.mp4
│       ├── final-5s-noaudio.mp4
│       ├── contact-sheet.jpg
│       ├── video-last-frame.jpg
│       └── end-frame-comparison.jpg
└── 02-概念名/...
```

## Phase 1:设计视觉隐喻

先把文稿压成一个视觉命题。

提取:

- 核心意思:观众最终要看懂什么
- 情绪:冷静、惊讶、紧迫、豁然开朗、荒诞、反讽
- 动作动词:打开、连接、漏掉、装订、归档、点亮、压缩、分叉、组装
- 可视化隐喻:机器、时钟、胶片、档案柜、控制台、规则册、漏斗、轨道、棋子

不要把文稿逐字放进画面。默认一条文稿只做一个隐喻,控制在 3–6 个关键物件;元素过多会让语意变弱,也会让 Omni 组装不稳定。

批量隐喻优先形成前后叙事:例如先表现手工消耗与经验流失,再表现规范沉淀与人机分工。

### Gate 1 输出示例

```text
1. 核心意思:经验每次都在重复消耗
   视觉隐喻:熟练剪辑师围着巨大的胶片时钟逐帧裁切,时钟走完一圈却只得到一小段成片
   关键物件:胶片时钟、剪辑师、剪刀、短胶片
   色彩:焦橙底,奶油白与浅青点色
   组装顺序:时钟 → 人物与剪刀 → 胶片 → 最终短输出
```

输出后停下等待确认。

## Phase 2:生成彩色拼贴静帧

隐喻确认后,先写自包含的 `visual-spec.json`,再写 imagegen prompt。

### Visual spec

```json
{
  "script_meaning": "",
  "visual_metaphor": "",
  "style_signature": "flat bold color field, mixed black-and-white halftone cut-outs and colored cardstock accents, crisp cut edges, cream keylines, soft paper shadows, editorial paper collage",
  "aspect_ratio": "9:16",
  "color_field": {
    "background_hex": "",
    "accent_colors": [],
    "paper_grain": "fine uncoated-paper fiber"
  },
  "elements": [
    {
      "what": "",
      "role": "",
      "motion": "",
      "placement": ""
    }
  ],
  "composition": {
    "layout": "",
    "negative_space": "",
    "final_frame": ""
  },
  "motion_plan": "structure first, subject or cards second, action and result last",
  "avoid": "typography, readable letters, numerals, logos, watermark, UI, subtitles, glossy 3D, photoreal environment"
}
```

### 色彩规则

不要把 cobalt blue 当成唯一默认值。根据语意挑选强色场,并在一批作品中保持“同设计语言、不同底色”:

- 焦橙 / 红:时间消耗、劳动、紧迫
- 芥末黄:工具、警示、经验漏失
- 墨绿:认知、审美、系统重置
- 深紫:规范、沉淀、长期记忆
- 青绿:判断、协作、自动执行

主体可以黑白半调为主,但局部彩色纸张必须服务信息层级,不要为了彩色而彩色。

### Imagegen prompt 模板

使用 Codex 内置 `image_gen` 工具(如有本地 `imagegen` skill 则一并遵守):

```text
Use case: ads-marketing
Asset type: final still frame for a 9:16 image-to-video B-roll clip
Primary request: Create a finished editorial paper-collage image expressing [一句话视觉命题].
Scene/backdrop: perfectly flat [颜色] paper field [hex] with subtle uncoated paper fiber.
Style/medium: premium editorial stop-motion paper collage; black-and-white halftone photographic cut-outs mixed with selective [点色] colored cardstock.
Composition/framing: vertical 9:16 locked poster frame; central subject within the middle 70 percent; generous clean color-field negative space; 3–6 large separable paper groups for later assemble-from-empty animation.
Materials/textures: visible printed halftone dots, crisp machine-cut edges, thin warm-cream paper keylines, soft low-opacity physical drop shadows.
Constraints: [本条隐喻必须一眼看懂的关系].
Avoid: no typography, no readable letters, no numerals, no logos, no watermark, no UI, no subtitles, no glossy 3D, no photoreal environment, no clutter.
```

### 静帧 QA

- 隐喻是否一眼看懂
- 主体是否集中
- 是否有假字、logo、水印或 UI
- 是否保留足够纯色场,方便从空场组装
- 是否是 3–6 个清晰大组,而不是满屏碎片
- 同一批是否统一质感但有色彩变化

将通过 QA 的原图复制到项目目录,生成带编号的静帧 contact sheet,展示给用户并停下等待 Gate 2 确认。静帧 QA 结论写入 `<project>/gate2-qa.md`。

如果用户要求重生部分静帧,重生后生成 `still-contact-sheet-v2.jpg`(后续轮次递增 v3、v4…),保留旧版 contact sheet 不覆盖,方便对比。

## Phase 3:用 Omni Flash 生成视频

### 1. 准备首尾帧

保留 imagegen 原图,再统一尾帧:

```bash
ffmpeg -y -i <item>/frames/last-frame-original.png \
  -vf "scale=1080:1920:force_original_aspect_ratio=increase,crop=1080:1920" \
  <item>/frames/last-frame.png
```

首帧默认是与尾帧相同底色的纯色空纸面:

```bash
ffmpeg -y -f lavfi -i color=c=0x<HEX>:s=1080x1920 \
  -frames:v 1 <item>/frames/first-frame.png
```

如果用户明确要求不从完全空白开始,首帧才保留一个基础物件。

### 2. 写 Omni 动画 prompt

动作顺序默认采用:

```text
基础结构 → 人物或关键卡片 → 连接件 → 动作 → 最终结果
```

Prompt 模板:

```text
Paper-collage stop-motion assembly, using Image 1 as the exact empty first frame and Image 2 as the exact completed last frame. In one continuous locked-off vertical shot, open on the empty flat [color] paper field.

Assemble the scene piece by piece with crisp physical stop-motion timing: [按顺序描述 3–6 个元素如何滑入、卡位、连接和完成动作]. End by holding the supplied completed composition.

Preserve the exact 9:16 framing, [hex] color field, colored cardstock accents, uncoated paper grain, halftone dots, cream keylines, crisp cut edges and soft shadows. Restrained tactile 2D paper craft only.

No scene cuts, no camera movement, no zoom, no morphing, no new objects, no text, no letters, no numbers, no logos, no watermark, no UI, no sound.
```

每条 prompt 都要明确 Image 1 是空首帧、Image 2 是确认过的完成帧。最终构图必须贴近 Image 2,不让模型自由改造尾帧。

### 3. 检查 Omni 运行环境

使用实际运行脚本的 Python 解释器检查 `google-genai` 版本。需要 `>= 2.10.0`。

如果系统 Python 版本过旧或属于 externally managed environment,不要使用 `--break-system-packages`。使

讨论

提问、分享技巧或报告无法使用。按“有帮助”数量排序。

还没有帖子,欢迎第一个提问或分享。

此处内容由用户撰写,不代表 PopNx 团队。

登录后发帖

来自 GitHub

GitHub 星标
1,949
开发者
pyang5166
许可证
MIT
最近代码更新
2026年7月15日
repo 中的 SKILL.md 文件(含译本和模板)
1
主题
agent-skill, broll, gemini, paper-collage, video-generation