Guides / AI tools

8 pencil storyboard panels to a product animation: ChatGPT draws the board, Claude codes it shot by shot

Eight pencil storyboard panels, five photos and one prompt: Claude codes a 9:16 product animation as one HTML file, shot by shot. Prompts included.

Watch the reel on InstagramComment #分鏡 to get this guide

Want a product animation, can see it in your head, but don't know After Effects? This guide starts with a storyboard: one panel per shot, with arrows and handwritten notes for the motion. Hand it to Claude with a few photos and it writes the animation as code.
The demo product is Pipu, a fictional key-finder tag app. The 8 pencil panels and the 5 street photos were generated by ChatGPT (not hand-drawn, not a real lane). The animation, the UI and every camera move are code written by Claude Code, and we didn't change a frame. In every comparison below, the storyboard panel is on the left and the shot Claude built is on the right.

01The result first: storyboard on the left, Claude's shot on the right

Pencil panel 5 (shop table, pin, bent arrow, 2 m) beside the finished shot with an orange arrow and a 2 m pill
Panel 5: the bent arrow and handwritten "2 m" became a guide arrow curving to the table and a "2 m, almost there" pill.

The whole film is 27.3 seconds and 8 shots, one HTML file that plays when you open it in a browser. The backgrounds are photos. Everything on top of them (icon, map pin, info card, arrow, distance, ring, light rings) is drawn in code and moves with the camera.

All 8 pencil panels beside their finished shots, from the icon and aerial map to the key rings and wordmark
All 8 pairs. In each pair the pencil panel is on the left and Claude's shot is on the right.

02Step 1: decide the shots, one action per shot

You don't need many panels. Say what the product does in one sentence, then cut it into shots with a single action each. We used 8:

  1. The app icon pops in.
  2. A top-down map: the pin drops on the lane and a "keys" card slides up from the bottom.
  3. The camera dives down into the lane.
  4. Standing in the lane: an arrow leads the way and the distance counts down from 11 metres.
  5. In front of the breakfast shop: the arrow bends toward a small round table, 2 metres left.
  6. Looking down at the table: a ring circles the keys and "here" appears.
  7. Close-up of the keys: light rings spread out from the tag one after another.
  8. The app icon with the word "Pipu" to finish.

03Step 2: make the pencil storyboard, with a motion mark in every panel

You can draw the storyboard yourself in pencil, stick figures are fine, and photograph it. This time we asked ChatGPT to draw it: 4 tall panels per image, 2 images, both used as generated on the first try with no retouching. We only cut them into single panels.

Eight ChatGPT-generated pencil panels: icon, aerial map, dive arrow, lane, shop, table, key rings, Pipu
Our 8 panels (generated by ChatGPT). Note the motion marks: ticks, a curved arrow, "11 m", concentric rings.
ChatGPT storyboard prompt (sheet 1, replace the [ ] parts)
Create an image: a hand-drawn pencil storyboard sheet on plain white paper for a short product animation, landscape 3:2. Exactly 4 tall portrait panels (9:16 phone format) side by side in ONE row, all the same size, each with a hand-ruled pencil border, wide white gutters between them and a white margin around. Loose graphite pencil line sketch with light hatching, like an animator's rough thumbnails; black and white only, no colour, not photorealistic. A small handwritten number above the top-left corner of each panel: 1, 2, 3, 4.
Panel 1: [what panel 1 shows, plus its motion mark, e.g. small motion ticks around the icon show it popping in]
Panel 2: [panel 2]
Panel 3: [panel 3, e.g. a large curved motion arrow showing the camera swooping down]
Panel 4: [panel 4, e.g. a big bold upward arrow and the handwritten text "11 m"]
No other text, no logos, no brand names.
Then ask for sheet 2 in the same chat
Now sheet 2 of the same storyboard, in exactly the same pencil style, paper, panel size and layout (4 tall portrait panels in one row), numbered 5, 6, 7, 8.
Panel 5: [panel 5]
Panel 6: [panel 6]
Panel 7: [panel 7, e.g. three concentric rings radiating out from the tag]
Panel 8: [panel 8]
No other text, no logos, no brand names.
  1. Three kinds of motion mark are enough: arrows (where a thing or the camera moves), handwriting ("11 m", "here") and lines (ticks for a pop, concentric rings for a pulse).
  2. Keep a number above each panel. When you later say "panel 5", Claude knows which one you mean.
  3. Only 4 panels per image. More panels means smaller panels, and details and handwriting turn to mush.
  4. Ask for sheet 2 in the same chat so the style, paper and panel size match.

04Step 3: prepare real-world photos for the backgrounds

