How to make YouTube Shorts in 9:16 with Claude Code
To make a YouTube Short with Claude Code, have it build a separate vertical film at 1080 × 1920 pixels rather than cropping your 16:9 video. Claude writes the scenes in HTML and JavaScript for the tall frame, and a renderer like HyperFrames records them to MP4. Before you upload, check the size and the safe area. The same file works for Instagram Reels and TikTok.
That's how my channels make their daily Shorts. If you'd rather start from a prompt, there are 10 copy-paste Claude Code video prompts, including a vertical one. Below are the steps, the measurements I use, and the styles I've tested in 9:16.
Why a separate film and not a crop
Crop a 16:9 film to 9:16 and you lose two thirds of the picture. Shrink it into the middle of a tall frame instead and you get empty bands at the top and bottom. Either way it looks like a leftover on a phone. A film made for the tall frame uses all of it. Things are stacked from top to bottom (sky, faces, ground), the camera moves up and down, and one or two big faces take the place of the wide group shot.
You can still reuse the characters, sets and drawings from your long video. You only need new shots.
Step 1: set the frame
Tell Claude the size at the start:
Make a 35-second vertical film, 1080 x 1920, for YouTube Shorts. It is a new film composed for the tall frame, not a crop of a 16:9 video. Show me the shot list first.
With HyperFrames, the size is set in the composition's root element and in its canvas. Ask Claude to keep the two equal.
Step 2: keep text and faces in the safe area
Shorts, Reels and TikTok lay their buttons, captions and channel name over your video. My kits work from this rule: the app interface covers roughly the top 250 pixels, the bottom 450 and the right 140. Keep all text, numbers and faces inside x 90 to 940 and y 250 to 1470, and let the background fill the whole frame from edge to edge.
Make text at least 44 pixels tall at 1080 wide, keep it to about four words per line, and show one caption at a time.
Step 3: use a structure built for 30-odd seconds
A Short needs a different shape from a long video. One structure I found in my scan of YouTube outliers is the Then vs Now split Short. It's six split-screen comparisons of about four seconds each, with small labels and music and sound effects instead of a voice. It ends on a reversal question, and the last frame matches the first so the video loops. Among the animated split montages I looked at, the ones that ran 31 to 38 seconds did well and the ones that ran 10 to 22 seconds didn't.
Whatever structure you choose, get the first picture on screen in under a second.
Step 4: look at stills, then render
With HyperFrames:
npx hyperframes lint . npx hyperframes snapshot . --at 1,3,5,7 -o snapshots npx hyperframes render . -o out.mp4 --quality looks --workers 2
Look at the stills before you render, and make sure no face or caption sits under the top or bottom band.
Step 5: check the file before you upload
Run two quick checks with FFmpeg's tools:
ffprobe -v error -show_entries stream=width,height -of csv=p=0 out.mp4 ffmpeg -hide_banner -i out.mp4 -vf freezedetect=n=-50dB:d=1.2 -an -f null - 2>&1 | grep freeze_start
The first has to print 1080,1920. The second prints nothing if no part of the film stands still for more than 1.2 seconds. When something does freeze, it's usually a scene that ended early or a shot with no motion in it. To check other sizes and ratios, use my free aspect ratio calculator.
Styles tested in 9:16
These 79 ReelStyles kits each have a vertical template and a vertical example film, made by a fresh Claude Code that was given only the kit. The kits are plain files, so other agents such as Codex or Cursor can follow them too.
- Cut-paper documentary
- Primal toon
- Round-head toon
- Copper Boards
- Mid-century cartoon
- Sci-fi sitcom toon
- Whiteboard explainer
- Isometric infographic
- 1920s silent film
- Chinese ink wash
- Ukiyo-e
- Urban sketch, pen and wash
- Impasto palette knife
- Watercolour brush
- Vox collage
- Cel anime 80s
- Doodle film
- Dark Keynote
- Kinetic type
- Painted animation
- Halftone dossier
- Neon Deck
- Product Cinematic
- Device Demo
- Risograph
- Shadow puppet
- Woodcut
- Brand World 3D
- Beat Plates
- Lyric karaoke
- Paper pop-up
- Shader art
- Particle type
- Low-poly island
- Stick-figure metaphor Short
- Countdown guessing quiz
- IQ quiz reels
- Flat Cosmic Explainer
- Ranking Race
- Territory Map
- Illustrated true-horror story
- Legend Flip
- Painted anime sky
- Pop comic panels
- Origami fold
- Blocky avatar game
- Neon sign night
- Paper-cut lightbox
- Isometric pixel city
- Felt and stitches
- Black-and-white manga
- Scrapbook stickers
- Art nouveau poster
- Illuminated manuscript
- Cross-stitch embroidery
- Charcoal drawing
- Pointillist dots
- Chat text story
- Tier list ranking
- Would you rather
- Money growth chart
- Evolution timeline
- Evidence board
- Cozy room loop
- Sketch to Color
- Ball ring
- Voxel Duo
- Puppet stage
- Crime City
- Ink Caricature
- kawaii-pastel
- Sketch diagram
- Ballpoint notebook
- Papercraft mat
- Transit map
- Thermal X-ray
- Handheld Pixel
- Tarot Deck
- Bauhaus Poster
A kit already includes the vertical template and the safe-area rules from step 2, so you can skip that setup. The pricing page shows how to get them. If you're starting a new channel, my faceless channel guide covers the rest. The vertical looks are collected on faceless Shorts styles.
For a format built entirely on a short timer, see countdown quiz Shorts with Claude Code.
So far I've only tested the other styles in 16:9. You can still ask Claude for a vertical version of any of them, but you'll have to do the framing work yourself.

Sources
The safe-area numbers, checks and render steps come from the vertical render notes in my kits. The Short structure and its length figures come from my scan of 476 YouTube channels and 641 outlier videos (October 2026), listed on my formats page.