# Animation Machine
> Convert HTML animations and video files into MP4 or GIF. Add music, voiceover, captions, logo, and intro/outro cards. Up to 4K resolution. $5/month (or $36/year) for unlimited renders. Free watermarked test render, no card required.
Animation Machine is a web-based SaaS tool that takes HTML animations (Claude Design, Lottie, GSAP, CSS) or existing video files and produces polished MP4 / GIF output ready for social media, presentations, ads, and portfolios. The speech/voice/OCR AI features (auto-captions via Whisper, voiceover via Kokoro TTS, on-screen-text OCR via Tesseract) run locally on the server — no third-party API costs, no user audio or video leaves the box.
## Inputs accepted
- ZIP bundle from Claude Design, Lottie, GSAP, or CSS animation tools
- Standalone HTML file with self-contained animation code
- Video files: MP4, MOV, M4V, WebM (the "add music to my video" flow)
- Batch upload: up to 3 files at once, rendered as a queue
## Output formats
- MP4 (H.264 default, H.265/HEVC available with hvc1 tag for QuickTime/Safari)
- GIF (2-pass palette, 640px wide, 15fps)
- MP3 / M4A audio-only export (Pro Editor)
- Resolutions: 720p, 1080p, 4K (3840×2160), 1080×1920 portrait, 1080×1080 square
- Frame rates: 24 / 30 / 60 fps
- CRF quality: Draft (26) / Standard (20) / High (16) / Max (12)
## Audio features
- Background music: 500,000 free CC0 tracks searchable via mood pills (Cinematic, Upbeat, Lo-fi, Corporate, Dramatic, Ambient, Playful, Epic, Chill) or custom keyword. Falls back to a curated catalog when the live service is down. User-uploaded audio supported (MP3 / M4A / WAV / AAC / FLAC).
- Voiceover: Kokoro v1.0 (StyleTTS2 architecture, ONNX) running locally. 14 voices: 5 American female, 4 American male, 3 British female, 2 British male. Up to 500-character scripts.
- Auto-ducking: when both voiceover and background music are present, music is automatically ducked under speech via FFmpeg sidechaincompress (threshold=0.05, ratio=8, attack=10ms, release=200ms).
- Loudness normalization (EBU R128 loudnorm) so exports don't come out quiet or clipping.
- "Pull script from video": OCR the on-screen text from a source video and pre-fill the voiceover textarea — useful for re-narrating existing footage.
## Captions
- Auto-captions via local Whisper.cpp (small.en model). When a render has audible speech, transcribed and burned in via FFmpeg subtitles filter (libass).
- OCR fallback: when Whisper finds no usable speech (animation with on-screen text but no narration), falls through to Tesseract OCR on the rendered frames and uses the on-screen text as captions instead.
- 7 caption styles: Word-by-word (viral karaoke style, one word at a time), Subtle (small bottom-center), Bold (TikTok-style large white), Cinematic (italic, raised margin), Block (semi-opaque background pill), Neon, Yellow. All scale across 720p / 1080p / 4K.
- Caption translation into 16 languages (free): captions can be transcribed in English and burned in as translated subtitles.
## Pro Editor (https://animation-machine.com/editor)
A multi-scene timeline editor included in the subscription — no separate tier:
- Up to 10 clips assembled in sequence, each with its own per-scene settings; live client-side preview.
- Timeline: proportional clip blocks, drag-to-reorder, trim/slip, chapter markers, clip speed 0.25–4×.
- Clip-audio lane (volume / mute / replace / trim) and a separate background-music lane with preview playback.
- Video track over audio: audio clips (podcasts, voiceover) can get looped background video (stock or uploaded).
- Intro/outro title cards, stock video/music pickers with orientation + duration filters.
- Variationizer: render 3 A/B variations of the same video (different hooks / music / captions) in one pass.
- "Make it a Short": one click converts any render to vertical 9:16 with crop-to-fill and word-by-word captions.
## AI assistant features (free, built in, powered by Google Gemini)
- AI Post Kit: platform-ready title, description, hashtags, and hook copy generated from the video content.
- Best-Short auto-highlight: finds the strongest segment of a long video for a Short/Reel.
- Auto-chapters, silence removal suggestions, and hook ideas in the editor's ✨ AI tab.
- Scene-aware AI scriptwriter: drafts a voiceover script from what's actually on screen.
## Branding tools
- Logo / watermark overlay: drop an image, pick a corner (TL/TR/BL/BR), set size 5–40% of video width, set opacity 20–100%. Composited via FFmpeg overlay+colorchannelmixer.
- Intro card and outro card: title + optional subtitle on a dark background, prepended/appended to the video. 3–8 second duration. Font sizes auto-fit the canvas width.
## Workflows
- One-click platform presets: TikTok / Reels / YouTube Shorts / YouTube / Instagram / Twitter. Each preset bundles aspect ratio + crop-to-fill + appropriate CRF / fps / codec.
- Bulk export: select multiple platform presets to render once each — one render per platform with shared music / voiceover / logo / captions.
- Smart aspect detection: dropping a portrait file pulses the matching platform preset to nudge users to one-click flows.
- Re-render with same settings + retry on error buttons preserve the entire setup so power users can iterate quickly.
- Shareable render links: every finished render gets an unlisted share page with player + OG preview.
## MCP server for AI agents
Remote MCP server at https://animation-machine.com/mcp (Streamable HTTP; OAuth 2.1 with dynamic client registration or client ID metadata documents, or a personal API key as a Bearer token). AI agents (Claude, ChatGPT, Cursor, Claude Code…) can render HTML animations they write to MP4/GIF, finish videos with music / AI voiceover / captions / title cards, render ready-made templates (title card, lower third, quote, stat counter), preview a still frame, and write social Post Kits. Subscribers only; one job at a time per account; HTML ≤60s, GIF ≤15s, video ≤3 min, ≤1080p. Setup: https://animation-machine.com/mcp-server
## URLs
- [App](https://animation-machine.com): Main upload/render app
- [Pro Editor](https://animation-machine.com/editor): Multi-scene timeline editor
- [MCP server for AI agents](https://animation-machine.com/mcp-server): Connect Claude, ChatGPT or Cursor
- [MCP server documentation (Markdown, for agents)](https://animation-machine.com/docs/mcp.md): every tool, parameter, auth flow and limit
- [MCP server card](https://animation-machine.com/.well-known/mcp/server-card.json)
- [How to make videos with Claude](https://animation-machine.com/make-videos-with-claude)
- [Make videos with ChatGPT](https://animation-machine.com/chatgpt-video-maker)
- [Add music to video flow](https://animation-machine.com/add-music-to-video)
- [Add captions to video flow](https://animation-machine.com/add-captions-to-video)
- [Add voiceover to video flow](https://animation-machine.com/add-voiceover-to-video)
- [Add watermark to video flow](https://animation-machine.com/add-watermark-to-video)
- [Claude Design to MP4](https://animation-machine.com/claude-design-to-mp4)
- [Lottie to MP4](https://animation-machine.com/lottie-to-mp4)
- [GSAP to MP4](https://animation-machine.com/gsap-to-mp4)
- [CSS animation to MP4](https://animation-machine.com/css-animation-to-mp4)
- [Three.js / WebGL to MP4](https://animation-machine.com/three-js-to-mp4)
- [p5.js to MP4](https://animation-machine.com/p5js-to-mp4)
- [SVG animation to MP4](https://animation-machine.com/svg-animation-to-mp4)
- [HTML5 Canvas to MP4](https://animation-machine.com/canvas-animation-to-mp4)
- [Anime.js to MP4](https://animation-machine.com/anime-js-to-mp4)
- [D3.js to MP4](https://animation-machine.com/d3-animation-to-mp4)
- [Jitter to MP4](https://animation-machine.com/jitter-to-mp4)
- [HTML to GIF](https://animation-machine.com/html-animation-to-gif)
- [Animation with music](https://animation-machine.com/animation-with-music)
- [Animation for Instagram](https://animation-machine.com/animation-for-instagram)
- [Animation for TikTok](https://animation-machine.com/animation-for-tiktok)
- [Animation for presentations](https://animation-machine.com/animation-for-presentations)
- [Framer to MP4](https://animation-machine.com/framer-to-mp4)
- [Rive to MP4](https://animation-machine.com/rive-to-mp4)
- [Spline to MP4](https://animation-machine.com/spline-to-mp4)
- [Lottie to GIF](https://animation-machine.com/lottie-to-gif)
- [MOV to MP4](https://animation-machine.com/mov-to-mp4)
- [WebM to MP4](https://animation-machine.com/webm-to-mp4)
- [MP4 to GIF](https://animation-machine.com/mp4-to-gif)
- [Video to GIF](https://animation-machine.com/video-to-gif)
- [Add text to video](https://animation-machine.com/add-text-to-video)
- [Add intro to video](https://animation-machine.com/add-intro-to-video)
- [Add outro to video](https://animation-machine.com/add-outro-to-video)
- [Pricing](https://animation-machine.com/pricing)
- [vs CloudConvert](https://animation-machine.com/vs/cloudconvert)
- [vs EZGIF](https://animation-machine.com/vs/ezgif)
- [vs VEED](https://animation-machine.com/vs/veed)
- [vs Kapwing](https://animation-machine.com/vs/kapwing)
- [vs CapCut](https://animation-machine.com/vs/capcut)
- [vs Descript](https://animation-machine.com/vs/descript)
- [Articles](https://animation-machine.com/articles): Tutorials, tips, comparisons
- [Sitemap](https://animation-machine.com/sitemap.xml)
## Pricing
$5/month subscription via Stripe, or $36/year (works out to $3/month). Unlimited renders, Pro Editor included. Cancel anytime. No per-export fees, no length cap, no watermarks on paid plans. One free watermarked test render before subscribing — no credit card required. Pay-per-render credits ($1/render) available for occasional use.
## Disclaimer
Content is for educational purposes. Animation Machine is an independent product. Speech, voice, and OCR AI features run on a CPU-only Hetzner VPS — no user audio or video is sent to third-party services for processing.