What do you want to do?
4 use cases
-
Render a title card to MP4 from TypeScript
Write one TypeScript file that builds a 1080p60 title card and renders it to a hardware-encoded MP4.
- Framefields
- Claude Code
- Codex
- Cursor
- Content
- Intermediate
View prompt
Using the framefields repo, write a TypeScript script that builds a 1920x1080, 60 fps composition with a title card reading <title text>, renders it with renderVideo to output/<file name>.mp4, and runs it. Expected output: an MP4 at that path. Verify the file exists and that the printed Rendered to path matches it.
-
Teach a coding agent to author Framefields videos
Install the Framefields agent skills so Claude Code, Cursor, or Codex can write and render compositions.
- Framefields
- Claude Code
- Codex
- Cursor
- Content
- Intermediate
View prompt
Install the framefields agent skills from the gatewai-dev/framefields repo, then create a 3 second 1080p composition in <project folder> with the headline <headline text> and render it to output/<name>.mp4. Expected output: a rendered MP4 file. Verify the file exists and that the composition code imports from framefields.
-
Build beat-synced motion graphics for a short video
Use BeatGrids and LayerAnimation to time text and shape motion to the beat of a music track.
- Framefields
- Claude Code
- Codex
- Cursor
- Content
- Intermediate
View prompt
In the framefields repo, build a composition that places text from <lyrics or headline list> on the beats of <audio file>, animating each entrance with LayerAnimation, and render it to output/<name>.mp4. Expected output: an MP4 whose text moves start on beat frames. Verify by checking the BeatGrid timestamps against the keyframe start frames.
-
Render a glTF model in a lit 3D scene
Load a glTF or GLB model into a Framefields 3D scene with a LookAt camera and render it to MP4.
- Framefields
- Claude Code
- Codex
- Cursor
- Content
- Advanced
View prompt
In the framefields repo, create a composition that loads <model file>.glb into a 3D scene with a LookAt camera and studio lighting, and render it to output/<name>.mp4. Expected output: an MP4 of the model. Verify the file exists and that the model is visible in the first and last frames.
How to use Framefields
- Check you have what it needs: Node.js 22 or newer; pnpm, to run `pnpm add framefields`; A GPU with WebGPU support (macOS Metal, Linux Vulkan, or Windows D3D12).
- Open gatewai-dev/framefields on GitHub and read the README and license.
- Confirm Node.js 22 or newer is installed and that your machine has a WebGPU-capable GPU.
- Run
pnpm add framefields - Create a script that builds a Composition with width 1920, height 1080, fps 60, and a Layer.box with Layer.text children, following the README quickstart.
- Add a LayerAnimation with fadeIn and fromTo entries, then call comp.renderVideo with outputPath set to output/hero.mp4 and quality set to high.
These steps come from our top use case, Render a title card to MP4 from TypeScript, which also has a copy-paste agent prompt.
Get 5 new use cases every morning. Free, one short email, unsubscribe anytime.
Get them freeAbout this repo
- Who it is forDevelopers and coding-agent users who want to generate motion graphics or short videos from TypeScript code instead of desktop editing software.
- Why it is hot
- LanguageTypeScript
- Sourcegithub.com/gatewai-dev/framefields · Back to Hot repos
Requirements
- Node.js 22 or newer
- pnpm, to run `pnpm add framefields`
- A GPU with WebGPU support (macOS Metal, Linux Vulkan, or Windows D3D12)
- A coding agent such as Claude Code, Cursor, or Codex, if you want the agent to write the composition
Maintain Framefields? Add the Featured on Deduped badge
Paste this into your README:
[](https://dedupedai.com/use-cases/gatewai-dev-framefields/?ref=badge)
Questions about Framefields
What is Framefields?
Framefields is an Apache-2.0 TypeScript npm package that lets code and AI agents build compositing, motion graphics, and 3D video, then render it to MP4 directly on the GPU through WebGPU. It is an open-source project on GitHub: https://github.com/gatewai-dev/framefields.
Who is Framefields for?
Developers and coding-agent users who want to generate motion graphics or short videos from TypeScript code instead of desktop editing software.
What can I do with Framefields?
4 use cases so far, for example: Render a title card to MP4 from TypeScript; Teach a coding agent to author Framefields videos; Build beat-synced motion graphics for a short video. Each has steps and a copy-paste agent prompt.
What do I need to run Framefields?
Node.js 22 or newer; pnpm, to run `pnpm add framefields`; A GPU with WebGPU support (macOS Metal, Linux Vulkan, or Windows D3D12); A coding agent such as Claude Code, Cursor, or Codex, if you want the agent to write the composition.
What are alternatives to Framefields?
Other hot AI repos in Content: Voice Studio, Anatomy, Comfy UI, Hyperframes, Earshot.
Is Framefields safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.