The engine · Poltergeist 2.0
The ghost that writes,directs and draws.
Every GhostViral video passes through Poltergeist, the engine we built for it. It writes a script built to be watched to the end, then either cuts real stock footage on the voice or draws the whole film in code, frame by frame. It checks what it made, mixes the sound and renders the file, most of the time on the device you are holding.
- 3minds: a writer, a director and an animator
- ~5 sto render a 30 s Short on a laptop GPU, clips fetched
- −14LUFS, the loudness platforms play at
Prologue
Forty-two seconds about sled dogs.
To show what the engine does, we will follow one film through it: “The serum run”, the 1925 race to carry medicine 674 miles to Nome. One voice, nine sentences, no footage at all: a real map of Alaska, a blizzard, a thermometer, two dogs who became famous. Every frame of it is drawn in code.
New in 2.0
One engine, three minds.
Most faceless tools glue a chatbot to a stock search. Poltergeist hands your topic through three stages that each know their craft, and each one checks the last before it moves on.
- 01Content Engine
The writer
Researches the niche, drafts three hooks and keeps one, then writes for the ear: uneven rhythm, one lived detail, none of the tells that give a model away.
script · hook · publish pack - 02Stock + motion
The director
Cuts real Pexels footage on the voice, lands numbers, maps and charts on their spoken word, and grades the pacing before a credit is spent.
timeline · motion plan · mix - 03Animated story
The animator
Draws the whole film in code: a painted world, one hero per sentence, a camera that follows the voice. Every beat is run and looked at.
canvas film · story QA
The animator · Beta
No footage. Every frame drawn in code.
Pick Animation in Create and Poltergeist writes the film as a program: a painted background with its own slow motion, supporting objects on their own rhythms, one hero that springs in on its sentence and a title that arrives last. The camera pushes and pulls with the voice. Nothing is downloaded but the voice.
Drag the line: 1.0 against 2.0.
The same kind of history short, drawn by the old engine and by the new one. On the left, the stick cast of Poltergeist 1. On the right, the draw kit every model now writes with: designed characters, real landmarks, signs that fit their words.
One film, any format: phone screens, before / after, ranked lists and real maps, mixed as the story needs.


Looked at before it is accepted.
The drawing program runs in a sandbox on every beat before the story is accepted. A draft that fails goes back to the writer with the reason, in words it can act on. The same check runs when an AI agent sends its own drawing code through MCP.
| Check | What fails it |
|---|---|
throws | A beat whose code errors goes back to the writer before anyone renders it. |
blank | An empty or one-colour picture fails: every beat needs a world and its own objects. |
repeat | A beat that looks like the one before fails: every sentence gets its own picture. |
still | Too few moving parts fails: in every beat several things move at once. |
captions | Text drawn in the bottom fifth is flagged: that is where the captions go. |
The writer · Content Engine
Three hooks drafted. One survives.
The first line decides the next three seconds, so it is the one line written more than once: a number, a callout and a moment already in progress. The strongest is kept, and it has to work muted, as on-screen text read in a second. Then the draft is checked against the tells that make a script sound written by a model, and against the lines that get an account demonetised.
AI agents get the same writer through MCP: content_plan researches a niche, pitches eight ranked ideas and waits for your pick.
Did you know honey never spoils?Archaeologists ate 3,000-year-old honey. It was fine.fast, cheap and easyfast and cheapSo the loop never closes.She still checks his page. Every Sunday.a man from her pasta guy she dated for like five minutes in 2014
01 · Timing
A sentence becomes a scene.
The voice comes first. Every word gets a timestamp, and the cuts fall where the sentences end, so the picture changes when the thought does. Titles, graphics and stickers are pinned to words, not to seconds: move the voice and everything moves with it.
Hook
Map
No plane
Relay
−50°F
Whiteout
5½ days
Balto & Togo
DawnIt reads the edit before anyone hears it.
Before a single word is voiced, Poltergeist reads the planned scenes and the clips behind them and scores the pacing from 0 (lively) to 10 (slideshow). Each finding comes with one fix. It never blocks: the director decides.
| Finding | What it catches | When |
|---|---|---|
repeat | The same clip comes back later in the video. | Any repeat |
same_clip_cut | A cut lands on the same clip, so it shows no new picture. | Any |
long_hold | One clip stays on screen too long. | Over 8 s in a Short, 15 s in a long video |
slow_hook | The opening shot outstays the hook. | Over 4 s in a Short, 8 s in a long video |
photo_hook | The video opens on a still photo. | First scene |
photo_heavy | Too many stills for a moving picture. | More than half the clips |
loops | A clip shorter than its scene restarts on screen. | Any |
few_scenes | Too few different clips for the length. | About one every 5 s in a Short |
02 · Frames
Every frame is a number.
Poltergeist has no timeline to play forward. Ask it for frame 40 and it draws frame 40, without drawing the 39 before it, and the same picture every time. That one rule is why the same plan renders the same video in your browser, on an AI agent's laptop and on our server.

