Text-To-Lottie
Open-source agent skill and preview harness for generating production-ready Lottie animations with Codex or Claude Code.
What is Text-To-Lottie?
Text-To-Lottie is an open-source skill and harness from Diffusion Studio for generating Lottie animations with AI coding agents. The project includes a Skia CanvasKit / Skottie player, React + TypeScript controls, and a workflow where the agent writes `public/lottie.json` while the dev server hot-reloads the animation.
Agent-ready skill install
The project can be added with `npx skills add diffusionstudio/lottie` and used through the `text-to-lottie` skill.
A skill install path makes it easier for Codex, Claude Code, and similar agents to reuse the workflow without manual prompt setup.Live Lottie preview loop
The harness watches `public/lottie.json` and hot-reloads the generated animation in a local player.
Motion assets need visual feedback. A live loop lets the agent and human reviewer iterate quickly.Skottie-based rendering
The preview player uses Skia CanvasKit / Skottie to render Lottie animations in the browser.
Using a real Lottie renderer helps catch animation JSON issues before assets move into product.What Text-To-Lottie is built for
Product motion assets
Generate lightweight onboarding, empty-state, loading, or feature-highlight animations for web and app interfaces.
Agent creative production
Give a coding agent a repeatable workflow for creating structured Lottie JSON rather than static prompts.
Animation prototyping
Use the local preview harness to rapidly test and refine Lottie concepts before handing them to design or engineering.
Get started in seconds
npx skills add diffusionstudio/lottie npm install && npm run dev How it stacks up
Choose Text-To-Lottie for agent-authored motion
vs Manual Lottie editingManual editors are better for precise timeline work. Text-To-Lottie is better when a coding agent should generate and revise animation JSON inside a local preview loop.
Frequently asked questions
Is Text-To-Lottie open source?
Yes. The GitHub repository is listed under the MIT license.
What does the skill generate?
The workflow is designed around generating Lottie JSON, especially `public/lottie.json`, and previewing it live in the included local harness.
Who should evaluate Text-To-Lottie?
Teams using Codex, Claude Code, or similar coding agents to produce product motion assets should evaluate it.