taste-distillation
它能做什么
这个工具会分析参考视频,生成一个“风格包”。风格包中包含色彩、剪辑节奏(镜头时长)以及其他视觉元素的信息,让你可以在新项目中稳定地复现同一种画面质感。
适用场景
- ✓想复制某个视频的画面风格时。
- ✓想创建一种可以在多个项目中重复使用的视觉风格时。
- ✓想把视觉参考转化为一套可用的剪辑工具时。
技能链接
https://github.com/affaan-m/ECC/blob/main/skills/taste-distillation/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我希望这个视频拥有和另一个参考视频相同的视觉风格与剪辑节奏。”
每周 5 个新技能,1 分钟读完。
工作原理
这个工具会检查参考视频,提取色彩、镜头时长以及其他视觉细节的数据。这些数据会被整理成一个“风格包”,可以应用到新视频中。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Taste Distillation
This standalone skill ships its implementation in scripts/; use
taste-application for the subsequent generated or local-take edit. Keep each
named genre in its own pack. Measurements from Flash Ethereal must not be
silently reused for Fluid Sketch or 3D Cyber Glitch. A measured zero is valid
data; distinguish it from an absent field.
Local dependencies are in scripts/requirements.txt. Separately authorized
provider work also needs scripts/requirements-live.txt, credentials and
explicit TASTE_FORGE_ALLOW_LIVE=1. --dry-run does not read credentials or
submit jobs. Never infer that a workflow was saved from a local endpoint name;
use the actual provider-side workflow or request evidence.
Turn reference videos into a style pack: a folder of measurements and assets that later stages consume deterministically.
When to Activate
- "capture the look of these clips" / "distill the vibe" / "make this repeatable"
- User has reference footage and wants a LUT, a grade, or matching pacing
- Building a library of looks partitioned by genre
- Any request where the answer would otherwise be "describe the style in a prompt"
The Core Finding
Prompting cannot deliver a grade. Measurement can.
Measured on real footage: three paid generations with escalating colour direction moved midtone a* from +1.9 → +2.8 → +0.3 against a +24.9 target, and contrast never left ~19 against a 34.7 target. Applying a measured pack to the same footage hit chroma MAE 1.88 and contrast 33.7 in one deterministic pass, for free.
So the split is: the model supplies content, motion and lighting structure; the pack supplies the look. Colour words in a generation prompt are worse than useless — they cost money and push the render away from the neutral base the LUT wants. Say so explicitly in the prompt: "Colour: none. Render neutral. Grading is applied afterwards."
What a Pack Contains
stylepacks/<genre>/
grade.json measured colour statistics (see below)
cadence.json every detected shot boundary + the derived distribution
look.cube 33^3 LUT, drag straight into Resolve as a node LUT
spec.json VLM description, grounded in the measurements
grounding.txt the measured facts fed to the VLM
stills/ full-res frames from the longest shots (conditioning images)
plates/ screen-blend overlay elements lifted onto black
props/ minted GLB meshes
pack.json manifest
Running It
python mint.py --genre <name> --refs a.mov b.mov c.mov # offline, no API key
python distill.py --genre <name> # one VLM call
mint.py is pure numeric analysis — no network, no key, deterministic, so a pack
can be regenerated rather than backed up.
The Measurements That Matter
Chroma by luminance zone, not globally
Colour identity usually lives in one luminance band. A global a*/b* offset
mathematically cannot represent split-toning. Measure chroma inside zones
(L* edges [0,15,35,55,75,100]).
A real signature: violet at L*25 (a* +24.9, b* −17.5), near-neutral at both ends. Reporting only the darkest and lightest zones calls that "uniform cast" — always print the whole curve.
Median + MAD, never mean + std
Chroma in real reference sets is strongly right-skewed. On one measured reel the mean midtone chroma was 36.9 against a median of 17.5, so a mean-based LUT pushed colour ~3x harder than the material warranted.
Contrast is std(L*), not white minus black
The white−black range is ~100 on almost any real footage and discriminates nothing.
Background share is a first-class statistic
Record the share of pixels below L*10. No moment of the distribution can see it: a clip can hold the right mean, std and chroma while its blacks have been lifted into grey. This is exactly how a grade once scored MAE 1.88 / contrast 33.7 while the actual frame was a muddy purple mess.
Mask the interface before measuring
Screen-recorded references carry static furniture — letterbox bars, a status bar, a like icon, caption text. All of it lands in the statistics as if it were the look: black bars inflate shadow weight, a red heart skews a* toward magenta. Temporal variance separates them cleanly — the footage moves, the interface does not — so no hand-tuned crop is needed. On real material this keeps ~65% of pixels.
Cadence needs an adaptive threshold
…
常见问题
什么是“风格包”?
风格包是一组文件,记录了参考视频的视觉特征,比如色彩和剪辑节奏,这样就可以稳定地应用到其他视频上。
为什么不能直接在提示词中描述风格?
用文字描述色彩和节奏并不精确,甚至可能影响结果。这个工具会测量视频的实际特征,确保准确。
“风格包”包含哪些内容?
它包含测量得到的色彩数据、镜头切换边界的信息、一个用于调色的 LUT 文件,以及主画面静帧(hero stills)和叠加层素材(overlay plates)等其他视觉元素。
详情
作者的原始描述
Measure a set of reference videos into a reusable style pack - colour grade as a 3D LUT, cut rhythm as a shot-length distribution, hero stills, screen-blend overlay plates, and a text spec for a generative model. Use when the user wants to capture the look of reference footage, build a repeatable look, mint assets from references, or reproduce someone's grade and pacing.
repo: affaan-m/ECC
热度
- GitHub 星标
- 280k
- 排名
- #417
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
accessibility
280k帮你的智能体创建人人都能使用的界面。确保网站和应用对残障人士友好,比如失明或行动不便的用户也能顺畅使用。
agent-architecture-audit
280k让你的智能体检查一切是否正常运行。它能找出并修复 AI 系统中的问题,确保系统按预期工作。
agent-eval
280k帮你的智能体比较不同的 AI 编程工具。它能衡量哪个工具在特定任务上更快、更便宜、更可靠。
agent-harness-construction
280k让你的智能体更好地理解如何完成任务。它会优化智能体使用的工具和指令,提高成功的几率。