Each panel that shows a real place needs one photo. You can shoot your own. We asked ChatGPT for 5: the neighbourhood from straight above, the lane from a steep bird's-eye angle, the lane at eye level, the breakfast shop table, and the keys on the table top. The icon and wordmark shots sit on a plain background and need no photo.

Five ChatGPT-generated photos: rooftops from above, the lane from high up and at eye level, a shop table, keys
The 5 background photos (ChatGPT-generated, not a real place). Same lane, same morning light, no people, blank signs.
ChatGPT photo prompt (plate 1, replace the [ ] parts)
Create an image, portrait 2:3: a photorealistic [drone photo looking straight down at your scene]. [Scene details: buildings, ground, light]. Soft warm morning light, natural colours, sharp detail. No people, no text, no logos, no watermarks. This is plate 1 of a series of [5] background photos of the same fictional [place]; I will ask for the next ones one at a time, keep the place, light and colour consistent.
Then ask for them one at a time (same chat)
Plate [2], portrait 2:3, same place, light and colour: a photorealistic [camera angle of this panel, e.g. phone photo taken at eye level, standing in the middle of the lane and looking straight ahead]. [What must be in frame], and plain empty paved ground filling the lower third of the frame. No people, all signs blank, no text, no logos.
  1. Match each photo's angle to its panel: panel 2 looks straight down, so ask for a true top-down photo.
  2. Leave room where the arrow or card will go. Every eye-level photo of ours asks for "empty ground in the lower third", which is where the arrow and the distance sit.
  3. Say in the first prompt that this is a series of one place, and repeat "same place, light and colour" each time, so the scenes connect.
  4. Write "No people" and "all signs blank": no strangers' faces and no garbled shop signs in frame.

05Step 4: give Claude the panels and photos, then paste this prompt

  1. Open Claude Code with the 8 panels and the photos in one folder, or start a new chat at claude.ai and attach all the images at once (the official help page says up to 20 files per chat; ours were 8 + 5 = 13).
  2. Name the panels by number (p1 to p8) and give each photo a filename that says which shot it is for.
  3. Paste the prompt below with your own product, per-panel actions and shot lengths.
Storyboard-to-animation prompt (replace the [ ] parts)
The 8 attached images are a pencil storyboard (one panel = one shot, in numbered order). Turn it into a vertical (9:16) product animation and output a single HTML file that plays when opened in a browser.

Product: [your product in one sentence]

Rules:
1. One panel = one shot. Follow the storyboard for composition, camera angle and the position of every element.
2. The arrows and handwriting on the panels are motion instructions:
   - Panel 1 [mark] = [action]
   - Panel 2 [mark] = [action]
   - [one line per panel]
3. Keep the camera continuous: the end of each shot pushes or transitions straight into the next. No hard cuts, no black frames.
4. Use my attached photos as the real-world backgrounds. Draw all UI, icons, arrows, numbers and light rings in code on top of the photos, and make them move with the camera.
5. Animation must be springy (spring / ease), not linear; something must be moving from the start to the end of every shot.
6. Design the brand yourself. Do not use any existing brand's icon or name. Interface text in [language].
7. Length of each shot (seconds): [1 = … | 2 = … | 3 = …]

For Pipu we actually pasted this (in Chinese; translated here):

The prompt we used (translated)
The 8 attached images are a pencil storyboard (board/p1.png to p8.png, one panel = one shot, in numbered order). Turn it into a vertical (9:16) product animation and output a single HTML file that plays when opened in a browser.

Product: Pipu, a fictional key-finder tag app. Hang the tag on your keys and your phone walks you to it.

Rules:
1. One panel = one shot. Follow the storyboard for composition, camera angle and the position of every element.
2. The arrows and handwriting on the panels are motion instructions:
   - The ticks beside the icon in panel 1 = the icon pops in.
   - Panel 2 = a top-down map, the pin drops on the lane, a "keys" info card (two round buttons) slides up from the bottom.
   - The big curved arrow in panel 3 = the camera dives down into the lane.
   - The big arrows in panels 4 and 5 = a guide arrow; "11 m" and "2 m" = the distance counts down from 11 metres to 2 metres, and the arrow leans left in panel 5.
   - "Here" in panel 6 = looking down at the table, a ring circles the keys and "here" appears.
   - The concentric rings in panel 7 = light rings spread out from the tag one after another.
   - Panel 8 = the app icon plus the word "Pipu" to finish.
