Skip to content

gooseworks-ai/goose-skills / skills/video/render-brand-identity-reveal

render-brand-identity-reveal

Verified

Render a 'brand identity reveal' video from a config — a single poster frame in a real, softly-lit space (real wall, soft-focus plant in the corner, dappled leaf shadow, illuminated poster) whose artwork HARD-CUTS through ~10 on-brand poster mockups (hero product, IG post, hanging banners, sticker sheet, logo lockup, poster, two lifestyle stills, packaging, big icon) then holds on a brand end card. The environment plate is one create-image-fal generation; the mockups are real-DOM HTML frame-stepped via Playwright, perspective-composited into the detected frame quad with the plate's real leaf-shadow multiplied back onto each poster (reads as behind glass), sequenced by FFmpeg. Deterministic assembly, FREE (the plate comes from create-image-fal, the bed from create-music-elevenlabs), music bed only and approved brand copy only. Use for the brand-identity-reveal format.

FileKindSize
SKILL.mdskill md5.3 KB
scripts/PIPELINE.mdmarkdown3.5 KB
scripts/build_video.shexecutablescript1.2 KB
scripts/composite.pyscript3.0 KB
scripts/config.example.jsonconfig3.9 KB
scripts/measure_frame.pyscript1.7 KB
scripts/recrop.pyscript2.2 KB
scripts/render_art.pyscript1.3 KB
scripts/scene.htmlother20.4 KB
skill.meta.jsonconfig223 B
tests/smoke-test.mdmarkdown1.1 KB

scripts/build_video.sh

View on GitHub
#!/usr/bin/env bash
# Free assembly step: sequence the composited poster frames + a music bed into the master.
# Inputs: a concat list (frames + per-beat durations) and a music file. No paid calls.
#
#   ./build_video.sh <concat.txt> <music.mp3> <out.mp4> <total_seconds> [music_start]
#
# concat.txt is an ffmpeg concat-demuxer list of the composited frames (frames_v2/frame_NN.png)
# with `duration <s>` lines (variable, non-uniform rhythm); repeat the last frame line once so
# its duration is honored. See config.example.json -> beats[].seconds for the pacing.
set -euo pipefail
CONCAT="${1:?concat list}"; MUSIC="${2:?music}"; OUT="${3:?out.mp4}"
DUR="${4:?total seconds}"; MSTART="${5:-1.0}"
FADE=$(python3 -c "print(max(0, ${DUR} - 0.35))")

ffmpeg -y -hide_banner -loglevel error \
  -f concat -safe 0 -i "$CONCAT" \
  -ss "$MSTART" -i "$MUSIC" \
  -filter_complex "[0:v]fps=30,scale=1080:1920:force_original_aspect_ratio=increase,crop=1080:1920,setsar=1,format=yuv420p[v];\
[1:a]atrim=0:${DUR},asetpts=PTS-STARTPTS,afade=t=out:st=${FADE}:d=0.35,loudnorm=I=-14:TP=-1.5:LRA=11[a]" \
  -map "[v]" -map "[a]" -t "$DUR" \
  -c:v libx264 -crf 20 -preset medium -pix_fmt yuv420p \
  -c:a aac -b:a 192k -movflags +faststart \
  "$OUT"
echo "wrote $OUT (${DUR}s)"
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 323kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 323kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 323kUpdated 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