Skip to content

gooseworks-ai/goose-skills / skills/video/render-glassy-matte-grwm

render-glassy-matte-grwm

Verified

Assemble a multi-scene GRWM beauty-demo ad from a config — a locked-identity creator applies ~5 products step by step while a SEPARATE ElevenLabs voiceover narrates and every scene cut is snapped to the VO's product-name word-starts (Whisper word-level timestamps), then ~5 Playwright product overlay cards (real PDP-verified taglines) are composited onto the master each on its product-NAME word-start, the SEPARATE VO is mixed on top of a ducked music bed at loudnorm I=-14, clean-white 3-words/cue captions are burned, and the video closes on a flat-lay end card. This is the FREE deterministic assembly stage (re-cut to the VO word-starts, hard-concat, Playwright card render + card composite, VO plus music mix, caption burn, flat-lay end card); the VO, scene clips, product cutouts, and music come from create-music-elevenlabs / create-image-gpt-image-fal / create-video-fal. Use for the glassy-matte-grwm format.

FileKindSize
SKILL.mdskill md6.4 KB
scripts/PIPELINE.mdmarkdown6.5 KB
scripts/README.mdmarkdown3.3 KB
scripts/config.example.jsonconfig12.8 KB
skill.meta.jsonconfig179 B
tests/smoke-test.mdmarkdown1.5 KB

scripts/config.example.json

