Render with Remotion CLI
npx remotion render remotion/index.tsx social-story output.mp4
Composition code
import {
AbsoluteFill,
useCurrentFrame,
interpolate,
Easing,
} from "remotion";
interface SocialStoryProps {
headline?: string;
subline?: string;
handle?: string;
[key: string]: any;Duration10s
Resolution1080 × 1920
Frame rate30 fps
Frames300
Copy the code snippet into your Remotion project and run the render command to generate this template locally.