Skip to content

gooseworks-ai/goose-skills / skills/video/render-multiworld

render-multiworld

Verified

Assemble a silent, music-led 3-world product-tour ad — trim and hard-cut-concat the per-world WIDE-arrival + top-down-macro clips, composite the HTML/Playwright brand end card (approved headline + handwritten product labels + arrows) over an AI flat-lay background, and mux one music bed into a 720x1280 web master. FREE, deterministic assembly (Playwright + PIL/HTML + FFmpeg); the recipe supplies the config and gates the paid clip/background/music calls. Use for the multiworld-product-tour format.

FileKindSize
SKILL.mdskill md6.0 KB
scripts/PIPELINE.mdmarkdown7.2 KB
scripts/README.mdmarkdown5.8 KB
scripts/config.example.jsonconfig11.7 KB
skill.meta.jsonconfig172 B
tests/smoke-test.mdmarkdown1.2 KB

scripts/config.example.json

View on GitHub
{
  "_comment": "Kettle & Fern 'Three-Place Tour' multi-world product tour \u2014 THE WORKED EXAMPLE, a fictional brand and product line. Copy to config.json and edit. Three tea worlds, each = a WIDE kinetic-calm ARRIVAL clip (tin small, environment dominates) + a top-down MACRO product MOMENT clip. Six Higgsfield Marketing Studio product_showcase clips grounded on imported product UUIDs, an NB2 text-free flat-lay end-card BACKGROUND + an HTML/Playwright text overlay, one ElevenLabs music bed. Silent otherwise (no VO, no captions in scenes). FFmpeg trims to the grid + hard-cut concats + muxes music. 720x1280 9:16, 27.0s. SEALED-TIN is a hard safety rule. WORKED EXAMPLE ONLY: creative fields \u2014 visual_style, worlds[*].world / palette / botanical / arrival_prompt / macro_prompt, end_card.nb2_prompt, end_card.overlay.headline, music.prompt \u2014 come from the recipe's choices (worlds, visual_style, music) and brand fields (brand_name, product, product_uuid, overlay copy/url) from the brand kit; never copy them as defaults. Each product_uuid is a placeholder for the brand's own imported product. Provider note: this demo used Higgsfield Marketing Studio (higgsfield.*, product_uuid); the current recipe uses create-image-fal keyframe -> create-video-fal i2v \u2014 see recipe.json config.keyframe / config.i2v / config._example_worlds for the live schema.",
  "brand_name": "Kettle & Fern",
  "width": 720,
  "height": 1280,
  "fps": 24,
  "duration_sec": 27.0,
  "visual_style": "Sunlit-natural / handmade / farm-to-cup. Soft daylight from upper-left, faint contact shadows, linen + clay + oak. Camera language KINETIC-CALM (slow drift, lateral track, soft push) \u2014 NOT whip-pan/fast-dolly. Each tea gets its own color world; the tins are only lightly color-coded, so world palette + botanical companion carry the variant's identity.",
  "higgsfield": {
    "model": "marketing_studio_video/product_showcase",
    "arrival_duration_sec": 5,
    "macro_duration_sec": 4,
    "safety_block": " No faces in frame. NO steam, NO pouring, NO brewing, NO loose leaves spilling \u2014 the product is a sealed tea tin, never depict it open, tipped out or with the lid off. NO whip pans, NO shake, NO wobble, NO earthquake. Label identical to imported product reference. No on-screen text."
  },
  "worlds": [
    {
      "slug": "hibiscus_rose",
      "product": "Hibiscus Rose Tea",
      "product_uuid": "<product_uuid>",
      "world": "Sunrise window-seat reading nook \u2014 sheer linen curtains diffusing rose-pink dawn light, blonde-pine window seat, a stack of cream linen cushions, an open hardback face-down on the seat edge.",
      "palette": "Rose dawn + cream linen + blonde pine",
      "botanical": "dried hibiscus petals + a single rosebud",
      "bottle_color": "blush pink",
      "arrival_prompt": "9:16 KINETIC-CALM WIDE inside a sunrise window-seat reading nook for Kettle & Fern Hibiscus Rose Tea. Tin stays small; environment dominates, never macro. Sheer linen curtains diffusing rose-pink dawn light, blonde-pine window seat, a stack of cream linen cushions, an open hardback face-down on the seat edge. The blush-pink sealed Hibiscus Rose tin + a small scatter of dried hibiscus petals rest beside the book. The toe of a knitted wool sock visible at the very lower edge of frame implies a recent presence. 3 ambient-not-frenetic cuts: slow drift past the linen curtain catching rose light; lateral track along the window seat past the tin; soft push-in to the book and tin at medium scale. Sunlit-natural palette: rose dawn + cream linen + blonde pine. Soft daylight from upper-left.",
      "macro_prompt": "9:16 top-down macro product-only shot for Kettle & Fern Hibiscus Rose Tea. Blush-pink sealed Hibiscus Rose tin lies horizontally on a folded cream linen napkin on a pale-pine surface, dried hibiscus petals and one rosebud laid loose beside the lid, small unglazed clay cup to the side. Slow parallax tilt revealing more of the linen weave. Soft rose-warm daylight from upper-left, faint contact shadow. Cream + rose + blonde pine palette. NO hands in frame."
    },
    {
      "slug": "mint_green",
      "product": "Mint Green Tea",
      "product_uuid": "<product_uuid>",
      "world": "Glasshouse potting bench \u2014 whitewashed glass panes, terracotta pots of fresh mint in rows, a weathered oak bench, a coiled garden hose and a canvas apron hanging from a hook.",
      "palette": "Sage + terracotta + bone",
      "botanical": "fresh mint sprigs + a few rolled green tea leaves",
      "bottle_color": "sage green",
      "arrival_prompt": "9:16 KINETIC-CALM WIDE glasshouse potting bench for Kettle & Fern Mint Green Tea. TIN STAYS SEALED, LID STAYS ON. Tin stays small; environment dominates, never macro. Whitewashed glass panes, rows of terracotta pots holding fresh mint, a weathered oak bench in the foreground, a canvas apron hanging from a hook. The sage-green sealed Mint Green tin sits on the bench next to a small terracotta saucer of rolled green tea leaves. A gardener's gloved hand just visible at the upper-right edge, no face. 3 ambient cuts: lateral track along the rows of mint pots; soft tracking past the bench catching tin and saucer; gentle push-in at medium scale. Sage + terracotta + bone palette. Soft cool daylight from upper-right.",
      "macro_prompt": "9:16 top-down macro product-only shot for Kettle & Fern Mint Green Tea. Sage-green sealed Mint Green tin rests horizontally on a weathered oak board. Two fresh mint sprigs + a few rolled green tea leaves arranged loose around it, a terracotta saucer to the side. Cool sage + bone palette, soft cool daylight from upper-left. Slow parallax tilt. NO hands in frame.",
      "_note": "Arrival re-rolled once (S03 v1 \u2192 v2): v1 rendered the tin with the lid off \u2014 broke the sealed-tin safety rule. v2 front-loads 'TIN STAYS SEALED, LID STAYS ON'."
    },
    {
      "slug": "smoked_chai",
      "product": "Smoked Chai",
      "product_uuid": "<product_uuid>",
      "world": "Autumn Saturday farmers market stall \u2014 cream canvas market tent overhead with dappled morning sunlight, wooden crates of apples and squash, a cream open-weave linen tote bag on a weathered wood crate.",
      "palette": "Cinnamon + warm linen + brass",
      "botanical": "cinnamon sticks + star anise",
      "bottle_color": "matte black",
      "arrival_prompt": "9:16 KINETIC-CALM WIDE autumn Saturday farmers market for Kettle & Fern Smoked Chai. Tin stays small; environment dominates, never macro. Cream canvas market tent overhead with dappled morning sunlight breaking through, wooden crates of apples and squash in foreground, a cream open-weave linen tote bag set on a weathered wood crate. The matte-black sealed Smoked Chai tin pokes out of the tote alongside a bundle of cinnamon sticks tied with twine. Bare hand at lower edge reaching to pick an apple (only fingers, no face). 3 ambient cuts (slightly more energy to mirror the brighter morning palette, still NO whip pans): slow push past the canvas tent catching dappled light; lateral track past crates landing on tote; soft push-in to tin at medium scale. Cinnamon + warm linen + brass palette. Crisp contact shadows.",
      "macro_prompt": "9:16 top-down macro product-only shot for Kettle & Fern Smoked Chai. Matte-black sealed Smoked Chai tin rests horizontally on a cream linen napkin on a pale wood farmhouse table. Three cinnamon sticks + two star anise pods arranged loose around the tin, a small brass spoon to the side. Bright warm morning daylight from upper-left, faint contact shadow. Cream linen + cinnamon + brass palette. Slow parallax tilt. NO hands in frame.",
      "_note": "Arrival's mid-clip frame showed a gloved hand (storyboard called for bare fingertips) \u2014 minor deviation, accepted. Macro (S06) label misrendered one letter of the product name at the upright extreme; not visible in the top-down portion the trim dominates."
    }
  ],
  "scene_grid": [
    {
      "scene": "S01",
      "world": "hibiscus_rose",
      "shape": "arrival",
      "duration_sec": 4.5
    },
    {
      "scene": "S02",
      "world": "hibiscus_rose",
      "shape": "macro",
      "duration_sec": 3.5
    },
    {
      "scene": "S03",
      "world": "mint_green",
      "shape": "arrival",
      "duration_sec": 4.5
    },
    {
      "scene": "S04",
      "world": "mint_green",
      "shape": "macro",
      "duration_sec": 3.5
    },
    {
      "scene": "S05",
      "world": "smoked_chai",
      "shape": "arrival",
      "duration_sec": 4.5
    },
    {
      "scene": "S06",
      "world": "smoked_chai",
      "shape": "macro",
      "duration_sec": 3.5
    },
    {
      "scene": "S07",
      "world": "end-card",
      "shape": "endcard",
      "duration_sec": 3.0
    }
  ],
  "end_card": {
    "nb2_model": "nano_banana_2",
    "nb2_input_product_uuids": [
      "<product_uuid>",
      "<product_uuid>",
      "<product_uuid>"
    ],
    "nb2_prompt": "Editorial top-down flat-lay product photograph of three Kettle & Fern loose-leaf tea tins arranged casually on a soft warm cream-blush gradient background. Tin 1 (blush-pink round tin, identical to the Hibiscus Rose reference) tilted at a 15-degree angle in the upper-right with a few dried hibiscus petals and one rosebud laid beside its base. Tin 2 (sage-green round tin, identical to the Mint Green reference) standing upright in the center foreground with two fresh mint sprigs laid beside its base. Tin 3 (matte-black round tin, identical to the Smoked Chai reference) tilted at a 15-degree angle in the lower-left with three cinnamon sticks and two star anise pods laid beside its base. The three tins overlap slightly but each is clearly visible, lids on, with soft diffused shadows pooling beneath them on the cream-blush surface. All three tins have identical Kettle & Fern black thin-serif labels exactly matching the imported product references. Pinterest-style editorial product photography, soft natural overhead daylight, clean and uncluttered farm-to-cup sunlit-natural register, generous negative space at the top of the frame. No text overlays, no typography, no captions, no logos other than what is printed on the tins.",
    "html": "endcard.html",
    "dwell_sec": 3.0,
    "overlay": {
      "headline": "STEEP SLOWER.",
      "headline_font": "Inter 900, 'SLOWER' outlined via -webkit-text-stroke",
      "scent_labels": [
        {
          "label": "hibiscus rose.",
          "font": "Caveat 600",
          "arrow": "hand-drawn, points to upper-right tin"
        },
        {
          "label": "mint green.",
          "font": "Caveat 600",
          "arrow": "hand-drawn, points to center tin"
        },
        {
          "label": "smoked chai.",
          "font": "Caveat 600",
          "arrow": "hand-drawn, points to lower-left tin"
        }
      ],
      "wordmark": "KETTLE / & FERN (Playfair Display serif, two rows)",
      "url": "kettleandfern.example",
      "text_compositing_rule": "Headline + labels + arrows + wordmark composited via HTML/Playwright/ffmpeg, NEVER AI-rendered. NB2 generates the flat-lay BACKGROUND ONLY (no text)."
    }
  },
  "music": {
    "provider": "elevenlabs",
    "prompt": "Warm acoustic-pop / dreamy-indie instrumental bed, calm and aspirational, soft guitar + gentle percussion + warm bass, major key, wellness-ritual register (NOT jingle, NOT neon pop-house), instrumental only, energetic-but-gentle from t=0.",
    "length_ms": 27000,
    "trim_intro_sec": 0.0,
    "force_instrumental": true
  },
  "master": {
    "loudnorm": "I=-16:TP=-1.5:LRA=11",
    "audio_bitrate": "192k",
    "fade_in_sec": 0.3,
    "fade_out_sec": 0.5
  },
  "post_production": {
    "music": {
      "default": "on",
      "note": "ElevenLabs bed, default on"
    },
    "captions": {
      "default": "n/a",
      "note": "silent / music-led \u2014 no VO"
    },
    "end_card": {
      "default": "on",
      "note": "HTML 'STEEP SLOWER.' end card, default on"
    }
  }
}
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