Skip to content
Marketing
Skill

/video-intro-outro

视频片头 / 片尾:生成带标题、副标题、logo、关注引导的片头卡片和片尾卡片,并拼接到主视频(硬切或淡入淡出转场)。当用户说 片头、片尾、加片头片尾、开场卡片、结尾卡片、标题卡、关注引导页、订阅引导、视频开头加标题、结尾加点赞关注、intro、outro、片头动画 时使用。基于 shared/scripts/intro_outro.py 确定性 ffmpeg 封装。与 poster-hero 区别:poster-hero 出静态封面图,本 SKILL 出可拼接的视频卡片片段。

From plugin
easel
4.7k118 skills1 agent

Claude Code

$ npx -y skills add zju-real/easel --skill video-intro-outro --agent claude-code

SKILL.md

video-intro-outro.SKILL.md
name: video-intro-outro
description: "视频片头 / 片尾:生成带标题、副标题、logo、关注引导的片头卡片和片尾卡片,并拼接到主视频(硬切或淡入淡出转场)。当用户说 片头、片尾、加片头片尾、开场卡片、结尾卡片、标题卡、关注引导页、订阅引导、视频开头加标题、结尾加点赞关注、intro、outro、片头动画 时使用。基于 shared/scripts/intro_outro.py 确定性 ffmpeg 封装。与 poster-hero 区别:poster-hero 出静态封面图,本 SKILL 出可拼接的视频卡片片段。"
layer: produce

视频片头 / 片尾

> 生成片头/片尾**视频卡片**(标题 + 副标题 + logo + 关注引导),并把 片头 + 主视频 + 片尾 > 归一化后拼接成一条成片。全部走 `skills/shared/scripts/intro_outro.py`,**不要手拼 > drawtext / xfade**——脚本已处理字体路径、音画参数一致、转场时间偏移计算。

> 只做"片头/片尾卡片 + 拼接"。静态封面图见 **poster-hero**;通用剪辑见 **video-editing**; > 完整"一句话→成片"流水线见 **auto-short-video**。

输入

| 字段 | 必填 | 说明 | |------|------|------| | 主视频 | 拼接时必填 | 要加片头/片尾的视频(没给就问) | | 标题/副标题 | 推荐 | 片头主题、片尾致谢等文案 | | 关注引导 CTA | 片尾常用 | 如"点赞 + 关注 不迷路" | | logo | 可选 | 品牌 logo 图片,叠在标题上方 | | 画幅 | 可选 | 默认竖版 1080x1920;拼接时默认对齐主视频 | | 背景 | 可选 | 纯色 / 双色渐变 / 图片 |

输出(`outputs/主题名/`)

  • 片头 / 片尾卡片片段(`intro.mp4` / `outro.mp4`)
  • 拼接后的成片(`*-final.mp4`)
  • 报告:卡片时长、画幅、转场方式

执行步骤

脚本路径(相对项目根):`skills/shared/scripts/intro_outro.py`(各子命令支持 `-h`)。

1. 生成片头卡片

python skills/shared/scripts/intro_outro.py card \
  --title "本期主题" --subtitle "3 分钟讲清楚" \
  --gradient --color 0x1a2a6c --color2 0xb21f1f \
  --size 1080x1920 --duration 2.5 -o outputs/主题名/intro.mp4

2. 生成片尾卡片(带关注引导)

python skills/shared/scripts/intro_outro.py card --preset outro \
  --title "感谢观看" --cta "点赞 + 关注 不迷路" \
  --color black --size 1080x1920 --duration 2.5 \
  -o outputs/主题名/outro.mp4

背景三选一:`--color <色>`(纯色)/ `--gradient`(配 `--color`/`--color2` 双色渐变)/ `--bg-image <图>`(图片背景,自动裁切填满)。`--logo <图>` 叠加品牌 logo。

3. 拼接到主视频

# 硬切(默认,最稳)
python skills/shared/scripts/intro_outro.py attach --main <主视频> \
  --intro outputs/主题名/intro.mp4 \
  --outro outputs/主题名/outro.mp4 \
  -o outputs/主题名/<名>-final.mp4

# 淡入淡出转场
python skills/shared/scripts/intro_outro.py attach --main <主视频> \
  --intro outputs/主题名/intro.mp4 --transition fade --trans-duration 0.5 \
  -o outputs/主题名/<名>-final.mp4

`--intro` / `--outro` 至少给一个,可只加其一。`--transition` 可选 `none/fade/fadeblack/fadewhite/wipeleft/slideup/circleopen`。画幅默认对齐主视频, `--size` 可强制。

