Come creare animazioni Lottie con Claude
Claude crea animazioni Lottie in due modi: la skill open source text-to-lottie scrive JSON Lottie in Claude Code o Codex e lo mostra in anteprima dal vivo, mentre il Creator MCP di LottieFiles costruisce da un prompt un dotLottie modificabile in Lottie Creator. L’archivio di motif contiene sei post di questo tipo, tutti di settembre 2026, quattro dei quali di creator indipendenti.
Scrittura assistita dall’AI: questa guida è stata redatta con Claude Opus 5.5 e ogni dato rimanda alle sue fonti.
Checked 2026-11-12. A Lottie is a small vector animation file that a player draws inside an app or web page, so it scales to any size and can loop or react to state. Claude does not export one by itself, but two routes give you a real Lottie file: a skill for coding agents and an MCP connection to LottieFiles' editor. motif's archive has six posts made the second way, all from September 2026, and none yet from the first.
Quale strada scegliere?
| Route | What you get | Runs in | Licence or plan | How to start |
|---|---|---|---|---|
| text-to-lottie by Diffusion Studio | Lottie JSON scenes, shown in a bundled player that updates while the agent edits | Claude Code, Codex or another agent that supports skills | MIT, free (5,708 stars, last pushed 2026-07-25) | `npx skills add diffusionstudio/lottie`, then ask for an animation using `text-to-lottie` |
| Lottie Creator MCP by LottieFiles | A dotLottie file built as editable layers in Lottie Creator; since 2026-11-10 also an MP4 (H.264) or WebM with alpha through a queued render | Claude, Cursor, Codex or another MCP client | Needs a LottieFiles sign-in; the announcements state no plan requirement | Claude Code: `claude mcp add --transport http creator-mcp https://creator-mcp.lottiefiles.com/mcp`, then sign in with LottieFiles |
| Claude Motion or a code route | An MP4 video, not a Lottie | Claude app, Claude Code | See that guide | Use this when the result is for social video, not for an app |
Come funziona text-to-lottie?
Installi la skill, poi descrivi l’animazione. L’agente prepara uno spazio di lavoro con un player in cui ogni animazione è una scena, salvata come file `lottie.json` in una cartella propria sotto `public/projects/`, e il player si ricarica mentre l’agente modifica, così puoi scorrere la timeline e chiedere modifiche (README di text-to-lottie). L’esempio del README chiede a Claude di rivelare un tracciato SVG lungo la sua direzione naturale, con un gradiente in ease-in-out su sfondo trasparente. Il risultato si può usare direttamente come JSON Lottie oppure importare in After Effects per rifinirlo.
Come scrivere il prompt per un buon Lottie?
- Dai al modello basi concrete: forniscigli SVG, dati reali o screenshot. Il README dice che i risultati sono nettamente migliori quando l’animazione parte da asset concreti.
- Usa i termini del motion design come ease-in, ease-out ed ease-in-out per i tempi.
- Descrivi i movimenti di camera: carrellate in avanti, panoramiche, zoom e movimenti da rig.
- Chiedi i controlli che ti servono. Di default l’output di solito espone solo un controllo per il colore di sfondo.
- Indica il frame rate e il numero totale di fotogrammi quando la durata conta.
Questi cinque consigli riassumono la guida ai prompt di text-to-lottie. Le stesse abitudini aiutano con Lottie Creator, dove secondo LottieFiles l’MCP può creare livelli, regolare i tempi, generare varianti ed eseguire controlli di accessibilità a partire da un solo prompt (LottieFiles).
Not every route uses Claude. LottieFiles also launched Lottie AI on 9 November 2026, a standalone text-to-Lottie generator with its own Turbo and Quality modes; its announcement does not mention Claude.
Come si riproduce il file in un’app o su un sito?
Sul web, carica il JSON con `lottie.loadAnimation` di lottie-web e un renderer SVG; in React Native, mostralo con il modulo Skottie di React Native Skia; su iOS e Android, usa `LottieAnimationView` delle librerie Lottie. Il README di text-to-lottie mostra ciascuno di questi casi, più Flutter (README). Per i file dotLottie, il player dotlottie-web di LottieFiles è elencato tra le librerie di motif.
Cosa è stato creato con Claude e Lottie?
- Il film di lancio di Nattu: Opus 5.5 ha animato il proprio lancio in Lottie Creator, “384 particelle, tutte con keyframe nativi” (22 settembre 2026).
- Le slide esplicative di Mau: un explainer realizzato con Opus 5.5 tramite il Lottie Creator MCP e modificabile come file Lottie (23 settembre 2026).
- Il motion reel di Kelly: un reel vettoriale per Claude realizzato con il Lottie Creator MCP (26 settembre 2026).
- L’animazione al primo colpo di yaamin: realizzata “in soli 10 minuti”, con ogni livello modificabile (23 settembre 2026).
- I test di LottieFiles stessa, un confronto tra Claude Opus 5.5 e ChatGPT-6 Sol e una serie con Sonnet 5.5, vengono dal produttore dello strumento.
Domande
Can Claude make Lottie animations?
Yes, through a skill or an MCP. The text-to-lottie skill writes Lottie JSON in Claude Code or Codex (text-to-lottie), and the Lottie Creator MCP lets Claude build a dotLottie in LottieFiles' editor (LottieFiles).
Is text-to-lottie free?
Yes. The repository is MIT-licensed and installs with `npx skills add diffusionstudio/lottie`; it needs no paid API (text-to-lottie). It runs in your coding agent, so your Claude plan limits still apply.
Can I edit the Lottie afterwards?
Yes. text-to-lottie output can be imported into After Effects, and files made through the Lottie Creator MCP are built from editable layers in Lottie Creator (text-to-lottie, LottieFiles).
Should I use Lottie or MP4?
Use Lottie for animation inside a product (loaders, icons, onboarding, empty states) and MP4 for posting a video. Claude Motion exports MP4 only, on Team and Enterprise plans; the Lottie Creator MCP can export both a Lottie and, since 10 November 2026, an MP4 or WebM.
Is the Lottie Creator MCP local or remote?
Remote since 10 November 2026. LottieFiles now lists a hosted server at creator-mcp.lottiefiles.com/mcp that you add to Claude Code with `claude mcp add --transport http` and sign in to; its docs no longer describe the local npx package. LottieFiles' earlier announcement described a local bridge that showed "Local MCP bridge connected".
Fonti
- README di diffusionstudio/lottie (text-to-lottie)
- LottieFiles: Your AI can now control Lottie Creator (2026-04-15)
- LottieFiles/dotlottie-web
- airbnb/lottie-web
- Claude Help Center: Get started with Claude Motion
- @reallynattu su X (2026-09-22)
- LottieFiles: Creator MCP, the motion engine for AI agents (2026-11-10)
- LottieFiles: What is Lottie AI (2026-11-09)
- LottieFiles docs: MCP