Skip to content

gooseworks-ai/goose-skills / skills/video/render-offer-ad

render-offer-ad

Verified

Render 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.

project/src/Main.tsx

View on GitHub
import React from "react";
import { AbsoluteFill, Audio, Sequence, staticFile, interpolate, useCurrentFrame } from "remotion";
import { Scene01 } from "./scenes/Scene01";
import { Scene02 } from "./scenes/Scene02";
import { Scene03 } from "./scenes/Scene03";
import { Scene04 } from "./scenes/Scene04";
import { OfferAdProps, beatLayout } from "./props";
import "./fonts"; // ensure fonts are loaded

// The 4-beat spine. Scene boundaries are derived from props.beat_split_sec so
// the hard cuts land on the beat downbeats (the slams hit with the kick). The
// music bed volume ramps to 0 over the last props.music.fade_out_frames.
export const Main: React.FC<OfferAdProps> = (p) => {
  const { starts, durs, total } = beatLayout(p.beat_split_sec);
  const scenes = [Scene01, Scene02, Scene03, Scene04];

  return (
    <AbsoluteFill style={{ background: p.palette.ink }}>
      {scenes.map((Comp, i) => (
        <Sequence key={i} from={starts[i]} durationInFrames={durs[i]}>
          <Comp p={p} />
        </Sequence>
      ))}
      {p.music.src && <AudioBed src={p.music.src} total={total} fade={p.music.fade_out_frames} />}
    </AbsoluteFill>
  );
};

const AudioBed: React.FC<{ src: string; total: number; fade: number }> = ({ src, total, fade }) => {
  const frame = useCurrentFrame();
  const vol = interpolate(frame, [total - fade, total], [1, 0], {
    extrapolateLeft: "clamp",
    extrapolateRight: "clamp",
  });
  return <Audio src={staticFile(src)} volume={vol} endAt={total} />;
};
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: 198kUpdated Claude CodeCodexVerifiedInstall
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: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
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: 194kUpdated Claude CodeCodexVerifiedInstall