NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

OmniLottie: Generating Vector Animations via Parameterized Lottie Tokens

Yiying Yang, Wei Cheng, Sijin Chen, Honghao Fu, Xianfang Zeng, Yujun Cai, Gang Yu, Xingjun Ma

TL;DR

OmniLottie is a novel autoregressive framework that generates high-quality vector animations directly from multi-modal instructions (text, images, or videos). By introducing a specialized Lottie tokenizer that strips away redundant JSON metadata into compact command sequences, it allows pretrained vision-language models (VLMs) to efficiently learn motion and shape priors. Alongside the model, the authors introduce MMLottie-2M, the largest multi-modal vector animation dataset to date, establishing a new state-of-the-art in controllable vector graphics generation.

Figure 1. OmniLottie is a Versatile Auto-regressive Generative Model for High Quality Lottie Animations. With user inputs of interleaved multi-modal instructions, OmniLottie supports tasks including text-to-Lottie, text-image-to-Lottie and video-to-Lottie generation. This broad capability makes it a powerful and flexible solution for a wide range of creative and design-oriented tasks.

What Problem Does This Paper Address?

Vector animations (such as the popular Lottie format) are highly prized in UI/UX design because they are lightweight, infinitely scalable, and easily editable compared to traditional raster videos. However, generating them automatically is incredibly difficult.

Prior approaches typically decouple appearance and motion, trying to animate static SVGs using external video models, which often yields suboptimal visual results. On the other hand, attempting to generate raw Lottie JSON files directly using Large Language Models (LLMs) suffers from extremely low success rates. This is because raw JSON files are bloated with structural formatting tokens and invariant metadata, causing the model to waste its capacity on syntax rather than learning meaningful geometric and motion patterns.

Methods

OmniLottie tackles this challenge by treating vector animation generation as a sequence modeling problem, powered by two key innovations:

  1. The Lottie Tokenizer: Instead of predicting raw JSON text, the authors introduce a tokenizer that flattens Lottie's hierarchical structure into a clean sequence of parameterized function calls (e.g., CMD_ANIMATION, CMD_POINT). It uses an offset-based tokenization scheme to map continuous parameters—such as spatial coordinates, time timestamps, and styles—into discrete, non-overlapping token ranges. This eliminates syntax redundancy and prevents vocabulary conflicts.
  2. Autoregressive VLM Integration: The framework builds upon a pretrained Qwen2.5-VL backbone. The authors expand the VLM's embedding space with the newly defined Lottie tokens. This allows the model to accept interleaved multi-modal inputs and autoregressively predict the animation command sequences using a standard next-token prediction cross-entropy loss.

Datasets

The authors introduce two major data contributions to facilitate research in this space:

  • MMLottie-2M: A massive dataset containing 2 million professionally designed Lottie animations. To overcome data scarcity, the authors cleaned web-crawled animations and developed a motion transfer pipeline. They extracted "motion signatures" from 1 million native files and applied these canonical templates to static SVGs, drastically broadening the dataset's coverage. Each animation is paired with multi-granularity text descriptions, keyframes, and rendered videos.
  • MMLottie-Bench: A comprehensive evaluation protocol featuring a Real Subset (450 artist-designed animations completely disjoint from training) and a Synthetic Subset (generated via GPT-4o, Gemini, and Seedance) to benchmark text-to-Lottie, text-image-to-Lottie, and video-to-Lottie tasks.

Key Insights and Ideas

  • Syntax is the Enemy of Learning: Forcing a generative model to learn strict JSON formatting tokens is highly inefficient. Abstracting the file format into a compact, domain-specific language of commands and parameters allows the model to focus entirely on essential generative content.
  • Leveraging Pretrained VLMs for Graphics: Pretrained VLMs already possess strong spatial-temporal reasoning capabilities from large-scale video-language pretraining. By mapping vector graphics into discrete tokens, these models can seamlessly extend their reasoning to generate structural code.
  • Bridging the Motion Gap: Clustering motion trajectories into reusable templates allows static vector graphic datasets to be automatically upgraded into high-quality animation data, bypassing the need for manual animation efforts.

Key Results

OmniLottie significantly outperforms existing LLMs, VLMs, and commercial tools across all multi-modal generation tasks.

Quantitative Performance

On the Text-to-Lottie Real Subset:

  • Success Rate: OmniLottie achieved a 88.3% success rate, vastly outperforming GPT-5 (12.7%) and DeepSeekV3 (9.3%).
  • Visual Quality & Alignment: It achieved the lowest Fréchet Video Distance (FVD) of 202.14 and the highest Motion Alignment score (5.94 out of 10, judged by Claude-3.5-Sonnet), proving it follows motion instructions much more faithfully than commercial alternatives like Recraft.

For Text-Image-to-Lottie and Video-to-Lottie tasks, OmniLottie maintained a massive lead, achieving a 93.3% and 88.1% success rate respectively, whereas open-source baselines frequently failed completely (0% success rate).

Qualitative Performance

Qualitative evaluations show that OmniLottie generates smooth, visually complex, and semantically accurate animations, while baselines often produce static images, repetitive/glitchy motions, or invalid files.

Qualitative comparison showing OmniLottie successfully generating valid animations across different modalities compared to baselines.

Limitations and Future Work

Despite its strong performance, the authors note a few limitations:

  • Invalid Sequences: Because the model decodes tokens autoregressively, it can still occasionally generate invalid or unrenderable sequences.
  • Complexity Scaling: Generalizing to highly intricate animations with long context lengths remains a challenge.

Future Directions: The authors suggest exploring constrained decoding techniques, reinforcement learning with renderability rewards, and agentic integration with professional software like Adobe After Effects to improve practical utility.

Summary updated

BibTeX
@inproceedings{yang2026omnilottie,
  author = {Yiying Yang and Wei Cheng and Sijin Chen and Honghao Fu and Xianfang Zeng and Yujun Cai and Gang Yu and Xingjun Ma},
  title = {{OmniLottie: Generating Vector Animations via Parameterized Lottie Tokens}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=fYFAPg3Z0F},
}
Figure