Skills › HyperFrames › media-use › README.md
README.md
28 lines · skills/media-use/luts/README.md at a595755
1# LUT library (authoring)
3`index.json` is the agent-consumed catalog of color-grade looks. Each entry resolves
4on demand — no `.cube` bodies are committed to the repo.
6Each look has:
8- `id`, `description`, `tags`, `intensity` — matching + application metadata.
9- `url` (optional) — a hosted `.cube` downloaded, validated, and frozen at resolve
10 time, exactly like bgm/image assets.
11- `params` (optional) — a deterministic `buildCube` spec used offline (`--local-only`)
12 or as a fallback if the `url` download/validation fails.
14An entry needs at least one of `url` or `params`; prefer both (CDN url with a params
15fallback) so resolution is never blocked on the network.
LUT library (authoring)
index.json is the agent-consumed catalog of color-grade looks. Each entry resolves on demand — no .cube bodies are committed to the repo.
Each look has:
id,description,tags,intensity— matching + application metadata.url(optional) — a hosted.cubedownloaded, validated, and frozen at resolve time, exactly like bgm/image assets.params(optional) — a deterministicbuildCubespec used offline (--local-only) or as a fallback if theurldownload/validation fails.
An entry needs at least one of url or params; prefer both (CDN url with a params fallback) so resolution is never blocked on the network.
17## Hosting a new look (operators)
191. Generate the `.cube` (e.g. `resolve -t lut --params '{...}'` or a graded export).
202. Upload it to the public CDN origin bucket:
22 ```
23 aws s3 cp <id>.cube s3://heygen-public/luts/<id>.cube
24 ```
26 It is then served at `https://static.heygen.ai/luts/<id>.cube` (CloudFront).
283. Add an entry to `index.json` with that `url` (and ideally a `params` fallback).
Hosting a new look (operators)
- Generate the
.cube(e.g.resolve -t lut --params '{...}'or a graded export). - Upload it to the public CDN origin bucket:
aws s3 cp <id>.cube s3://heygen-public/luts/<id>.cube
It is then served at https://static.heygen.ai/luts/<id>.cube (CloudFront).
- Add an entry to
index.jsonwith thaturl(and ideally aparamsfallback).