Skip to main content

Generating Flyers

Create brand-consistent event flyers using the Remotion-based flyer generator. Deterministic output, no design tools required.


Quick Start

From the applied-ai-society-remotion/ directory:

npm install
npm start # Preview in Remotion Studio
npm run still:flyer # Render 1080x1080 PNG to out/event-flyer.png

Customizing

Pass event details as JSON via --props:

npx remotion still EventFlyer out/flyer.png --props='{
"coHostLogo": "aitx.png",
"agendaItems": [
{ "text": "Talk by **AI Pioneer**", "speaker": "Travis Oliphant" },
{ "text": "**Live architecting** of an agentic solution\nfor a real business by", "speaker": "Jack Moffatt" }
],
"dateLine": "Thursday, Feb 26th at 5:30 PM",
"venueLine": "Antler VC HQ, Austin, TX"
}'

Custom Size

The default output is 1080x1080 (square, good for Instagram and general use). Override with --width and --height:

# Open Graph / link preview (1200x630)
npx remotion still EventFlyer out/flyer-og.png --width=1200 --height=630

# Instagram Story (1080x1920)
npx remotion still EventFlyer out/flyer-story.png --width=1080 --height=1920

The composition scales to fit whatever dimensions you provide.


  1. Drop the logo PNG into the public/ directory (e.g., public/partner-logo.png)
  2. Reference it in props:
npx remotion still EventFlyer out/flyer.png --props='{
"coHostLogo": "partner-logo.png"
}'

The logo appears next to the Applied AI Society stacked logo at the top of the flyer.


Props Reference

PropTypeDefaultDescription
coHostNamestring""Co-host organization name (currently unused visually, reserved for future use)
coHostLogostring"aitx.png"Filename of co-host logo in public/. Set to "" to hide.
coHostCircleCropbooleantrueWhether to circle-crop the co-host logo
eventTitlestring(none)Custom title text. If omitted, the "Applied AI Live" SVG logo is used.
agendaItemsAgendaItem[](see below)Array of agenda items to display
dateLinestring"Thursday, Feb 26th at 5:30 PM"Date/time shown in the orange pill
venueLinestring"Antler VC HQ, Austin, TX"Venue shown in the orange pill

AgendaItem

FieldTypeDescription
textstringDescription text. Supports **bold** markers and \n for line breaks.
speakerstringSpeaker name, rendered in orange after the text.

Tips

  • Preview first. Run npm start to open Remotion Studio and see your flyer before rendering.
  • Bold text. Wrap words in **double asterisks** inside text fields to render them bold.
  • No event title? Omit eventTitle to use the default "Applied AI Live" SVG branding.
  • Custom event? Set eventTitle to any string for non-Live events.