技能圖譜SKILLSGROVE
技能圖譜/影片製作/Acrabxie/lumeri/transition

transition

安裝

$npx skills add https://github.com/Acrabxie/lumeri --skill transition
$git clone --depth 1 https://github.com/Acrabxie/lumeri.git /tmp/lumeri && mkdir -p ~/.claude/skills && cp -r /tmp/lumeri/gemia/ai/skills/transition ~/.claude/skills/transition
請幫我安裝這個 Agent Skill:https://github.com/Acrabxie/lumeri/tree/645864c9f3dc51f05bd8511c1291841766baf560/gemia/ai/skills/transition ,先閱讀它的 SKILL.md 和指令碼,確認安全後再安裝到我的技能目錄。

簡介

原文描述 · MIT用于素材之间的转场和过渡,如溶解、擦除、推拉、淡入淡出、自定义 transition、相机快门和光圈叶片转场。何时不用我:单个片段的裁剪或拼接顺序用 timeline-ops;整体色调风格用 color-grade;MG 标题动画用 html-graphics。
以下 SKILL.md 內容轉載自 Acrabxie/lumeri(提交 645864c),依據 MIT 許可證轉載正文(文字未改動;僅省略檔案頭後設資料、將圖片顯示為連結,超長內容會截斷);版權歸 2026 Gemia Contributors 所有。許可證:LICENSE。僅展示說明檔案,附帶指令碼請在原倉庫檢視。

transition

何时使用

用户要求片段 A 到片段 B 有视觉过渡效果时使用。默认缺参时优先短溶解。用户提到“相机快门 / 快门 / 光圈叶片 / iris / aperture”时,优先使用 gemia.video.transitions.transition_shutter,不要用 HTML/CSS 图层模拟,也不要退回普通 dissolve。

参数说明

核心参数是 duration_sec、transition、direction、mask_fn。transition_shutter 还支持 blade_count、hold_sec、edge_highlight 和 highlight_strength:用户要求快门停顿/保持全黑时写 hold_sec,用户要求金属高光、叶片边缘、机械质感时写 edge_highlight: true。素材选择必须写在 step 的 input 字段里,例如 ["$input", "$step_1"] 或项目中相邻两段素材路径;不要把 input_a、input_b、output_path 放进 args。

典型 plan 片段

{"id":"step_1","function":"gemia.video.transitions.transition_dissolve","args":{"duration_sec":0.5},"input":["/path/a.mp4","/path/b.mp4"],"output":"$output"}
{"id":"step_1","function":"gemia.video.transitions.transition_shutter","args":{"duration_sec":1.0,"blade_count":6},"input":["/path/a.mp4","/path/b.mp4"],"output":"$output"}
{"id":"step_1","function":"gemia.video.transitions.transition_shutter","args":{"duration_sec":1.0,"blade_count":6,"hold_sec":0.1,"edge_highlight":true,"highlight_strength":0.75},"input":["/path/a.mp4","/path/b.mp4"],"output":"$output"}

边界 / fallback

不要把“需要补充转场类型”直接当 error;若缺少必要目标才返回 ask。用户只说“加转场”时使用默认溶解。

檢視許可證全文(MIT)
MIT License

Copyright (c) 2026 Gemia Contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.