# Prompt to result demo

> A 1920 by 1080 video of about 9 seconds and one page for a workplace AI course: three index cards hold one request in three versions, with the added words highlighted, and a result card slides out beneath each. The cards, highlights and results are plain text and shapes to retype, and a small pip meter component shows how useful each result is.

- The design, as a .vd file: https://getv.design/library/prompt-demo-video.vd
- Its page: https://getv.design/library/prompt-demo-video

## How it was made

Drafted from this prompt:

> A 15 second demo from Lindfield Learning at Work: a request for a thank you email to a client gets better in three steps. Show each version on a card and the result it produces.

Then refined:

- Made the request and result text much larger and cut the copy, because the first version was unreadable once the clip is shrunk to a small GIF.
- Made the third request card taller so its highlighted lines stay inside it, and ran the arrows to the top of each result card.
- Shortened the clip from the 15 seconds in the brief to about 9 so the GIF stays near 1.5 MB, and gave each result a pause before the next card pins.

## Make it yours

- "Change the topic to a meeting summary for an AI training presentation video."
- "Add a fourth step about tone."
- "Swap the company name and make the clip longer."

## The source

```vd
version 12
kind design
title "Prompt to result demo"
$slate = #1F2933
$white = #F8FAFC
$teal = #14B8A6
$yellow = #FACC15
$panel = #2D3B49
$faint = #53626F
$m = 72
$gap = 40
$cw = 565
$pad = 30

font display = Kreon
  fallback "Georgia, serif"
  face asset=kreon-600 weight=600
  face asset=kreon-700 weight=700

font body = Spinnaker
  fallback "system-ui, sans-serif"
  face asset=spinnaker-400 weight=400

asset kreon-600 = font/woff2 hash=sha256-24c968c9e2de17e5047d8bd9ac14c58ad113d19afe2b0a13d7b69df7c40f3809 bytes=15840 license=OFL
asset kreon-700 = font/woff2 hash=sha256-979003f823d225b1549818f2621d64230cbba60f123420387ac93825a1aebe99 bytes=15540 license=OFL
asset spinnaker-400 = font/woff2 hash=sha256-30fed205471d2e627b18975eb3276714519ba417be9fa25be5d4e2b3efcede8c bytes=10480 license=OFL

frame film x=0 y=0 w=1920 h=1080 background=slate
  text film.title x=$m y=36 w=(100% - $m * 2) h=92 font=display size=72 weight=700 letterSpacing=-1 fill=white
    "One request, three tries, a better email each time"
  frame req.1 x=$m y=176 w=$cw h=410 background=white radius=10
    text req.1.base x=$pad y=44 w=(100% - $pad * 2) h=94 font=body size=36 lineHeight=1.25 fill=slate
      "Write a thank you email to a client."
    ellipse req.1.pin x=(parent.cx - 24) y=-24 w=48 h=48 fill=teal
    text req.1.pin.n x=@req.1.pin.x y=@req.1.pin.y w=@req.1.pin.w h=@req.1.pin.h font=display size=30 weight=700 align=center valign=middle fill=slate
      "1"
  frame req.2 x=(@req.1.right + $gap) y=@req.1.y w=$cw h=410 background=white radius=10
    text req.2.base x=$pad y=44 w=(100% - $pad * 2) h=94 font=body size=36 lineHeight=1.25 fill=slate
      "Write a thank you email to a client."
    rect req.2.mark.a x=($pad - 8) y=(@req.2.base.bottom + 10) w=(100% - $pad * 2 + 16) h=98 fill=yellow radius=4
    text req.2.a x=$pad y=(@req.2.mark.a.y + 4) w=(100% - $pad * 2) h=90 font=body size=36 lineHeight=1.25 fill=slate
      "She renewed for two years. Under 100 words."
    ellipse req.2.pin x=(parent.cx - 24) y=-24 w=48 h=48 fill=teal
    text req.2.pin.n x=@req.2.pin.x y=@req.2.pin.y w=@req.2.pin.w h=@req.2.pin.h font=display size=30 weight=700 align=center valign=middle fill=slate
      "2"
  frame req.3 x=(@req.2.right + $gap) y=@req.1.y w=$cw h=410 background=white radius=10
    text req.3.base x=$pad y=44 w=(100% - $pad * 2) h=94 font=body size=36 lineHeight=1.25 fill=slate
      "Write a thank you email to a client."
    text req.3.a x=$pad y=(@req.3.base.bottom + 14) w=(100% - $pad * 2) h=94 font=body size=36 lineHeight=1.25 fill=slate
      "She renewed for two years. Under 100 words."
    rect req.3.mark.b x=($pad - 8) y=(@req.3.a.bottom + 10) w=(100% - $pad * 2 + 16) h=142 fill=yellow radius=4
    text req.3.b x=$pad y=(@req.3.mark.b.y + 4) w=(100% - $pad * 2) h=136 font=body size=36 lineHeight=1.25 fill=slate
      "Mention her leadership course and ask for a January call."
    ellipse req.3.pin x=(parent.cx - 24) y=-24 w=48 h=48 fill=teal
    text req.3.pin.n x=@req.3.pin.x y=@req.3.pin.y w=@req.3.pin.w h=@req.3.pin.h font=display size=30 weight=700 align=center valign=middle fill=slate
      "3"
  frame res.1 x=@req.1.x y=(@req.1.bottom + $gap + 30) w=$cw h=340 background=panel radius=10
    rect res.1.edge x=0 y=0 w=8 h=(100%) fill=teal
    text res.1.tag x=$pad y=26 w=300 h=46 font=display size=36 weight=600 fill=white
      "Generic"
    instance res.1.pips component=pips x=(100% - $pad - 132) y=36
      override pip.b fill=faint
      override pip.c fill=faint
    text res.1.body x=$pad y=96 w=(100% - $pad * 2) h=250 font=body size=32 lineHeight=1.3 fill=white
      "Dear client, thank you for your business. We appreciate your support."
  frame res.2 x=@req.2.x y=@res.1.y w=$cw h=340 background=panel radius=10
    rect res.2.edge x=0 y=0 w=8 h=(100%) fill=teal
    text res.2.tag x=$pad y=26 w=300 h=46 font=display size=36 weight=600 fill=white
      "Specific"
    instance res.2.pips component=pips x=(100% - $pad - 132) y=36
      override pip.c fill=faint
    text res.2.body x=$pad y=96 w=(100% - $pad * 2) h=250 font=body size=32 lineHeight=1.3 fill=white
      "Dear client, thank you for renewing for two more years. We are glad to keep working with you."
  frame res.3 x=@req.3.x y=@res.1.y w=$cw h=340 background=panel radius=10
    rect res.3.edge x=0 y=0 w=8 h=(100%) fill=teal
    text res.3.tag x=$pad y=26 w=300 h=46 font=display size=36 weight=600 fill=white
      "Ready to send"
    instance res.3.pips component=pips x=(100% - $pad - 132) y=36
    text res.3.body x=$pad y=96 w=(100% - $pad * 2) h=250 font=body size=32 lineHeight=1.3 fill=white
      "Thank you for renewing for two more years. Your leadership course went so well that we would love to plan the next one. Could we speak in January?"
  connector arrow.1 x1=@req.1.cx y1=@req.1.bottom x2=@req.1.cx y2=(@res.1.y - 6) stroke=teal strokeWidth=5 end=arrow
  connector arrow.2 x1=@req.2.cx y1=@req.2.bottom x2=@req.2.cx y2=(@res.2.y - 6) stroke=teal strokeWidth=5 end=arrow
  connector arrow.3 x1=@req.3.cx y1=@req.3.bottom x2=@req.3.cx y2=(@res.3.y - 6) stroke=teal strokeWidth=5 end=arrow

frame pips x=0 y=1200 w=132 h=18 component
  rect pip.a x=0 y=0 w=36 h=18 fill=teal radius=9
  rect pip.b x=48 y=0 w=36 h=18 fill=teal radius=9
  rect pip.c x=96 y=0 w=36 h=18 fill=teal radius=9

motion film length=8500
  film.title enter=rise by=word stagger=70 duration=350
  req.1 enter=pop duration=350 with=film.title delay=600
  res.1 enter=rise duration=450 delay=250
  arrow.1 enter=draw duration=350 with=res.1
  req.2 enter=pop duration=350 delay=800
  req.2.mark.a enter=wipe from=left duration=400 delay=150
  res.2 enter=rise duration=450 delay=250
  arrow.2 enter=draw duration=350 with=res.2
  req.3 enter=pop duration=350 delay=800
  req.3.mark.b enter=wipe from=left duration=450 delay=150
  res.3 enter=rise duration=450 delay=250
  arrow.3 enter=draw duration=350 with=res.3
```
