The frame-by-frame workflow behind How Teddy Met Alfie, from a two-second head tilt to a finished 34.5-second film.
By M.J Byrne · AI Visibility Studio
At 16.42 seconds, Teddy puts his paw on a felt ball. At 16.50, it starts to roll. My original direction was “Teddy gives Alfie the ball.” It took a surprising amount of work to get those two moments in the right order.
I directed the film and used ChatGPT to help draft this walkthrough from my production notes.
We’d just made a stop-motion-style Christmas reel for Portimão Soup Kitchen and had so much fun with it that I wanted to push the animation further. This time I used my own pets. Teddy, my Norfolk Terrier, has already decided they’re friends. Alfie, my cat, is still trying to work out who let him in. The film is a fictional version of their first meeting. Alfie gets the entire voiceover; Teddy has to make his case with a look, a paw and a ball.
Watch How Teddy Met Alfie on YouTube
Start with the artwork, then test the movement
I started with six photos of the two of them and developed the felt-style artwork in ChatGPT with Astra. The second version had the soft fibres, warm room and familiar faces I wanted. The movement was another story. Teddy’s head looked like it had been laid over his body, rather than attached to it.
We tried creating intermediate poses between generated stills. One five-second push had only seven generated poses to work from. The computer could fill the gaps, but Teddy’s shape warped. We also tried generating more whole-character poses, which solved that particular kind of warping but introduced small changes in the fur and face. I went back to the artwork I liked and asked for a two-second test instead of another full render.
That made the process much easier to direct. I could tell Astra what felt wrong, approve a specific movement, and know exactly what to preserve in the next pass. This is digital 2D compositing in a stop-motion style. We weren’t photographing physical puppets, and we didn’t generate a new image for every frame of the finished film.
How the doorway shot was composited
The original two-second tilt used a connected image puppet. Astra wrote Python code using Pillow to handle the transparent artwork, NumPy to calculate how much different areas should move, and OpenCV to remap the pixels. The face and ears stayed rigid. The movement tapered through the neck and upper chest until it reached zero at the supporting paws. In the test, the tilt went from 0° to about 4° before settling at 3.5°. It’s a tiny movement, which is probably why it looked more like him.
For the nine-second doorway shot, we kept the approved tilt timing and applied it to the doorway artwork. The room was the back layer, Teddy was in the middle, and the near edge of the door went in front of him. That last layer did a simple but important job: it hid the part of his body the door should actually obscure. While his head and shoulders leaned into view, the protected paw and floor area stayed fixed.
There’s a pause before the tilt. It runs from 3.5 to 5.5 seconds within that shot, and then Teddy settles. We didn’t stretch the two-second movement to fill nine seconds. We gave it a way in and a way out.
The short test used 24 numbered PNG exposures at 12 per second, including holds. FFmpeg wrote them into a 24 fps MP4, showing each exposure twice. This is the encoding step from that test, shortened to show the useful parts:
ffmpeg -framerate 12 -i 'frame-%04d.png' \
-vf fps=24 -c:v libx264 -crf 17 -pix_fmt yuv420p \
-movflags +faststart teddy-tilt.mp4
The PNGs already contain the movement. FFmpeg packages them for playback; it doesn’t invent a better pose between them. Holding a pose can be useful. Increasing the export frame rate won’t fix a paw that slides or a neck that doesn’t connect.
Give the ball a cause, then give Alfie a moment
For the 7.5-second ball exchange, the ball followed the edge of Teddy’s moving paw while they were in contact. Once his paw released it, the ball coasted and slowed. Measured from the start of the shot, contact came at 1.92 seconds, the ball first moved at 2.00, and it reached Alfie’s side at 3.83. Alfie began to lower his head at 4.08. He taps it back at 5.25.
That quarter of a second between arrival and reaction is my favourite bit. Teddy’s offering to play. Alfie is working out how to return something he didn’t order.
I approved the doorway and ball exchange before we assembled the silent cut. After Alfie sends the ball back, we go straight to Teddy’s close-up. Keeping the next wide shot would have made the ball jump to a different position. The close-up fixed the continuity and gave Teddy a moment to look pleased with himself.

Fixing the gap I spotted on my phone
The shot I hadn’t tested by itself was the cuddle. Watching the export on my phone, I paused at about 24.61 seconds. A little sliver of background had opened between Teddy’s cheek and Alfie’s white foreleg. Teddy’s head was still moving over a body that had already settled.
We rebuilt that small lowering movement from the resting artwork. The head, neck and shoulder moved together over fixed paws. Alfie’s foreleg gave Teddy’s fur a stable edge to move against. Then we went back into the existing hold. The first 24 seconds of the corrected widescreen cut matched the previous picture frame for frame. There was no reason to touch the parts that already worked.

Build the sound around the picture
I made Alfie’s voice in ElevenLabs. I wanted the composure of a nature documentary narrator observing a minor domestic inconvenience. I supplied the monologue as one recording. We split it into ten speech clips across six dialogue beats, with 12-millisecond fades at the clip edges so the edits wouldn’t click. That let me keep the delivery I liked while placing “but he’s warm” against the cuddle at about 31.85 seconds.
The effects were synthesised separately. The door creak used a wobbling, descending tone and filtered noise. The ball roll moved across the stereo field and got quieter as the ball slowed. Most importantly, Teddy’s tap comes before the rolling sound, just as it does in the picture.
I chose an instrumental ElevenLabs cue called “Teddy’s Tiny Taps.” We lowered it by 12 dB from its between-line level under the speech, and dipped it further during the door and ball effects. Otherwise, a tiny sound we’d spent time getting right would have disappeared under the music.
Reframe the story, not just the video
A centred crop for Instagram would have kept the ball and lost one of the animals on either side. We framed each shot separately. The doorway could come in tight on Teddy. For the exchange and cuddle, we extended the still wall and floor and kept the moving characters from the widescreen cut.
Both MP4s run for 34.5 seconds: 1280 × 720 for widescreen and 1080 × 1920 for the Reel. At 24 fps that’s 828 encoded frames in each version, not 828 new drawings. We checked the frame timing, verified both versions carried the same encoded stereo mix, and watched the exports at normal speed.
What I’d use this for in a small business
I’m interested in what this makes possible for a small team. Not because every business needs a talking pet, but because a short scene can show something an ad would otherwise have to explain.
- A product demo: A small skincare brand could show an animated hand opening a jar, lifting a dab and smoothing it onto skin. I’d test the lid opening and product texture first, and use the real product as the reference so the ad doesn’t promise a finish it can’t deliver.
- An event or charity spot: For the soup kitchen’s Christmas reel, one wonky star made the request to donate old decorations easier to picture. A local maker’s market could use the same idea: follow one object from the maker’s bench to the stall, then give viewers the date and place.
- A recurring character-led ad: A pet shop could use the same character in three short episodes, each built around one thing a customer needs to see. Keep the set and character fixed, and spend the animation time on the one new action that shows how the product works.
If I were doing the first ad tomorrow, I’d write down the one thing somebody should understand with the sound off, then test the two seconds that have to show it. If those two seconds don’t read, I wouldn’t spend another hour improving the background.
That’s what I took from Teddy and Alfie. The tools got us to an editable film. What made it feel like them was having the time to notice exactly when the paw touched the ball, and deciding Alfie deserved another quarter of a second to think about it.
Originally published on Medium