3. Keep the camera continuous: the end of each shot pushes or transitions straight into the next. No hard cuts, no black frames.
4. Use my attached photos as the real-world backgrounds (the plates/ folder; each filename says which shot it is). Draw all UI, icons, the map pin, arrows, numbers, the ring and the light rings in code on top of the photos, and make them move with the camera.
5. Animation must be springy (spring / ease), not linear; something must be moving from the start to the end of every shot, with no still frames.
6. Design the brand yourself: the icon follows panel 1 (rounded square + solid dot + two signal arcs), you choose the colours, but do not use any existing brand's icon or name, and no green radar rings. Interface text in Traditional Chinese (Taiwan usage); write distances as "11 公尺" or "11 m".
7. Length of each shot (seconds): 1 = 2.4 | 2 = 2.533 | 3 = 2.533 | 4 = 5.2 | 5 = 4.333 | 6 = 1.767 | 7 = 3.733 | 8 = 4.8, 27.3 seconds in total.
  1. Rule 2 matters most. With images alone it guesses: is the curved arrow something to draw, or a camera move? One line per panel removes the guessing.
  2. Rule 3 turns 8 shots into one film instead of 8 slides.
  3. Rule 4 separates photo from code: photos are only backgrounds, and everything that moves is drawn in code, so you can still change it later.
  4. Rule 6 lets it design the brand. We gave only the shape of the icon; the colours, wordmark and UI text are its own.
  5. The shot lengths in rule 7 are the lengths of our voice-over lines, hence the decimals. With no voice-over, 2 to 5 seconds per shot is fine.

06Step 5: open the HTML and compare panel by panel

Claude wrote an index.html and a film.js (one 2D canvas, no animation library) that plays as soon as you open it in a browser. It took about 90 stills of its own work, compared them with the panels one by one, and went through 4 test rounds and 3 fix passes before handing it over.

Panel 1 beside the coral Pipu icon popping in; panel 2 beside the aerial photo with a pin and the keys card
Panel 1: the ticks became sparks as the icon pops. Panel 2: the pin lands on the lane and the card springs up.
Panel 3 beside a motion-blurred dive into the lane; panel 4 beside an orange guide arrow and a 9 m pill
Panel 3: the curved arrow isn't drawn, it became the dive. Panel 4: "11 m" became a live countdown, here at 9 m.
Panel 5 beside the shop shot with an arrow curving to the table; panel 6 beside the keys circled on the table
Panel 5: the arrow bends to the table and the pill turns coral, "2 m". Panel 6: a ring draws around the keys, "here".
Panel 7 beside light rings spreading from the coral tag; panel 8 beside the Pipu icon, wordmark and tagline
Panel 7: the rings became light rings pulsing outwards. Panel 8: the tag grows into the icon and "Pipu" springs in.

It designed the brand itself: coral #F0603A (matched to the tag in the photo), cream #FFF5E6 and ink #221C30, with a coral rounded-square icon holding a dot and two signal arcs. The UI text ("in the lane, 11 m", "distance to keys", "almost there") and the closing tagline 掛上去,就找得到 ("hang it on, and you'll find it") are its own too.

When it handed the film over, it also listed where it departs from the panels: panel 3's curved arrow is read as a camera move and not drawn; "here" sits a little lower than in panel 6 so it clears the ring; the keys in shot 7 lie at a different angle from panel 7, because the photo fixes where they are; and it added a tagline under the wordmark.

07Step 6: fix a shot in one sentence, then record it

Revision prompt (replace the [ ] parts)
In shot [5], make the [arrow] follow the panel and [bend toward the table]. Leave the other shots alone.
In shot [4], make the [distance number] [bigger], and pace the countdown to the length of the shot.
No hard cut between shots [7] and [8]: let the [tag] turn straight into the [icon].
  1. Change one shot at a time and use its number: "shot 5" is clearer than "the bit at the breakfast shop".
  2. End every request with "leave the other shots alone", so it doesn't quietly rework a shot you already like.
  3. For Reels, the easiest route is to open the HTML in Chrome, press F11 for full screen and screen-record it.
  4. For clean frames, ask Claude Code to "capture it frame by frame in headless Chrome at 30 fps, then use ffmpeg to make an MP4". That's how we put the film into our Reel.

08Good to know

  1. Pipu is a fictional product. The name, icon, UI and distances are demo content; there is no such app.
  2. The 8 pencil panels were generated by ChatGPT, not drawn by hand. The 5 street photos are ChatGPT-generated too; the lane, the breakfast shop and the keys are not a real place or real objects.
  3. The result is an animation (an HTML file), not a real app. It won't actually find your keys.
  4. The same prompt gives a different result every run, so yours won't match ours exactly. The clearer each panel's action, the steadier the result.
  5. We built this in Claude Code. Attaching the images in claude.ai and pasting the same prompt can also produce a single HTML file, but we didn't run it there this time.
  6. If you use your own photos, keep strangers' faces, licence plates and other people's shop signs out of frame. For commercial use, check your fonts are licensed for it.
  7. Don't use screenshots of someone else's video as your storyboard and ask it to copy them. Draw or generate your own panels, and the result is your own design.

Sources

Related guides