fframes

A programmatic video rendering framework in Rust — compose videos in code, preview in real time, render fast.

Visit website

Overview

Writing thousands of lines of code for a single video is nobody's idea of a good time — but hand-animating every frame is worse. fframes renders videos from code, built so an AI agent can do the tedious part while you watch the result in real time.

Videos, composed like software. Every frame is an SVG tree returned by a Rust function, animations are declared on a timeline with easing, and the preview scrubs like a video editor. The project reports rendering over 30× faster than Remotion, and an agent skill lets your coding agent build the video.

What it does

  • Code-first video — implement a Video, set FPS and size, return an SVG tree per frame
  • Declarative animation — timelines and easing describe motion, no hand keyframing
  • Real-time preview — a filmstrip timeline to scrub, pause, and inspect any frame
  • GPU rendering — Skia draws each scene on Metal or Vulkan, with a CPU fallback
  • Agent-ready — an fframes-video skill teaches your AI agent to build videos

How it runs

Free and open source (MIT). It needs Rust, plus Node.js for the editor; macOS and Linux builds include prebuilt FFmpeg, and Windows links a prebuilt FFmpeg 9.0.

Who it is for

Developers — and the agents they work with — who want launch videos, podcast visuals, or TikTok clips generated from code instead of assembled by hand.

  • Your coding agent directs your launch video

    Video Generation
  • An open-source AI video agent you can watch and edit in a studio

    Video Generation
  • Up to 30 seconds of 1080p video with synchronized sound, generated in a single pass — $0.08 a second via Sand AI's API.

    Video Generation