El SKILL.md siguiente se reproduce de
Acrabxie/lumeri (commit
645864c) bajo la licencia
MIT. El texto no se ha modificado; solo se omiten los metadatos de cabecera del archivo, las imágenes se muestran como enlaces y los archivos muy largos se truncan. Copyright 2026 Gemia Contributors. Licencia:
LICENSE. Solo se muestra el archivo de instrucciones; consulta el repositorio original para ver los scripts.
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。用户只说“加转场”时使用默认溶解。
Ver el texto completo de la licencia (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.