ersinkoc/AI-Video-Factory
AI video factory: from one topic to a finished, multilingual YouTube video. Claude agents write, plan, draw and review; a Studio keeps the human in charge.
AI Video Factory is an open-source tool that turns a single topic into a complete, multilingual YouTube video with heavy animation. It uses a team of AI agents (Claude) to write the story, plan shots, design vector art, and even review its own work, while paid media APIs generate voice, images, and video clips. Remotion renders the final cut, and a web-based Studio shows every step so a human can approve or override decisions.
How it works The pipeline runs through stages: style → story → script → approval → cast → concept → approval → voice → shots → keyframes → clips → timeline → render → package → short → review. Each stage is idempotent and saves after every sub-step, so if something fails, it resumes where it stopped.
Four motion modes
vector: Claude-drawn SVG characters on a rig, animated in code (cheapest).still: images with Ken Burns pan/zoom motion.mixed: some shots become AI video clips.animated: every shot becomes an AI video clip.
Quality gate No SVG is used without checks: a planner agent studies reference images, a blind reviewer describes what a drawing shows without knowing its name, and a gate agent scores recognizability and faithfulness. For characters, it also checks that arms, hands, and legs will move naturally. Failed drawings are redrawn with defect lists; if they still fail, they're not used. Key props get one extra try from a simpler brief, or the scenes are replanned without them.
Grounded in reality Real subjects are drawn from Wikipedia/Wikimedia Commons reference images. For real people, photos are measured once (face shape, brows, eyes, etc.) into a likeness sheet; the illustrator draws to it and the gate checks it. The analysis never names the person or infers beyond form/color, and minors are skipped. For objects, public-domain/CC0 vector drawings from Commons are tried first, scaled to real size. Maps and flags are generated from real data (world-atlas, flag-icons), and historical maps use that year's borders from the Cliopatria dataset.
Human has the final say In the Studio, you can accept a drawing the gate rejected, reject one it passed (with a note for the designer), or turn off the reality check for one episode.
64 ready-made style packs Examples: flat explainer, Ottoman miniature, film noir, blueprint, ukiyo-e, synthwave, chalkboard, watercolour, 8-bit pixel, risograph, stained glass, isometric diorama, Byzantine mosaic, Egyptian wall painting, Greek black-figure, Anatolian kilim, ink wash, manga screentone, technical cutaway, whiteboard doodle, plus four 3D-look packs (soft 3D, claymation, vinyl toy, low-poly). In vector mode, 3D packs use real 3D figures built in code with three.js, keeping puppet poses, gestures, and talking mouths. Each pack fixes colors, drawing rules, and line style so episodes look consistent. A texture overlay (paper, watercolour, chalk, halftone, etc.) adds further distinction. In Automatic mode, a cheap agent picks the pack; you can also choose manually or use Custom.
Vector animation that obeys physics Characters are puppets on a rig, moved entirely in code: things on the floor never float, walk steps match distance, held objects stay in hands, and characters appear only once per shot. Gestures have anticipation and overshoot; pointing aims at targets; mouths shape words (lips closed on m/b/p, wide on a, round on o, etc.); eyebrows convey emotion; heads nod; hands turn at the wrist; faces turn realistically; and characters act out narration (typing, writing, clapping, etc.). The camera behaves like a lens with depth of field, screen glow, and slight drift. Rooms get reverse angles, furniture placed from references, and screens/boards show relevant content. Close-ups reframe, insets magnify small objects, and macro inserts handle tiny items. Joint limits come from clinical range-of-motion tables, and a test sweeps every gesture to ensure natural movement.
Additional resources The README links to detailed docs on rendered-video audit, quality workflow, shot intent, claim sources, narration edits, voice stem audit, pronunciation dictionaries, character gallery, typography, archive image inserts, and measured reference direction — all in Turkish (the main README is bilingual).
Sponsor The project is sponsored by WrongStack, a free, open-source AI coding agent, but that's separate from the video factory itself.
Related
- Project
- Project
- Project
- Project