View on GitHub
{
  "_comment": "Worked example (the Fernwick Skin '5-Step Glassy Matte Skincare Routine' demo). Creative fields — assets.creator_anchor + assets._note_creator + scene_clips.clips[].beat (choices.creator), assets.vanity_world (choices.setting), vo.voice_id + vo.voice_name + vo.source (choices.voice), vo.script + vo.style (choices.tone), music.prompt (choices.music) — come from the recipe's choices; never copy them as defaults. palette + products + cards come from the brand kit / PDPs, not this file. Copy to config.json and edit. A ~32s 9:16 (1080x1920, 30fps) MULTI-SCENE GRWM beauty demo where a locked-identity creator applies 5 Fernwick skincare products step-by-step at a sage vanity, a SEPARATE locked ElevenLabs Karri VO narrates the routine, and every scene cut is snapped to the VO's 'step N' / product-name word-starts (Whisper), with 5 Playwright product overlay cards (PDP-verified taglines) on the product-name beats, a warm acoustic music bed ducked under the VO, clean-white 3-words/cue captions, closing on a gpt-image-2 flat-lay end card. Pipeline: (1) lock creator anchor + sage-vanity world + hook keyframe + Karri VO (atempo 1.15x -> ~27.5s); (2) 7 Seedance 2.0 scene clips (720p, --no-audio) + the flat-lay still; (3) Groq whisper-large-v3 word-level on the VO; (4) re-cut + hard-concat to the 12 VO cuts (build_v4.py, -crf 20 re-encode); (5) 5 white-bg gpt-image-2 product cutouts (PDP-verified taglines) + Playwright cards (render_cards.py); (6) composite cards on the product-name beats (composite_cards.py, -loop 1 -t) + mix VO/music + burn captions + flat-lay end card (build_master.py). Master 1080x1920 h264+aac, ~32s. See scripts/PIPELINE.md for the source scripts.",
  "brand_name": "Fernwick Skin",
  "campaign": "5-Step Glassy Matte Skincare Routine",
  "title": "5 steps, one glassy finish",
  "width": 1080,
  "height": 1920,
  "fps": 30,
  "duration_sec": 32.0,
  "aspect_ratio": "9:16",
  "palette": {
    "card_bg": "#EEF2EA",
    "accent": "#5E8C6A"
  },
  "assets": {
    "creator_anchor": "assets/characters/grwm-creator.png",
    "_note_creator": "EXAMPLE ONLY (set from choices.creator + choices.setting). Demo creator: 28yo with a dark curly bob, cream terry headband, oatmeal ribbed tank, in a sage-green bathroom. Identity + wardrobe + setting held across every scene clip.",
    "vanity_world": "assets/worlds/sage-vanity.png",
    "hook_keyframe": "assets/keyframes/five-products-fanned.png",
    "_note_hook": "Creator holding the ~5 products fanned near the face (demo: 5 frosted sage Fernwick bottles and jars). Doubles as the payoff-smile beat (s07a)."
  },
  "vo": {
    "_comment": "SEPARATE locked ElevenLabs VO (voice from choices.voice, delivery from choices.tone; the demo used Karri) — NOT a native Seedance take. Whispered FIRST; the word-starts set the timeline. atempo 1.15x makes it end at ~27.5s (NOT 45s). Script written clean (no eleven_v3 audio tags).",
    "source": "user_supplied",
    "provider": "elevenlabs",
    "model": "eleven_v3",
    "voice_id": "3mip1Cv2rZYeio9MCzfr",
    "voice_name": "Karri",
    "stability": 0.40,
    "similarity_boost": 0.75,
    "style": 0.25,
    "atempo": 1.15,
    "script": "okay, here's my glassy matte skin routine. step one, Rice Toner. it preps my skin before anything else. step two, Peptide Drops. plump and smooth in one drop. step three, Barrier Cream for calm. step four, Blur Primer. it mattes and refines. step five, Daily Veil. that's the shield. five steps, one finish. under three minutes.",
    "actual_duration_s": 27.5,
    "outputs": {
      "audio": "working/voiceovers/locked/vo-full-atempo115.mp3",
      "word_timings": "working/voiceovers/locked/vo-full-atempo115.words.json"
    },
    "_word_starts": {
      "_comment": "Whisper-verified word-starts for this exact atempo'd mp3. Scene cuts snap to the 'step N' starts; cards snap to the product-NAME starts.",
      "step_one": 3.32, "Rice Toner": 4.34,
      "step_two": 8.64, "Peptide Drops": 9.56,
      "step_three": 13.82, "Barrier Cream": 14.86,
      "step_four": 17.00, "Blur Primer": 17.94,
      "step_five": 21.48, "Daily Veil": 22.42,
      "five_steps_one_finish": 24.62, "under_three_minutes": 26.50
    }
  },
  "scene_clips": {
    "_beat_rule": "beat = THIS brand's product N applied by the creator from choices.creator (soft verbs: dabs / swirls / dusts). The beats below are the Fernwick demo's.",
    "_comment": "7 Seedance 2.0 clips (create-video-seedance-fal, Fal direct, 720p, 9:16, --no-audio) off the locked anchor + world. Use soft verbs (dabs / pats / smooths) — hard verbs like 'press' or 'brush her face' can 422 on content policy. All 7 are paid calls.",
    "provider": "fal",
    "model": "seedance_2_0",
    "resolution": "720p",
    "aspect_ratio": "9:16",
    "audio": false,
    "clips": [
      { "id": "s01-hook",      "role": "HOOK",   "duration_sec": 4, "ref": ["hook_keyframe"],               "beat": "holds five frosted sage Fernwick bottles and jars fanned near her face, eye contact with selfie camera, playful smile" },
      { "id": "s02-toner",     "role": "STEP_1", "duration_sec": 7, "ref": ["creator_anchor", "vanity_world"], "beat": "shakes Rice Toner into her palms, pats it gently over cheeks + forehead with flat hands" },
      { "id": "s03-drops",     "role": "STEP_2", "duration_sec": 8, "ref": ["creator_anchor"],              "beat": "squeezes the Peptide Drops dropper, dots three drops on each cheek, smooths them outward with fingertips" },
      { "id": "s04-cream",     "role": "STEP_3", "duration_sec": 7, "ref": ["creator_anchor"],              "beat": "scoops a little Barrier Cream from the jar, warms it between fingertips, smooths it over cheeks + jawline" },
      { "id": "s05-primer",    "role": "STEP_4", "duration_sec": 6, "ref": ["creator_anchor"], "tier": "fast", "beat": "dabs a pea of Blur Primer on her T-zone, taps it in lightly with a ring finger (soft verbs only)" },
      { "id": "s06-veil",      "role": "STEP_5", "duration_sec": 6, "ref": ["creator_anchor"],              "beat": "pumps Daily Veil fluid onto two fingers, glides it across her face; skin settles to a soft glassy-matte sheen" },
      { "id": "s07a-payoff",   "role": "PAYOFF", "duration_sec": 4, "ref": ["hook_keyframe"],               "beat": "smiles fully into the selfie camera, fresh glassy-matte skin, warm confident expression" }
    ]
  },
  "cuts": {
    "_comment": "12 cuts derived from the VO word-starts (build_v4.py). Scene cuts land on 'step N' starts; s02 + s03 + s05 sub-cut for pacing. Hard-concat, re-encode -c:v libx264 -crf 20. cuts/10s = 12/32*10 = 3.75.",
    "hard_concat": true,
    "reencode": "-c:v libx264 -crf 20",
    "count": 12,
    "cuts_per_10s": 3.75,
    "windows": [
      { "t_start": 0.00,  "t_end": 3.00,  "clip": "s01-hook",      "src_in": 0.0, "dur": 3.00, "why": "hook ends as 'step one' begins" },
      { "t_start": 3.00,  "t_end": 6.00,  "clip": "s02-toner",     "src_in": 0.0, "dur": 3.00, "why": "step 1 opening pat" },
      { "t_start": 6.00,  "t_end": 9.56,  "clip": "s02-toner",     "src_in": 3.0, "dur": 3.56, "why": "step 1 continuation — ends as 'Peptide Drops' begins" },
      { "t_start": 9.56,  "t_end": 12.00, "clip": "s03-drops",     "src_in": 0.0, "dur": 2.44, "why": "step 2 dropper begin" },
      { "t_start": 12.00, "t_end": 13.82, "clip": "s03-drops",     "src_in": 2.5, "dur": 1.82, "why": "step 2 smoothing — ends as 'step three' begins" },
      { "t_start": 13.82, "t_end": 17.00, "clip": "s04-cream",     "src_in": 0.0, "dur": 3.18, "why": "step 3 cream — ends as 'step four' begins" },
      { "t_start": 17.00, "t_end": 19.22, "clip": "s05-primer",    "src_in": 0.0, "dur": 2.22, "why": "step 4 dab" },
      { "t_start": 19.22, "t_end": 21.48, "clip": "s05-primer",    "src_in": 2.3, "dur": 2.26, "why": "step 4 tap-in — ends as 'step five' begins" },
      { "t_start": 21.48, "t_end": 24.52, "clip": "s06-veil",      "src_in": 0.0, "dur": 3.04, "why": "step 5 glide — ends as 'five steps' payoff begins" },
      { "t_start": 24.52, "t_end": 27.80, "clip": "s07a-payoff",   "src_in": 0.0, "dur": 3.28, "why": "payoff smile during 'five steps, one finish'" },
      { "t_start": 27.80, "t_end": 32.00, "clip": "FLAT_LAY",      "src_in": 0.0, "dur": 4.20, "why": "end-card ken-burns on the flat-lay still" }
    ]
  },
  "products": {
    "_comment": "5 white-bg standalone gpt-image-2 cutouts (gen-product-cutouts.sh). Taglines VERIFIED against the fernwickskin.example PDPs — the gpt-image-2 flat-lay renders WRONG sublines on some products, so never read taglines off it. If a Seedance clip renders the packaging in the wrong shape (e.g. a jar where the product is a slim bottle), the card still shows the REAL product.",
    "cutouts": [
      { "id": "toner",     "name": "Rice Water Toner",  "tagline": "PREP + BALANCE",   "cutout": "working/products/toner.png",     "vo_name_start_s": 4.34 },
      { "id": "drops",     "name": "Peptide Drops",     "tagline": "PLUMP + SMOOTH",   "cutout": "working/products/drops.png",     "vo_name_start_s": 9.56 },
      { "id": "cream",     "name": "Barrier Gel Cream", "tagline": "HYDRATE + CALM",   "cutout": "working/products/cream.png",     "vo_name_start_s": 14.86 },
      { "id": "primer",    "name": "Pore Blur Primer",  "tagline": "SOFT MATTE PREP",  "cutout": "working/products/primer.png",    "vo_name_start_s": 17.94 },
      { "id": "veil",      "name": "Daily Veil Fluid",  "tagline": "SHEER DAILY SHIELD", "cutout": "working/products/veil.png",    "vo_name_start_s": 22.42 }
    ],
    "_note_taglines": "Taglines above are the card lines used in the worked example; ALWAYS re-verify against the live PDP before shipping a new brand — do not carry these forward."
  },
  "cards": {
    "_comment": "5 Playwright cards from working/product-card.html.tmpl at 2x scale (render_cards.py): palette.card_bg card + palette.accent bar from the brand kit (demo: pale sage #EEF2EA + fern green #5E8C6A) + cutout thumb + Georgia name + uppercase accent tagline. Composited (composite_cards.py) snapped to the product-NAME word-start (~1s after the scene cut), 1s fade-in. PNG overlays NEED -loop 1 -t <dur>.",
    "template": "working/product-card.html.tmpl",
    "playwright_scale": 2,
    "fade_in_s": 1.0,
    "loop_flag_required": true,
    "timing": [
      { "card": "toner",     "start": 4.34,  "end": 9.56,  "matches": "'Rice Toner' -> 'Peptide Drops'" },
      { "card": "drops",     "start": 9.56,  "end": 13.82, "matches": "'Peptide Drops' -> 'step three'" },
      { "card": "cream",     "start": 14.86, "end": 17.94, "matches": "'Barrier Cream for calm' -> 'Blur Primer'" },
      { "card": "primer",    "start": 17.94, "end": 22.42, "matches": "'Blur Primer' -> 'Daily Veil'" },
      { "card": "veil",      "start": 22.42, "end": 27.80, "matches": "'Daily Veil' -> payoff" }
    ]
  },
  "music": {
    "_comment": "Instrumental bed from choices.music — prompt below is the demo's warm acoustic pick; skip the bed if the user chose none (ElevenLabs Music, 45s — only ~32s consumed), ducked under the VO. No artist names in the prompt (ElevenLabs ToS filter).",
    "provider": "elevenlabs",
    "prompt": "Warm acoustic instrumental, soft nylon guitar + light percussion, gentle and aspirational, easygoing morning-routine energy, no vocals.",
    "source": "working/music/music.mp3",
    "duration_s": 45,
    "force_instrumental": true
  },
  "audio_mix": {
    "_comment": "The SEPARATE VO is the lead; the music sits well under it. loudnorm I=-14.",
    "loudness_lufs": -14,
    "vo_lead": true,
    "music_duck": true
  },
  "captions": {
    "_comment": "Clean-white captions from the VO's Whisper words. OVERRIDE the clean-white preset: 3 words/cue, 3.0% font, 20% from the bottom, NO pill, NO shadow (default 5-words/4.5%/18% is too dense). Built in cue_builder.py within build_master.py.",
    "source": "working/voiceovers/locked/vo-full-atempo115.words.json",
    "style": "clean_white",
    "chunk_words": 3,
    "font_size_pct": 3.0,
    "margin_bottom_pct": 20,
    "no_pill": true,
    "no_shadow": true,
    "base_color": "#FFFFFF"
  },
  "end_card": {
    "_comment": "gpt-image-2 9:16 flat-lay still of the 5 products on pale stone, ken-burns held ~4.2s at the tail (27.80 -> 32.00). Do NOT trust the flat-lay's AI sublines for taglines — PDP-verify (see products[]).",
    "engine": "gpt-image-2",
    "flat_lay": "assets/keyframes/grwm-flat-lay.png",
    "hold_sec": 4.2,
    "effect": "ken-burns"
  },
  "post_production": {
    "vo": { "default": "on", "note": "the SEPARATE locked ElevenLabs VO (atempo 1.15x) narrates the routine and drives every cut" },
    "product_cards": { "default": "on", "note": "5 Playwright cards (real cutout + PDP tagline), each on its product-NAME word-start" },
    "music": { "default": "on", "note": "warm instrumental bed ducked under the VO, loudnorm I=-14" },
    "captions": { "default": "on", "note": "clean-white, 3 words/cue, 3.0% font, 20% margin, no pill/shadow" },
    "end_card": { "default": "on", "note": "gpt-image-2 flat-lay still of the 5 products, ken-burns held ~4s" }
  }
}
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 322kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 322kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 322kUpdated Claude CodeCodexVerifiedInstall
skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.Stars: 198kUpdated Claude CodeCodexVerifiedInstall