Le SKILL.md ci-dessous est reproduit depuis
Acrabxie/lumeri (commit
645864c) sous licence
MIT. Le texte est inchangé ; seules les métadonnées d’en-tête du fichier sont omises, les images sont affichées sous forme de liens et les fichiers très longs sont tronqués. Copyright 2026 Gemia Contributors. Licence :
LICENSE. Seul le fichier d’instructions est affiché ; consultez le dépôt d’origine pour les éventuels scripts.
composite-blend
何时使用
用户要求把素材通过 mask/key/blend 合到一起时使用。遇到“抠像、绿幕、蒙版、遮罩、羽化、反选、matte、DaVinci Resolve、Fusion page、Color page、power window、局部遮罩、背景替换”时,优先考虑视频级 gemia.video.masking.*,不要退回纯文字层。
参数说明
核心参数是 mode、key_color、tolerance、low/high/soft、shape、center、size、feather、invert、background_path、background_color、matte_view。缺省时直接执行:绿幕用 green + tolerance 0.28;局部强调用 ellipse + feather;不确定背景时用黑色/暗背景预览。
典型 plan 片段
{"id":"step_1","function":"gemia.video.masking.render_chroma_key_preview","args":{"key_color":"green","tolerance":0.28,"feather":1.5,"background_color":"black"},"input":"$input","output":"$output","assistant_message":"我先做一版干净的绿幕抠像预览,保留边缘羽化和黑底检查。","artifact_type":"video"}
边界 / fallback
多层时间轴动画用 layer-flow;普通 lower-third 不需要 composite primitive。这里的“达芬奇”指 DaVinci Resolve 剪辑软件的能力参照,不是艺术风格;需要自定义复杂节点树时先用 render_masked_composite 做小样,不要发明未注册的 Resolve/Fusion primitive 名字。
Voir le texte intégral de la licence (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.