# Code-Rendered Shorts: Render Vertical Shorts with Code

> Render vertical Shorts with code: PIL draws every frame, ffmpeg assembles the video. No camera, no timeline editor. Built from a real channel's logs — 23 Shorts in 7 days, best video 2,404 views. Includes the pipeline, frame recipes, captions, audio recipes, hooks, and 2 working scripts.

Code-Rendered Shorts: Render Vertical Shorts with Code is a paid AI agent skill on Agensi by hiro, in Digital Products. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $12.99 (one-time purchase)
- Creator: [hiro](https://www.agensi.io/creators/merry-printables)
- Category: [Digital Products](https://www.agensi.io/skills/digital-products)
- Version: 1.0
- Last updated: 2026-11-27
- Security: scan passed (2026-11-27); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/code-rendered-shorts-render-vertical-shorts-with-code
- Tags: digital-products, marketing, python, ffmpeg, youtube-shorts, shorts, tiktok

## About this skill

Render vertical Shorts with code — no camera, no timeline editor, no screen recording. PIL draws every frame, ffmpeg assembles the video. You write a script, run it, and get a 1080x1920 Short with burned-in titles, word-by-word captions, voiceover, music, and sound effects. Change one line, re-render, ship again.

Built from a real channel's operating logs: 23 Shorts published in 7 days on YouTube Shorts and TikTok. Best video 2,404 views, worst mistake 57 views — both are in here, with the numbers.

What's inside (13 files + 2 working scripts):
- The full render pipeline: PIL frames to rawvideo pipe to ffmpeg encode, with the exact commands
- Vertical frame recipes: blur-fill background, Ken Burns motion, burned-in titles, hook card, gold progress bar, crossfades
- Word-by-word captions: 2-3 words per beat, pop-in animation, keyword color, safe zones
- Audio recipes: voice timeline assembly, pop sound synthesis, BGM mix (voice 100% / BGM 20%), loudness rules
- 10 hook archetypes with real hooks and their actual view counts
- 10 render bugs we actually hit, with fixes
- Two full case studies: a code-rendered Bingo Short and our 2,404-view best video
- Pre-publish checklist and a separate TikTok cut guide
- Working templates: render_shorts.py and mix_bgm.py — drop in images and narration, get a Short

Honest note: this is a shipping system, not an income promise. The channel it comes from has 5 subscribers and $0 in sales so far. What it documents is a process that produced a 2,404-view video from zero in 4 days — and the mistakes that produced a 57-view one. No view counts or income are promised.

Requirements: Python 3.10+, Pillow, ffmpeg 8.x, a font file. No paid API keys needed for the render pipeline.

## Known limitations

Requires Python 3.10+, PIL, and FFmpeg 8.x. Does not include AI voice credits or stock music. No GUI included; all operations are via terminal or script execution.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Code-Rendered Shorts: Render Vertical Shorts with Code skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### Do I need a camera or editing software?

No. Everything is rendered in code — PIL draws the frames, ffmpeg encodes the video. You need Python, Pillow, and ffmpeg.

### What videos does this work for?

News flashes, countdowns, comparisons, and three-act stories — any Short built from still images, graphics, or frame-by-frame animation. It does not replace filming real footage.

### Are the scripts ready to run?

Yes. templates/render_shorts.py and templates/mix_bgm.py are working scripts from our own channel, cleaned up as templates. Drop in images, narration, and captions.

### Do the view counts in the pack really come from your channel?

Yes. Every number is checked with yt-dlp from our own channel (Hiro Trends, 5 subscribers). Where a number is not public we say so.

### Will this guarantee views?

No. It documents a process that produced a 2,404-view video and a 57-view video. The topic and hook matter more than the render — the pack teaches both, and it is honest about which one failed.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
