Como fazer animações Lottie com Claude
O Claude faz animações Lottie de dois jeitos: a skill open source text-to-lottie escreve JSON Lottie no Claude Code ou no Codex e mostra uma prévia ao vivo, e o Creator MCP da LottieFiles monta um dotLottie editável no Lottie Creator a partir de um prompt. O acervo do motif reúne seis posts assim de setembro de 2026, quatro deles de criadores independentes.
Escrita com auxílio de IA: este guia foi rascunhado com Claude Opus 5.5, e cada fato tem link para suas fontes.
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.
Qual caminho usar?
| 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 |
Como o text-to-lottie funciona?
Você instala a skill e descreve a animação. O agente prepara um espaço de trabalho com um player em que cada animação é uma cena, salva como um arquivo `lottie.json` em uma pasta própria dentro de `public/projects/`, e o player recarrega enquanto o agente edita, para você percorrer a linha do tempo e pedir mudanças (README do text-to-lottie). O exemplo do próprio README pede ao Claude que revele um path SVG ao longo da sua direção natural, com um gradiente ease-in-out sobre fundo transparente. O resultado pode ser usado diretamente como JSON Lottie ou importado no After Effects para refinamento.
Como escrever o prompt para um bom Lottie?
- Dê uma base concreta ao modelo: forneça SVGs, dados reais ou capturas de tela. Segundo o README, os resultados ficam bem melhores quando a animação parte de assets concretos.
- Use termos de motion design como ease-in, ease-out e ease-in-out para o timing.
- Descreva os movimentos de câmera: aproximações, panorâmicas, zooms e movimentos de rig.
- Peça os controles de que você precisa. Por padrão, a saída costuma expor só um controle de cor de fundo.
- Informe a taxa de quadros e o número total de quadros quando a duração importar.
Essas cinco dicas resumem o guia de prompts do text-to-lottie. Os mesmos hábitos ajudam no Lottie Creator, em que, segundo a LottieFiles, o MCP pode criar camadas, ajustar o timing, gerar variações e rodar verificações de acessibilidade a partir de um único 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.
Como reproduzir o arquivo em um app ou site?
Na web, carregue o JSON com o `lottie.loadAnimation` do lottie-web e um renderizador SVG; no React Native, renderize pelo módulo Skottie do React Native Skia; no iOS e no Android, use o `LottieAnimationView` das bibliotecas Lottie. O README do text-to-lottie mostra cada um desses casos, além do Flutter (README). Para arquivos dotLottie, o player dotlottie-web da LottieFiles está nas bibliotecas do motif.
O que as pessoas já fizeram com Claude e Lottie?
- Filme de lançamento do Nattu: o Opus 5.5 animou o próprio lançamento no Lottie Creator, com "384 partículas, todos keyframes nativos" (22 de setembro de 2026).
- Slides explicativos do Mau: um explicativo sobre o Opus 5.5 feito com o Lottie Creator MCP e editável como arquivo Lottie (23 de setembro de 2026).
- Reel de motion da Kelly: um reel vetorial para o Claude feito com o Lottie Creator MCP (26 de setembro de 2026).
- O one-shot de yaamin: feito "em apenas 10 minutos", com todas as camadas editáveis (23 de setembro de 2026).
- Os testes da própria LottieFiles, uma comparação entre Claude Opus 5.5 e ChatGPT-6 Sol e um conjunto com o Sonnet 5.5, vêm da empresa que faz a ferramenta.
Perguntas
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".
Fontes
- README de 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 no 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