gooseworks-ai/goose-skills / skills/video/render-offer-ad
render-offer-ad
VerifiedRender a punchy ~12s vertical (9:16) music-only direct-response OFFER ad as a 4-beat kinetic-typography film — HEADLINE slam → real PRODUCT drop → CLAIM/proof → CTA pill — from one config of copy slots, a real product photo, a brand palette, fonts, bpm, and beat split. DETERMINISTIC + FREE (a bundled Remotion project; springs + interpolate, no AI-gen for visuals). Backgrounds are engine gradient divs off the palette, props are inline SVG, the ONLY composited bitmap is the REAL product photo (objectFit:contain, never stretched), and ALL headline/claim/CTA/URL/wordmark text is typeset in the engine — never AI-rendered (the format's credibility guard). A driver binds the config to Remotion input props, renders the 9:16 master, and derives a 1:1 center-crop with ffmpeg. Two gating checks run before render (claim verbs must match the product's physical format; the claim beat needs an edge-entry mechanism prop). Use for the motion-graphics-offer-ad format.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 9.7 KB |
| project/.gitignore | other | 143 B |
| project/package.json | manifest | 503 B |
| project/public/.gitkeep | other | 0 B |
| project/remotion.config.ts | script | 116 B |
| project/src/Main.tsx | other | 1.5 KB |
| project/src/Root.tsx | other | 1.0 KB |
| project/src/fonts.ts | script | 1.4 KB |
| project/src/index.ts | script | 108 B |
| project/src/lib/anim.ts | script | 4.8 KB |
| project/src/props.ts | script | 4.2 KB |
| project/src/scenes/Scene01.tsx | other | 5.0 KB |
| project/src/scenes/Scene02.tsx | other | 4.9 KB |
| project/src/scenes/Scene03.tsx | other | 6.5 KB |
| project/src/scenes/Scene04.tsx | other | 3.5 KB |
| project/tsconfig.json | config | 293 B |
| scripts/config.example.json | config | 2.7 KB |
| scripts/render.py | script | 11.8 KB |
| skill.meta.json | config | 210 B |
| tests/smoke-test.md | markdown | 4.8 KB |
project/src/scenes/Scene04.tsx
View on GitHubimport React from "react";
import { AbsoluteFill, useCurrentFrame, useVideoConfig, interpolate } from "remotion";
import { popIn, slamIn } from "../lib/anim";
import { resolveFont } from "../fonts";
import { OfferAdProps } from "../props";
import { lighten, darken } from "./Scene01";
// BEAT 4 — CTA. Primary-color radial ground. The brand wordmark slams first
// (slamIn); the CTA pill pops in as the motif-chip handoff resolving (popIn)
// with a small arrow nudge; the URL fades up. All copy from props.
export const Scene04: React.FC<{ p: OfferAdProps }> = ({ p }) => {
const frame = useCurrentFrame();
const { fps } = useVideoConfig();
const display = resolveFont(p.fonts.display, "display");
const body = resolveFont(p.fonts.body, "body");
const { primary_ground, light_ground, highlight_chip } = p.palette;
const mark = slamIn(frame, fps, {
fromScale: 1.4,
fromY: -20,
blurAmount: 12,
damping: 13,
stiffness: 190,
});
const pillStart = 14;
const pill = popIn(frame - pillStart, fps, { damping: 9, stiffness: 230, mass: 0.6 });
const arrowNudge =
frame > pillStart + 8 ? Math.sin(((frame - pillStart) / 16) * Math.PI * 2) * 8 : 0;
const urlStart = 26;
const url = interpolate(frame, [urlStart, urlStart + 8], [0, 1], {
extrapolateLeft: "clamp",
extrapolateRight: "clamp",
});
const urlY = interpolate(frame, [urlStart, urlStart + 10], [18, 0], {
extrapolateLeft: "clamp",
extrapolateRight: "clamp",
});
return (
<AbsoluteFill style={{ background: primary_ground, overflow: "hidden" }}>
<AbsoluteFill
style={{
background: `radial-gradient(circle at 50% 44%, ${lighten(primary_ground, 18)} 0%, ${primary_ground} 55%, ${darken(primary_ground, 14)} 100%)`,
}}
/>
<AbsoluteFill
style={{
alignItems: "center",
justifyContent: "center",
flexDirection: "column",
gap: 44,
}}
>
{/* brand wordmark */}
<div
style={{
...mark,
fontFamily: display,
fontSize: 62,
color: light_ground,
letterSpacing: "-0.02em",
textTransform: "lowercase",
textShadow: "0 4px 22px rgba(0,0,0,0.25)",
}}
>
{p.copy.wordmark}
</div>
{/* CTA pill — the chip handoff lands here */}
<div style={{ transform: `scale(${pill.scale}) rotate(${pill.rot}deg)`, opacity: pill.opacity }}>
<div
style={{
background: light_ground,
color: primary_ground,
fontFamily: display,
fontSize: 84,
letterSpacing: "-0.01em",
padding: "30px 64px",
borderRadius: 999,
border: `8px solid ${highlight_chip}`,
boxShadow: "0 20px 48px rgba(0,0,0,0.28)",
display: "flex",
alignItems: "center",
gap: 22,
whiteSpace: "nowrap",
}}
>
<span>{p.copy.cta_label}</span>
<span style={{ transform: `translateX(${arrowNudge}px)` }}>→</span>
</div>
</div>
{/* URL */}
<div
style={{
opacity: url,
transform: `translateY(${urlY}px)`,
fontFamily: body,
fontWeight: 600,
fontSize: 46,
color: light_ground,
letterSpacing: "0.06em",
}}
>
{p.copy.cta_url}
</div>
</AbsoluteFill>
</AbsoluteFill>
);
};
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |