promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_

Why programmatic video — when AI gen alone isn't enough — step 7 of 7

Checkpoint

One last thing before we move on. pass this to mark the lesson done, or skip and keep moving. hop to the next when you're ready.

Final design drill. You're the in-house creative engineer at a DTC brand. Five briefs land in your inbox in one morning. Route each one.

Write route_briefs(briefs) that takes a list of brief dicts and returns a dict mapping each brief's name to its classification ("ai-gen-only", "code-driven", or "hybrid").

Use the same rules as the previous step:

  • All four signals point at the model → "ai-gen-only".
  • Any parametric signal (rows > 1) or data signal (data_source is not None) → "code-driven".
  • Otherwise → "hybrid".

Expected output:

founder dream sequence: ai-gen-only
weekly sale ads:        code-driven
feature launch:         hybrid
customer testimonial:   hybrid
inventory dashboard:    code-driven

full-screen editor opens — close anytime to keep reading.