Clip Ugc Talking Points 20s 1
A 20-second UGC talking-points ad: the coach's own jump-cut intro with a lower third, two b-roll tips and the trial button, carried by big karaoke captions; cold traffic to a trial booking page, vertical first.
Use it in a prompt
Use the video/clip-ugc-talking-points-20s video clip from the FunnelDNA library in my brand (vertical and square and landscape). Follow the video skill. Ask me for the script facts, voice and images you need; do not invent proof.
Paste into Claude or ChatGPT with FunnelDNA connected (MCP setup), or alongside the skill.
Use it in code
- Save
component.tsx(Code tab) ascomponents/funneldna/video/clip-ugc-talking-points-20s.tsx. - Import it and pass your copy and images (Props tab):
import { FRAMES } from "@/components/funneldna/video/clip-ugc-talking-points-20s"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/video/clip-ugc-talking-points-20s/component.tsx 226 lines
// When to use: A 20-second UGC talking-points ad: the coach's own jump-cut intro with a lower third, two b-roll tips and the trial button, carried by big karaoke captions; cold traffic to a trial booking page, vertical first.
import * as React from "react"
import { AbsoluteFill, Audio, Sequence, interpolate, useVideoConfig } from "remotion"
import noise from "../fx/textures/noise"
import {
CLAMP, EASE, HOLD, IN_OUT, MarkerSwipe, SPRINGS, StageField, StagePhoto, T, VideoStage, countText, cue, display, phraseRange,
progress, springAt, swipePart, tween, useFitText, useHeld, useStage, useWords,
type VideoFormat, type VideoMeta, type Word,
} from "../fx/video-kit"
import { BrollKenBurns, type BrollKenBurnsProps } from "./broll-ken-burns"
import { CtaEndCard, type CtaEndCardProps } from "./cta-end-card"
import { CaptionsBurned, type CaptionScene, type CaptionStyle } from "./captions-burned"
export const video = { fps: 30, durationInFrames: 600, formats: ["vertical", "square", "landscape"], poster: 590 } satisfies VideoMeta
/** The coach's own talking-head scene (built here: no Live frame covers it). Two takes on one photo with a hard jump cut between. */
export type CoachIntroProps = {
format?: VideoFormat
durationInFrames?: number
/** Voice timings for the scene (the clip sets them from the timeline). */
words?: Word[]
/** The coach on camera (pass slot("scene", …)); natural colours, a slow push toward `focus`. */
scene?: string
/** Where her face sits (CSS position): the push and the punch-in close in on it. */
focus?: string
/** Lower third of the first take: the coach's name on the solid brand plate. */
name?: string
/** Lower third, under the name. */
role?: string
/** On-screen title for the second take; its numbers count up from zero. */
title?: string
/** The phrase inside `title` that gets the one marker swipe, on its spoken frame. */
highlight?: string
/** The spoken word that opens the second take (the jump cut); without it the cut lands at 45% of the scene. */
cutAt?: string
/** Base scale of the punched-in second take (the first take sits at 1.00). */
punch?: number
}
/** The frames a storyboard may name: the clip's own intro and the Live frames it imports (never copies). */
export const FRAMES = {
"own/coach-intro": CoachIntro,
"video/broll-ken-burns": BrollKenBurns,
"video/cta-end-card": CtaEndCard,
} as const
export type FrameId = keyof typeof FRAMES
/** Frames whose own type is the voice line itself (captions would only repeat it). None here: every voice line says more than the screen. */
const SAYS_THE_LINE = new Set<FrameId>()
/** A frame's own props; the clip sets `format`, `durationInFrames` and `words`. */
type FrameProps<P> = Omit<P, "format" | "durationInFrames" | "words">
type SceneTiming = {
/** Scene length when no timeline is given. */
seconds: number
/** Optional voice take for this scene (starts with the scene's voice lead). */
voice?: string
/** Burn captions over this scene (default on). */
captions?: boolean
}
export type StoryboardScene =
| ({ frame: "own/coach-intro"; props: Omit<FrameProps<CoachIntroProps>, "punch"> } & SceneTiming)
| ({ frame: "video/broll-ken-burns"; props: FrameProps<BrollKenBurnsProps> } & SceneTiming)
| ({ frame: "video/cta-end-card"; props: FrameProps<CtaEndCardProps> } & SceneTiming)
/** The skill's timeline.json, one entry per storyboard scene: speech length and word timings (seconds). */
export type TimelineScene = { id?: string; speech?: number; words: Word[] }
export type ClipUgcTalkingPoints20sProps = {
format?: VideoFormat
durationInFrames?: number
/** The scenes in order: the coach's intro, the tips as b-roll, the end card with the page's button. Empty by default. */
storyboard?: StoryboardScene[]
/** The skill's timeline.json; overrides `seconds` and lands every word on its spoken frame. */
timeline?: TimelineScene[]
/** Burned captions from the timeline; karaoke by default (the creator look, read on mute). false = off. */
captions?: CaptionStyle | false
/** Base scale of the coach's punched-in take (the jump cut). Live frames keep their own camera framing, so their type never leaves the safe area. */
punch?: number
voice?: string
music?: string
}
const FPS = 30
const LEAD = 0.15, INTRO = 0.5, BREATHE = 0.6, END_HOLD = 2
/** Scene starts and lengths in frames, and the voice lead (seconds) inside each scene. */
export function layout(storyboard: StoryboardScene[], timeline?: TimelineScene[]) {
let t = 0
return storyboard.map((sc, i) => {
const tl = timeline?.[i]
const last = i === storyboard.length - 1
const lead = i === 0 ? INTRO : LEAD
const speech = tl ? tl.speech ?? (tl.words.length ? tl.words[tl.words.length - 1].e : 0) : 0
const len = Math.round((tl ? lead + speech + (last ? END_HOLD : BREATHE) : sc.seconds) * FPS)
const r = { ...sc, from: t, len, lead: tl ? lead : 0, words: tl?.words.map((w) => ({ ...w, s: w.s + lead, e: w.e + lead })) }
t += len
return r
})
}
/** Total frames (feed this to calculateMetadata). */
export const clipDuration = (p: Pick<ClipUgcTalkingPoints20sProps, "storyboard" | "timeline">) =>
layout(p.storyboard ?? [], p.timeline).reduce((n, s) => n + s.len, 0) || video.durationInFrames
export const calculateMetadata = ({ props }: { props: ClipUgcTalkingPoints20sProps }) => ({ durationInFrames: clipDuration(props) })
/** UGC talking points: hard jump cuts between scenes (no crossfade), karaoke captions, optional voice and music. */
export function ClipUgcTalkingPoints20s({
format = "vertical", durationInFrames, storyboard = [], timeline, captions = "karaoke", punch = 1.06, voice, music,
}: ClipUgcTalkingPoints20sProps) {
const scenes = layout(storyboard, timeline)
const total = durationInFrames ?? clipDuration({ storyboard, timeline })
const capTimeline: CaptionScene[] = scenes
.filter((s) => s.words?.length && (s.captions ?? !SAYS_THE_LINE.has(s.frame)))
.map((s) => ({ start: (s.from + s.lead * FPS) / FPS, words: timeline![scenes.indexOf(s)].words }))
const hasVoice = !!voice || scenes.some((s) => s.voice)
const bed = hasVoice ? 0.12 : 0.4
return (
<VideoStage format={format} tone="band">
{scenes.map((s, i) => {
const Frame = FRAMES[s.frame] as React.ComponentType<Record<string, unknown>>
const extra = s.frame === "own/coach-intro" ? { punch } : s.frame === "video/cta-end-card" ? { holdFrames: Math.round(END_HOLD * FPS) } : {}
// A hard cut: each scene owns its frames exactly, the next one starts on the following frame.
return (
<Sequence key={i} from={s.from} durationInFrames={s.len} layout="none">
<Frame {...s.props} format={format} durationInFrames={s.len} words={s.words} {...extra} />
{s.voice && <Sequence from={Math.round(s.lead * FPS)} layout="none"><Audio src={s.voice} /></Sequence>}
</Sequence>
)
})}
{captions && capTimeline.length > 0 && <CaptionsBurned format={format} timeline={capTimeline} style={captions} durationInFrames={total} />}
{voice && <Audio src={voice} />}
{music && <Audio src={music} volume={(f) => interpolate(f, [0, 20, total - 50, total], [0, bed, bed, 0], CLAMP)} />}
</VideoStage>
)
}
export default ClipUgcTalkingPoints20s
/** Own scene: the coach on camera. Take one carries the name plate; take two is punched in with the title, its number counting up. */
function CoachIntro({
durationInFrames = 150, words, scene, focus = "50% 32%", name = "", role = "", title = "", highlight, cutAt, punch = 1.06,
}: CoachIntroProps) {
const f = useHeld(durationInFrames)
const { fps } = useVideoConfig()
const { u, text, width, portrait, format } = useStage()
const stacked = portrait || format === "square"
const timed = useWords("", words, durationInFrames)
const end = durationInFrames - HOLD
// The jump cut: picture leads the voice by two frames; each take keeps at least two-thirds of a second.
const cut = Math.max(20, Math.min(end - 40, cue(timed, cutAt, Math.round(durationInFrames * 0.45)) - 2))
const second = f >= cut
// A slow push toward her face across the scene; the second take is punched in on top of it, like a creator's own edit.
const push = tween(f, [0, end], [1.02, 1.1], IN_OUT)
const base = second ? punch : 1
const col = width - text.left - text.right
const nameRef = React.useRef<HTMLDivElement>(null)
const nameSize = useFitText(nameRef, name, { boxW: stacked ? col - 80 * u : 900 * u, boxH: 130 * u, guess: 92 * u, max: 104 * u, min: 72 * u, lines: [1] })
const grow = progress(f, 4, 16)
const open = progress(f, 9, 21)
const titleRef = React.useRef<HTMLHeadingElement>(null)
const titleW = stacked ? col - 88 * u : 1020 * u
const titleSize = useFitText(titleRef, title, {
boxW: titleW, boxH: (portrait ? 460 : format === "square" ? 320 : 330) * u, guess: 100 * u,
max: (portrait ? 120 : format === "square" ? 108 : 124) * u, min: 88 * u, lines: [2, 3],
})
const pop = springAt(f, cut, fps, SPRINGS.firm)
// Count-up: the title's number runs from zero over 24 frames, ease-out; then one marker swipe on its spoken frame.
const count = progress(f, cut + 2, cut + 26, EASE)
const tw = title.split(/\s+/).filter(Boolean)
const range = phraseRange(tw.map((w, i) => ({ w, at: 0, end: 0, i })), highlight)
const swipeAt = Math.min(end - 10, Math.max(cut + 28, cue(timed, highlight, cut + 34)))
const swipe = progress(f, swipeAt, swipeAt + 8, (t) => t)
const parts: React.ReactNode[] = []
tw.forEach((w, i) => {
const shown = /\d/.test(w) ? <span style={{ color: T.accent, fontVariantNumeric: "tabular-nums" }}>{countText(w, count)}</span> : w
const k = range && i >= range[0] && i < range[1] ? i - range[0] : -1
parts.push(k < 0 ? <React.Fragment key={i}>{shown}</React.Fragment> : <MarkerSwipe key={i} p={swipePart(swipe, k, range![1] - range![0])}>{shown}</MarkerSwipe>)
if (i < tw.length - 1) parts.push(" ")
})
const shade = "var(--shadow, oklch(0.22 0.03 260))"
const lift = `0 ${2 * u}px ${3 * u}px oklch(from ${shade} l c h / 0.35), 0 ${16 * u}px ${28 * u}px ${-10 * u}px oklch(from ${shade} l c h / 0.45)`
const radius = `calc(var(--card-radius, var(--radius, 12px)) * ${1.5 * u})`
const bleed = `${-40 * u}px`
const reveal = grow >= 1 ? bleed : `${((1 - grow) * 100).toFixed(2)}%`
return (
<AbsoluteFill style={{ overflow: "hidden", background: T.band }}>
<div aria-hidden style={{ position: "absolute", inset: 0, transform: `scale(${(base * push).toFixed(4)})`, transformOrigin: focus }}>
{scene
? <StagePhoto src={scene} frame={f} dur={end} push={[1, 1]} treatment="natural" side="none" tone="band" position={focus} />
: <StageField tone="band" texture={noise} opacity={0.14} frame={f} />}
</div>
{name && (
<div style={{ position: "absolute", left: text.left, bottom: text.bottom + 28 * u, display: "flex", flexDirection: "column", alignItems: "flex-start", gap: 8 * u, visibility: second ? "hidden" : "visible" }}>
<div style={{
background: T.cta, color: T.ctaInk, padding: `${14 * u}px ${40 * u}px ${18 * u}px`, borderRadius: radius, boxShadow: lift,
clipPath: `inset(${bleed} ${reveal} ${bleed} ${bleed})`,
}}>
<div ref={nameRef} style={{ ...display(nameSize, { lineHeight: 1.02, whiteSpace: "nowrap" }), transform: `translateX(${((1 - grow) * -28 * u).toFixed(2)}px)` }}>{name}</div>
</div>
{role && (
<div style={{ display: "grid", gridTemplateRows: `${open}fr`, overflow: "hidden" }}>
<div style={{ minHeight: 0 }}>
<div style={{
background: T.card, color: T.ink, padding: `${12 * u}px ${32 * u}px ${14 * u}px`, borderRadius: radius, fontFamily: T.body, fontWeight: 600,
fontSize: 52 * u, lineHeight: 1.15, whiteSpace: "nowrap", transform: `translateY(${((1 - open) * -24 * u).toFixed(2)}px)`,
}}>{role}</div>
</div>
</div>
)}
</div>
)}
{title && (
<div style={{ position: "absolute", left: text.left, right: text.right, bottom: text.bottom + 28 * u, display: "flex", justifyContent: portrait ? "center" : "flex-start", visibility: second ? "visible" : "hidden" }}>
<div style={{
background: T.card, color: T.ink, borderRadius: radius, padding: `${24 * u}px ${44 * u}px ${30 * u}px`, boxShadow: lift,
transform: `scale(${(0.92 + 0.08 * pop).toFixed(4)})`, transformOrigin: portrait ? "50% 100%" : "0% 100%",
}}>
<h2 ref={titleRef} style={{ ...display(titleSize, { lineHeight: 1.04 }), margin: 0, maxWidth: titleW, textAlign: portrait ? "center" : "left" }}>{parts}</h2>
</div>
</div>
)}
</AbsoluteFill>
)
}
pieces/video/clip-ugc-talking-points-20s/specimen.tsx 61 lines
import __studioImage1190c9d6 from "../assets/1190c9d666399773.webp";
import __studioImage4a3cb33d from "../assets/4a3cb33dab3a2b44.webp";
import __studioImageee5cc8e5 from "../assets/ee5cc8e56e79448a.webp";
import * as React from "react"
import { slot } from "../../slots"
import { VideoPreview, type VideoFormat, type Word } from "../../fx/video-kit"
import { ClipUgcTalkingPoints20s, video, type ClipUgcTalkingPoints20sProps, type StoryboardScene, type TimelineScene } from "../clip-ugc-talking-points-20s"
export const states = ["vertical", "square", "landscape"]
/** Sample voice timings at a quick, chatty creator read; `speech` sets each scene to the brief's length and always outlasts the last word. */
function voiced(text: string, speech: number): TimelineScene {
let t = 0
const words: Word[] = text.split(" ").map((w) => {
const d = 0.11 + 0.035 * w.replace(/[^a-z0-9]/gi, "").length
const word = { w, s: +t.toFixed(3), e: +(t + d).toFixed(3) }
t += d + 0.04 + (/[,.?!]$/.test(w) ? 0.16 : 0)
return word
})
return { speech: Math.max(speech, words[words.length - 1].e), words }
}
// Fictional sample brand: Wickfield Strength Club, a gym for people 48 to 74. Coach Rae Linton is invented; no proof scene.
export function sampleStoryboard(coach: string, racks: string, floor: string): StoryboardScene[] {
return [
{ frame: "own/coach-intro", seconds: 5, props: {
scene: coach, focus: "50% 30%", name: "Rae Linton", role: "Head coach, Wickfield",
title: "3 things I tell every beginner", highlight: "every beginner", cutAt: "Three",
} },
{ frame: "video/broll-ken-burns", seconds: 4.5, props: { scene: racks, move: "push", phrase: "Start lighter than you think." } },
{ frame: "video/broll-ken-burns", seconds: 4.5, props: { scene: floor, move: "pan-left", phrase: "A coach checks every rep." } },
{ frame: "video/cta-end-card", seconds: 6, props: {
line: "Your first week is free.", button: "Book your first week", terms: "First week free · weights start light",
brand: "Wickfield Strength Club", scene: racks,
} },
]
}
export const timeline: TimelineScene[] = [
voiced("I coach the six a.m. group. Three things I tell every beginner.", 3.9),
voiced("One. Start lighter than you think. Way lighter.", 3.75),
voiced("Two. A coach checks every rep. Every single one.", 3.75),
voiced("Three, just show up. Book your first week. It's free.", 3.85),
]
// The designed stills; the specimen swaps in the brand's scene slot at render time.
export const sample: ClipUgcTalkingPoints20sProps = {
storyboard: sampleStoryboard(__studioImage1190c9d6, __studioImage4a3cb33d, __studioImageee5cc8e5), timeline, captions: "karaoke",
}
/** clipDuration(sample): scenes start at 0, 150, 285 and 420 (5 + 4.5 + 4.5 + 6 s). */
export const durationInFrames = 600
/** Name plate readable, punched-in title swiped, first tip, second tip, button in, final hold. */
export const keyframes = [18, 116, 220, 355, 500, 599]
export const sampleBrand = {"name":"Wickfield Strength Club","theme":"light","background":"#fcf5f8","colors":["#b0225b","#2f8f6b"],"fonts":["Archivo","Inter"],"button":"soft-caps"}
export default function ClipUgcTalkingPoints20sSpecimen({ state = "vertical" }: { state?: string }) {
const props = {
...sample,
storyboard: sampleStoryboard(slot("scene", __studioImage1190c9d6), slot("scene", __studioImage4a3cb33d), slot("scene", __studioImageee5cc8e5)),
}
return <VideoPreview component={ClipUgcTalkingPoints20s} props={props} format={state as VideoFormat} meta={video} durationInFrames={durationInFrames} />
}
| Name | Type | Details |
|---|---|---|
layout |
StoryboardScene[] |
|
format OptionalClipUgcTalkingPoints20s |
VideoFormat |
Default "vertical"
|
durationInFrames OptionalClipUgcTalkingPoints20s |
number |
|
storyboard OptionalClipUgcTalkingPoints20s |
StoryboardScene[] |
Default []
|
timeline OptionalClipUgcTalkingPoints20s |
TimelineScene[] |
|
captions OptionalClipUgcTalkingPoints20s |
CaptionStyle | false |
Default "karaoke"
|
punch OptionalClipUgcTalkingPoints20s |
number |
Default 1.06
|
voice OptionalClipUgcTalkingPoints20s |
string |
|
music OptionalClipUgcTalkingPoints20s |
string |
|
format OptionalCoachIntro |
VideoFormat |
|
durationInFrames OptionalCoachIntro |
number |
|
words OptionalCoachIntro |
Word[] |
|
scene OptionalCoachIntro |
string |
|
focus OptionalCoachIntro |
string |
|
name OptionalCoachIntro |
string |
|
role OptionalCoachIntro |
string |
|
title OptionalCoachIntro |
string |
|
highlight OptionalCoachIntro |
string |
|
cutAt OptionalCoachIntro |
string |
|
punch OptionalCoachIntro |
number |
Theme roles it reads
Set by the theme bar, a preset or your brand. Colours come from the base tokens (--surface, --ink, --cta…) every piece uses.
--card-radius- Cards and panels: radius, border and shadow.
Image slots
Filled from the brand’s images; the specimen ships its own defaults.
scene- A wide atmosphere photo behind or beside the copy.
-
1190c9d666399773.webp
image/webp · 67.8 KB
-
4a3cb33dab3a2b44.webp
image/webp · 49.4 KB
-
bec2a41897a3364d.webp
image/webp · 51.2 KB
-
ee5cc8e56e79448a.webp
image/webp · 88.4 KB