Profile 感知

  • 有 Profile:标题/CTA 语气贴合 `style.md` 人设;有品牌 logo/主色时用作 `--logo` 与

`--color`;默认画幅按 `platforms.md` 主平台(抖音/小红书竖版 1080x1920,B站/横版 1920x1080)。

  • 无 Profile:用中性文案与默认深色背景,竖版 1080x1920,末尾提示可提供品牌信息定制。

规则

1. 卡片时长默认 2.5s,片头别太长(2-3s 为宜),避免劝退。 2. 文案精炼——标题一句、副标题一句、CTA 一句,不堆字。 3. 拼接前脚本会自动把三段归一化到同画幅/帧率/音轨,**不要**自己先转格式。 4. 转场时长自动限制在相邻片段时长内,过长会被收窄。 5. 产物统一进 `outputs/主题名/`。

参考来源

片头片尾/关注引导卡片是短视频与 B站/YouTube 的标准件;实现参考 ffmpeg drawtext(文字层) 与 xfade/acrossfade(转场音画交叠)的确定性组合,把易错的时间偏移与参数对齐封装进脚本。

Read more
@zju-real
Ships witheasel

An open-source AI agent for social media — discover trends, create content, publish everywhere, and learn what works across Xiaohongshu, Douyin, Zhihu, Bilibili, and more.🎨一个开源的 AI 社交媒体智能体——发现热点趋势、创作内容、一键发布至各大平台,并学习分析哪些内容真正有效,覆盖小红书、抖音、知乎、哔哩哔哩等平台。

4.7k118 skills1 agent
Get the whole plugin

Stars on GitHub

Momentum

stars in total
4.7k
Star history of zju-real/easel on GitHub, a chart by star-history.com

Other skills on easel.

ai-image-gen

ai-image-gen

通用 AI 生图:文生图 / 图生图 / 图像变体。当用户说 AI 生图、AI 画图、文生图、图生图、生成图片、生成配图、图像生成、AI 出图、AI 作图、换图、改图、图像编辑、给我画一张、生成一张图 时使用。支持 OpenAI 兼容 API 与…

@zju-real@zju-realInstall Skill
ai-music

ai-music

AI 音乐 / BGM 生成:给短视频、社媒内容生成原创背景音乐 / 配乐 / 纯音乐。通过可插拔 provider(阿里 DashScope / Suno 类第三方 API)文生音乐,异步提交→轮询→下载,产物可再裁剪/归一化或加到视频。当用户说“AI…

@zju-real@zju-realInstall Skill
ai-video-gen

ai-video-gen

AI 视频生成:文生视频 / 图生视频 / 数字人首帧驱动。通过可插拔 provider(通义万相 Wan / 火山 Seedance / 快手可灵 / OpenAI 兼容)异步生成视频,用户自备 API key。当用户说 AI…

@zju-real@zju-realInstall Skill
asset-manager

asset-manager

outputs/ 目录下的产物管理:按日期/平台/类型归档、打标签、搜索历史内容、生成素材清单。 当用户说"整理素材"、"归档"、"找之前的内容"、"搜索历史"、"素材管理"、 "outputs 整理"、"之前做的"时使用。 与其他 produce 层…

@zju-real@zju-realInstall Skill
audio-denoise

audio-denoise

音频降噪:去除录音中的背景噪声、电流声、风噪、嗡嗡声,基于 ffmpeg 滤镜链(afftdn/highpass/lowpass)。 当用户说"降噪""去噪""去杂音""消除背景噪声""电流声""风噪""录音有杂音""音频降噪"时使用。 和…

@zju-real@zju-realInstall Skill
audio-editing

audio-editing

通用音频处理:音频剪辑/裁剪、格式转码(mp3/wav/m4a/aac)、音量归一化、从视频提取音轨、多段拼接、淡入淡出、变速(保音高)。当用户说“剪音频”“裁一段”“转成…

@zju-real@zju-realInstall Skill

More skills from other plugins.

seo

seo

Comprehensive SEO analysis for any website or business type. Full site audits, single-page analysis, technical SEO (crawlability,…

@agricidaniel@agricidanielInstall Skill
brag

brag

Turn the current project website into a short, polished, shareable launch video using Hyperframes. Use when someone says "/brag",…

brag3w21k
@latent-spaces@latent-spacesInstall Skill
geo-audit

geo-audit

Full website GEO+SEO audit with parallel subagent delegation. Orchestrates a comprehensive Generative Engine Optimization audit…

Questions about video-intro-outro.

Which coding agents can use video-intro-outro?
video-intro-outro installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.