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
Drawn in code · Daniel

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.

  1. 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
  2. 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
  3. 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.

The serum runHistory · Maps · 42 s
Built to be torn downHistory · Characters · 30 s
The longest flightTravel · Globe · 31 s

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.

Poltergeist 2
Poltergeist 1
Poltergeist 1Poltergeist 2

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.

CheckWhat fails it
throwsA beat whose code errors goes back to the writer before anyone renders it.
blankAn empty or one-colour picture fails: every beat needs a world and its own objects.
repeatA beat that looks like the one before fails: every sentence gets its own picture.
stillToo few moving parts fails: in every beat several things move at once.
captionsText 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 cheap
  • So 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.

Voice
Scenes
HookMapNo planeRelay−50°FWhiteout5½ daysBalto & TogoDawn
Overlays
NOME pin674 MILESStamp20 MUSHERSCardsEnd card
“The serum run” as the engine planned it, from Daniel's real voice timings: a scene per sentence, every pin, count-up and stamp on its word.

It 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.

Pacing check
FindingWhat it catchesWhen
repeatThe same clip comes back later in the video.Any repeat
same_clip_cutA cut lands on the same clip, so it shows no new picture.Any
long_holdOne clip stays on screen too long.Over 8 s in a Short, 15 s in a long video
slow_hookThe opening shot outstays the hook.Over 4 s in a Short, 8 s in a long video
photo_hookThe video opens on a still photo.First scene
photo_heavyToo many stills for a moving picture.More than half the clips
loopsA clip shorter than its scene restarts on screen.Any
few_scenesToo 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.

Six frames of the serum run map: the trail drawing on while the mileage counts up to 674
+0.0 s+0.4 s+0.8 s+1.2 s+1.6 s+2.4 s · landed
1

One thing moves at a time.

An element enters in about a third of a second, then holds still while you read it.

2

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.

3

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.

Agents 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.

Alaska map with the serum run trail drawn from Nenana to Nomepin + draw-on
A route that arrives on timePins spring onto their place names; the trail is drawn so its head reaches Nome on the word.
A globe with the Singapore to New York route over the North Poleglobe turn
The real shortest pathAn orthographic Earth from Natural Earth data; the route is a great circle over the pole.
Istanbul skyline at night with 15.000.000+ counted on screencount-up
Numbers land on their wordFifteen million counts up and settles on the frame the narrator says it, in Turkish.
Split screen of Istanbul, morning in Europe and evening in Asiasplit screen
Two sides, one dividerBreakfast in Europe, tea in Asia: one frame, two skies, the strait between them.
A biplane in a snowstorm crossed out by a red stampstamp
A no you can feelScale 2.2 to 1 on a spring with damping 0.38, frost growing in from the edges.
A foldable phone showing the Eiffel Tower at dusk, with a notification belowphone
The film on a phoneAn unbranded foldable that opens on the reveal, with facts arriving as floating notifications.
A before and after wipe: a 1925 cabin and husky against a modern city and a jetcompare
Then, and nowA wipe whose line bends like jelly as it crosses, after Bencho's image compare.
Five landmark cards on a ring, number one at the frontcarousel
A list on a turntableRanked cards on a ring: each beat turns it one step until number one is at the front.
Three suspension bridges drawn across the Bosphorusdraw-on build
Things built as they are saidThree bridges rise one after another, then the tunnels dig under the sea.

Why 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.

Lottie renderers, measured on the library
RendererSizePer frameBrowser vs serverVerdict
Poltergeist player17 KB≈ 1.5 ms0.24%Chosen
lottie-web (canvas)266 KB≈ 2.9 ms2.21%Strokes after fills drew 1 px black in Node
Skottie (canvaskit-wasm)7.8 MB≈ 19 msn/aCannot 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.

pulse

Precise and quiet. Plain cuts, a dip every fourth boundary, no flash and no plate.

signal

Warm and unhurried. A sand accent, dips instead of wipes.

shadow

Dark and cinematic. A light accent, one dip at the turn, no yellow plate.

type

Loud hook. Plate title, punch-ins, one wipe or flash per four cuts.

drift

Figures and charts. Cool accent, footage held still so the numbers read.

CutscutpunchflashdipswipeCameraholdpushpullTextrisepopstamp

06 · 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.

The serum run's mix: the bed drops under every sentence and comes back in the gaps.
  1. VoiceLong pauses tightened, captions follow
  2. Music bedDucked under the voice by a sidechain
  3. EffectsWhooshes and hits placed on the cuts
  4. 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 a 30 s 1080×1920 Short renders
WhereHowTimeExtra cost
Your browser, GPUWebCodecs, hardware H.264About 5 s with the clips already fetched; about 23 s from cold on a 20 Mbit/s lineIncluded
Your browser, fallbackFFmpeg in WebAssembly, multi-threadedAbout 36 sIncluded
Your AI agent's machineNative FFmpeg, one commandAbout 100 s, downloads and final check includedIncluded
GhostViral's serverOne FFmpeg pass, Node canvasFor Shorts up to 60 s when no device can renderIncluded

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 docs
set_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.

Length

The file runs as long as the plan said.

Size

The picture is the planned 1080×1920 or 1920×1080.

Loudness

Near −14 LUFS, the level platforms play at; no silent or clipping track.

Black frames

No stretch of black picture.

Frozen 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.

Drawn by code, not clips

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.

Sealed in a sandbox

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.

Scenes follow the voice

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 length you chose is the length you get

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 it will not draw

Requests for weapon-making instructions are refused before and after writing, and the credit is returned.

Spec sheet

Poltergeist 2.0, at a glance.

ModesStock footage directed on the voice · Animated story drawn by code (Beta)
WriterContent Engine: three hooks drafted, one kept; human-voice and platform-safety checks; 32 languages
AnimationA four-layer canvas film, one picture per sentence, a camera on every cut, sandboxed and checked frame by frame
Frame rate30 fps, every frame a pure function of its number
Formats1080×1920 Shorts (15, 30, 45, 60 s) · 1920×1080 videos (5, 8, 12 min)
Directions5: pulse, signal, shadow, type, drift
Looks5: auto, punch, depth (3D type), clean, off
Cuts5: cut, punch, flash, dip, swipe
Camerahold, push, pull
Text animationrise, pop, stamp
Graphic scenesmap, stat, bars, type, list, and canvas (an agent's own code in a sandbox)
Animated storiesA drawn story per sentence: model-written canvas code in a sandbox, scene changes on the spoken word, no stock
Voice lengthMeasured take fitted to the chosen length: gaps tightened, up to 10% slower when short, up to 25% faster when long, refunded beyond that
Lottie overlays13 built-in, 2–7 KB each, placed on a spoken cue
CaptionsWord-synced, 32 languages
SoundPauses tightened, music ducked under the voice, −14 LUFS, −1 dBTP
ChecksPacing and story QA before the voice is made, a final check after the render
Draw kitDesignable 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
ReferencesWikipedia facts, Openverse photos (commercial licences) and NVIDIA SimReady shapes, researched before a subject is drawn
VoicesElevenLabs, or Kokoro (open source) for the voice
AgentsMCP 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.