One thing moves at a time.
An element enters in about a third of a second, then holds still while you read it.
A number lands on its word.
The count-up ends on the frame the voice says it, never after. The picture leads the sound by one frame.
Same picture everywhere.
Measured on the Lottie library: 0.24% of pixels differ between a browser and a server render, all on antialiased edges.
03 · Graphics
Code draws. The footage stays.
Stock footage is the body of the video. Where a picture of the idea helps, the engine draws one over the clip, which keeps playing dimmed underneath, so the video still feels filmed. Maps and the paper theme get a ground of their own.

stat
map
list
bars
typeAgents connected over MCP can also write a canvas graphic: their own Canvas 2D code, run in an isolated sandbox with a built-in graphic as its fallback.
04 · Moves
Named moves, landed on words.
Poltergeist directs with a vocabulary of named moves written as numbers, never adjectives: a spring with a damping ratio, a push from 1.00 to 1.05, letters 30 ms apart. These frames are from the three films on this page, exactly as rendered.

pin + draw-on
globe turn
count-up
split screen
stamp
phone
compare
carousel
draw-on buildWhy we wrote our own player.
The same animation has to look the same in a browser and on a server. We measured the two usual players against a small one of our own on the whole library, drawing into a 1080×1920 frame. Ours matches lottie-web in the browser on all but 0.49% of pixels, and the files stay standard Lottie.
Every animation in the library is GhostViral's own work, free to use in any video you make here, commercial use included.
| Renderer | Size | Per frame | Browser vs server | Verdict |
|---|---|---|---|---|
| Poltergeist player | 17 KB | ≈ 1.5 ms | 0.24% | Chosen |
| lottie-web (canvas) | 266 KB | ≈ 2.9 ms | 2.21% | Strokes after fills drew 1 px black in Node |
| Skottie (canvaskit-wasm) | 7.8 MB | ≈ 19 ms | n/a | Cannot draw into a 2D context; pixel round trip |
05 · Direction
Five ways to haunt a video.
A direction is a whole style in one word: the palette, the cuts, the camera, how loud the title is. Pick one and leave the rest to the engine, or override any single decision.
pulsePrecise and quiet. Plain cuts, a dip every fourth boundary, no flash and no plate.
signalWarm and unhurried. A sand accent, dips instead of wipes.
shadowDark and cinematic. A light accent, one dip at the turn, no yellow plate.
typeLoud hook. Plate title, punch-ins, one wipe or flash per four cuts.
driftFigures and charts. Cool accent, footage held still so the numbers read.
cutpunchflashdipswipeCameraholdpushpullTextrisepopstamp06 · Sound
Music that knows when to step back.
The voice is the lead. Long pauses are tightened, the music bed ducks under every word and comes back in the gaps, transition effects sit on the cuts, and the whole mix is measured and brought to the level the platforms play at.
- VoiceLong pauses tightened, captions follow
- Music bedDucked under the voice by a sidechain
- EffectsWhooshes and hits placed on the cuts
- LoudnessTwo-pass: −14 LUFS, −1 dBTP
07 · Render
It renders where you are.
There is no render farm to wait for. The same engine runs on the graphics chip of your computer, on your AI agent's machine with one command, and on our server only when no device can. Measured on a 2019 laptop (i5-9300H, GTX 1650).
| Where | How | Time | Extra cost |
|---|---|---|---|
| Your browser, GPU | WebCodecs, hardware H.264 | About 5 s with the clips already fetched; about 23 s from cold on a 20 Mbit/s line | Included |
| Your browser, fallback | FFmpeg in WebAssembly, multi-threaded | About 36 s | Included |
| Your AI agent's machine | Native FFmpeg, one command | About 100 s, downloads and final check included | Included |
| GhostViral's server | One FFmpeg pass, Node canvas | For Shorts up to 60 s when no device can render | Included |
Agents direct it in numbers.
Over MCP, Claude, ChatGPT or any agent can direct Poltergeist itself: pick a direction, pin a graphic to a phrase, drop a lower third on a name. The engine places everything on the right frame, refuses what it cannot show honestly and says why.
Read the MCP docsset_motion({
projectId,
direction: "shadow",
graphics: [
{ type: "map", cue: "Nome, Alaska",
places: [{ name: "Nome", lat: 64.5, lon: -165.41 }] },
{ type: "stat", value: "674 miles",
cue: "six hundred and seventy-four miles" },
{ type: "lottie", name: "lowerThird",
cue: "Balto led that team in",
text: "Balto", subtext: "The last leg" }
]
})08 · Checks
It watches its own work.
When an agent renders a video, Poltergeist measures the finished file the way a viewer would notice it and reports back before anyone posts it.
The file runs as long as the plan said.
The picture is the planned 1080×1920 or 1920×1080.
Near −14 LUFS, the level platforms play at; no silent or clipping track.
No stretch of black picture.
No stretch where the picture stands still (graphic scenes that are meant to hold are exempt).
09 · Animated stories
It draws the story itself.
With no footage to lean on, Poltergeist draws every scene from the narration and holds each one for as long as its sentence is spoken.
In Animation mode the model writes the drawing code for your subject (an atom, a skyline, a gauge) and the engine runs it frame by frame. Nothing is searched in a stock library.
That code runs in an isolated frame with no network, no storage and no access to your page, and it is stopped if a frame takes longer than a second and a half. If it cannot be used, the built-in artwork draws the story instead.
Every sentence is a scene. The drawing reads the frame where each sentence starts being spoken, taken from the voice's word times, so the picture changes on the line it illustrates.
The engine measures the real voice take. Long silences between sentences are tightened so the story never waits; a short take is slowed by a tenth at most and a long one is sped up by up to 25%. A take too far off is refused and the credits go back, never a cut-off voice.
Requests for weapon-making instructions are refused before and after writing, and the credit is returned.
Spec sheet
Poltergeist 2.0, at a glance.
| Modes | Stock footage directed on the voice · Animated story drawn by code (Beta) |
|---|---|
| Writer | Content Engine: three hooks drafted, one kept; human-voice and platform-safety checks; 32 languages |
| Animation | A four-layer canvas film, one picture per sentence, a camera on every cut, sandboxed and checked frame by frame |
| Frame rate | 30 fps, every frame a pure function of its number |
| Formats | 1080×1920 Shorts (15, 30, 45, 60 s) · 1920×1080 videos (5, 8, 12 min) |
| Directions | 5: pulse, signal, shadow, type, drift |
| Looks | 5: auto, punch, depth (3D type), clean, off |
| Cuts | 5: cut, punch, flash, dip, swipe |
| Camera | hold, push, pull |
| Text animation | rise, pop, stamp |
| Graphic scenes | map, stat, bars, type, list, and canvas (an agent's own code in a sandbox) |
| Animated stories | A drawn story per sentence: model-written canvas code in a sandbox, scene changes on the spoken word, no stock |
| Voice length | Measured take fitted to the chosen length: gaps tightened, up to 10% slower when short, up to 25% faster when long, refunded beyond that |
| Lottie overlays | 13 built-in, 2–7 KB each, placed on a spoken cue |
| Captions | Word-synced, 32 languages |
| Sound | Pauses tightened, music ducked under the voice, −14 LUFS, −1 dBTP |
| Checks | Pacing and story QA before the voice is made, a final check after the render |
| Draw kit | Designable characters (hair, hats, beards, clothes, poses, moods), animals, vehicles, 18 landmarks, skylines, weather, and real Natural Earth maps and globes, inside every model's canvas code |
| References | Wikipedia facts, Openverse photos (commercial licences) and NVIDIA SimReady shapes, researched before a subject is drawn |
| Voices | ElevenLabs, or Kokoro (open source) for the voice |
| Agents | MCP briefs: content_plan, produce_faceless_short, produce_animated_story, direct_motion |
Epilogue
Let the ghost direct your next one.
Type a topic or paste a script. Poltergeist finds the scenes, times them to the voice, draws what helps and renders the file while you watch.
Footage on this page: Pexels. Every frame shown was drawn by Poltergeist over it. Render times are from our own benchmarks on the laptop named above; yours depend on your device and your connection.