Skip to content

Sprint 1: Infographic-driven explainer videos (dev → main)#641

Merged
codercatdev merged 3 commits intomainfrom
dev
Mar 13, 2026
Merged

Sprint 1: Infographic-driven explainer videos (dev → main)#641
codercatdev merged 3 commits intomainfrom
dev

Conversation

@codercatdev
Copy link
Copy Markdown
Contributor

Sprint 1: Infographic-Driven Explainer Videos

Three parallel PRs merged to dev, now shipping to main:

Task A: Schema + Script Prompts (PR #638, @content)

  • imagePrompts: string[] on each scene in automatedVideo script
  • infographicsHorizontal + infographicsVertical arrays at doc root (Sanity image assets)
  • buildPrompt() instructs Gemini to generate per-scene image prompts following Alex's template

Task B: Remotion Rewrite (PR #639, @videopipe)

  • InfographicScene rewritten for multi-image cycling with crossfade (4s per image)
  • Scene.tsx stripped of ALL text overlays — audio narration carries all words
  • SceneRouter updated for infographicUrls[] array routing with backward compat

Task C: Infographic Generation Scale-up (PR #640, @research)

  • generateFromScenePrompts() generates both 16:9 and 9:16 for each prompt
  • check-research reads imagePrompts → Imagen → Sanity upload → scene-level URL distribution
  • Rate limiting, per-item fault isolation, backward compat with existing fields

Build Verification

  • ✅ TypeScript: zero errors (tsc --noEmit)
  • Node 22.22.1, pnpm 10.32.1

Task A: Schema + buildPrompt for infographic-driven videos\n\n- Added imagePrompts (string[]) to each scene in automatedVideo script\n- Added infographicsHorizontal and infographicsVertical arrays at doc root\n- Updated buildPrompt() with per-scene image prompt generation instructions\n- Template: 'Infographic 2D architecture style, black background. [scene]. #15b27b accents.'\n- Prompt count: Math.ceil(durationEstimate / 4) per scene\n- NO text overlays instruction
…verlays

Task B: Infographic-driven Remotion rewrite\n\n- InfographicScene rewritten for multi-image cycling with crossfade transitions (4s per image, 0.5s crossfade)\n- Scene.tsx stripped of ALL text overlays — audio narration carries all words\n- SceneRouter updated: infographicUrls[] array routing with backward compat for single URL\n- Types updated with infographicUrls and imagePrompts on sceneDataSchema\n- Subtle Ken Burns zoom (1.0→1.05) per image, objectFit:contain for full infographic display\n- NO text on screen anywhere — pure visual infographic + audio
Task C: Infographic generation scale-up for dual orientations\n\n- New generateFromScenePrompts() generates both 16:9 and 9:16 for each prompt\n- check-research reads imagePrompts from script scenes, generates both orientations\n- Uploads to Sanity: infographicsHorizontal + infographicsVertical at doc root\n- Distributes CDN URLs back to script.scenes[].infographicUrls for Remotion\n- Rate limiting: 2s pause every 5 prompts to avoid Imagen throttling\n- DEFAULT_INSTRUCTIONS updated to Alex's brand style (black bg, #15b27b green)\n- Enrichment prompt updated with imagePrompts requirements\n- Backward compat: still writes to infographics field + researchData
@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 13, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
codingcat-dev Ignored Ignored Mar 13, 2026 5:36am

@codercatdev codercatdev merged commit b2ef3f6 into main Mar 13, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant