@officexapp/vidfarm-devcli 0.21.35 → 0.21.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agents/skills/editor-capabilities/SKILL.md +1 -1
- package/.agents/skills/vidfarm/SKILL.md +7 -3
- package/.agents/skills/vidfarm/harnesses/short-form.HARNESS.md +3 -3
- package/.agents/skills/vidfarm/recipes/cutout-graphics-for-explainers.md +42 -12
- package/.agents/skills/vidfarm/references/automation-and-local-dev.md +4 -4
- package/.agents/skills/vidfarm/references/hooks-and-virality.md +3 -2
- package/SKILL.director.md +56 -21
- package/SKILL.md +1 -1
- package/dist/src/cli.js +429 -53
- package/dist/src/devcli/handoff.js +54 -33
- package/dist/src/devcli/plate-key.js +698 -0
- package/dist/src/devcli/sticker-pack.js +48 -0
- package/package.json +3 -2
package/SKILL.md
CHANGED
|
@@ -41,7 +41,7 @@ The last two are production *methods*, not just budgets. **rich-ai**: generate t
|
|
|
41
41
|
|
|
42
42
|
**Even in `minimize`, you can still get custom images — for free, manually.** When stock and masking existing art won't cover a bespoke graphic, don't say "not possible" and don't quietly spend: ask the user once whether to **default to free manual image generation**, then write the prompt and have them run it in <https://meta.ai>, free-tier ChatGPT, or a free Hugging Face image Space, and hand the PNG back (`vidfarm put-file`, or drag into My Files). Ask for **one image containing every graphic you need**, gridded on a **flat chroma plate** with no text (`#00FF00` green by default — but pick a different plate when the art itself is green, or the key will punch holes through it) — one round trip instead of many, which is the token-efficient move. Then split it locally at $0 in one command: `vidfarm sticker-pack ./sheet.png --items "a,b,c" --out-dir ./stickers` keys the green out, finds each item in the sheet automatically, and writes a snug transparent sticker per item. Prompt template + full loop in the director skill.
|
|
43
43
|
|
|
44
|
-
**"Make me a sticker pack" = one greenscreen sheet, then masked apart.** A pack is a *set* that has to share one art style, so never generate the items one by one — generate a single image holding all of them on a flat `#00FF00` plate, then split it: `vidfarm sticker-pack --generate "<theme>" --items "a,b,c,d"` (one billed image job for the whole set, then free local keying + automatic alpha segmentation + per-item trim + a `stickers.json` manifest). **The
|
|
44
|
+
**"Make me a sticker pack" = one greenscreen sheet, then masked apart.** A pack is a *set* that has to share one art style, so never generate the items one by one — generate a single image holding all of them on a flat `#00FF00` plate, then split it: `vidfarm sticker-pack --generate "<theme>" --items "a,b,c,d"` (one billed image job for the whole set, then free local keying + automatic alpha segmentation + per-item trim + a `stickers.json` manifest). **The key is connectivity-based, so the art is far freer than a chroma key implies:** the plate is flood-filled inward from the sheet's edge and only background that *reaches* the edge is removed, so plate-colored detail inside an item and hollow/outline shapes survive, and the plate is un-mixed out of each edge pixel individually (no green fringe). What still matters is the **silhouette** — an item's outer edge must differ from its plate and must be crisp (nothing glowing/blurring/shadowing into the background) — plus clear gaps between items. **And you can give every sticker its OWN plate color:** `--sheet-mode zoned` asks for a grid of solid color *panels*, one item per panel, each panel's plate picked against that item (a green frog on magenta beside a pink flower on green), keyed panel-by-panel, with names pinned to panels instead of guessed from reading order. It's the default for 2+ named items; `--sheet-mode flat` (or a model that just ignores the grid — detected automatically, re-keyed as one plate) falls back to the classic single-color sheet. `--key-mode flat` restores the plain chromakey, and `--refine` re-cuts each item with local ONNX matting for painterly/soft/furry art. Stickers are **not necessarily small** — a full-frame landscape or backdrop is as valid an item as an icon — and they're normally **animated on the canvas** (`vidfarm place` + `vidfarm keyframes` presets: pop-in, float, shake, grow, slide-in, drift). A sticker whose own art moves is a **transparent WebM** (`vidfarm remove-greenscreen <video>`), and for GIF-only surfaces both paths can emit **transparent GIFs** (`sticker-pack --output-format gif`, `remove-greenscreen --gif`, 1-bit alpha). Full recipe in the director skill.
|
|
45
45
|
|
|
46
46
|
## Ask the second question too — interactive or autonomous?
|
|
47
47
|
|