LottieGPT: Tokenizing Vector Animation for Autoregressive Generation
Paper • 2604.11792 • Published
caption string | category string | collection string | color_palette string | complexity string | duration float64 | frame_rate int64 | height int64 | id string | instruction string | lottie_json string | lottie_tokens string | stroke_width float64 | style string | token_count int64 | total_frames int64 | width int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A stylized SIM card icon with black outline and turquoise internal elements animates, with the turquoise inner rectangle first briefly changing shape then returning to its original rectangular form. | Icon | Canonical Line Icon Collection (16px Stroke) | #0F172A | Simple | 2 | 30 | 512 | 5909222 | You are a helpful Lottie animation Generator. You output animations in compressed token format using special tokens. You never output JSON format. Generate Lottie animation with uniform line style based on: "A stylized SIM card icon with black outline and turquoise internal elements animates, with the turquoise inner r... | {"assets":[],"fr":30,"h":512,"ip":0,"layers":[{"ip":0,"ks":{"a":{"a":0,"k":[242.79,197.84,0]},"o":{"a":0,"k":100},"p":{"a":0,"k":[165.39,266.1,0.0]},"r":{"a":0,"k":0},"s":{"a":0,"k":[100,100,100]}},"op":150.0,"parent":3,"shapes":[{"it":[{"ks":{"a":0,"k":{"c":true,"i":[[0,0],[0,0],[0,-22.39],[0,0],[22.39,0],[0,0],[0,22.... | <|M|><|v|>"5.6.8"<|fr|>30<|ip|>0<|op|>60<|w|>512<|h|>512<|ddd|>0<|LAYER|><|ty|>4<|ip|>0<|op|>150<|st|>0<|bm|>0<|LAYER_KS|><|Tr|><|P|>165.39 266.1 0<|A|>242.79 197.84 0<|S|>100 100 100<|R|>0<|O|>100<|LAYER_SHAPES|><|ITEM_gr|><|ITEM_sh|><|KS_STATIC|><|i|>0 0 0 0 0 -22.39 0 0 22.39 0 0 0 0 22.39 0 0 -22.39 0 <|o|>0 0 22.3... | 16 | Line (Uniform Canonical 16px Stroke) | 254 | 60 | 512 |
A black outlined five-pointed star remains static against a plain white background throughout the animation. | Icon | Canonical Line Icon Collection (16px Stroke) | #0F172A | Simple | 1.13 | 30 | 512 | 3628396 | You are a helpful Lottie animation Generator. You output animations in compressed token format using special tokens. You never output JSON format. Generate Lottie animation with uniform line style based on: "A black outlined five-pointed star remains static against a plain white background throughout the animation." | {"assets":[],"fr":30,"h":512,"ip":0,"layers":[{"ip":0,"ks":{"a":{"a":0,"k":[177.5,171.5,0],"l":2},"o":{"a":0,"k":100},"p":{"a":0,"k":[255.2,255.2,0.0],"l":2},"r":{"a":0,"k":0},"s":{"a":1,"k":[{"i":{"x":[0.83,0.83,0.83],"y":[0.83,0.83,1.41]},"o":{"x":[0.33,0.33,0.33],"y":[0,0,0]},"s":[100,100,100],"t":0},{"i":{"x":[0.67... | <|M|><|v|>"5.7.11"<|fr|>30<|ip|>0<|op|>34<|w|>512<|h|>512<|ddd|>0<|LAYER|><|ty|>4<|ip|>0<|op|>34<|st|>0<|bm|>0<|LAYER_KS|><|Tr|><|P|>255.2 255.2 0<|A|>177.5 171.5 0<|PROP_ANIMATED|><|S|><|PROP_KF_START|><|t|>0 100 100 100<|ease|>0.33 0 0.83 0.83<|t|>10 79 79 100<|ease|>0.33 0 0.67 1<|t|>15 110 110 100<|ease|>0.33 0 0.6... | 16 | Line (Uniform Canonical 16px Stroke) | 89 | 34 | 512 |
A minimalist gray line animation depicts a monitor with a fluctuating waveform on its screen, followed by two connected probes extending downward from its lower left, all set against a plain white background. | Icon | Canonical Line Icon Collection (16px Stroke) | #0F172A | Medium | 2.17 | 30 | 512 | 10183489 | You are a helpful Lottie animation Generator. You output animations in compressed token format using special tokens. You never output JSON format. Generate Lottie animation with uniform line style based on: "A minimalist gray line animation depicts a monitor with a fluctuating waveform on its screen, followed by two co... | {"assets":[],"fr":30,"h":512,"ip":0,"layers":[{"ct":1,"ip":0,"ks":{"a":{"a":0,"k":[356,686,0],"l":2},"o":{"a":1,"k":[{"i":{"x":[0.83],"y":[0.83]},"o":{"x":[0.17],"y":[0.17]},"s":[0],"t":30},{"s":[100],"t":35.0}]},"p":{"a":1,"k":[{"i":{"x":0.83,"y":0.83},"o":{"x":0.17,"y":0.17},"s":[396,699,0],"t":30,"ti":[0,-4.5,0],"to... | <|M|><|v|>"5.12.2"<|fr|>30<|ip|>0<|op|>65<|w|>512<|h|>512<|ddd|>0<|LAYER|><|ty|>4<|ip|>0<|op|>65<|st|>0<|bm|>0<|LAYER_KS|><|Tr|><|PROP_ANIMATED|><|P|><|PROP_KF_START|><|t|>30 396 699 0<|ease|>0.33 0 0.67 1<|t|>40 396 726 0<|PROP_KF_END|><|A|>356 686 0<|S|>100 100 100<|R|>0<|PROP_ANIMATED|><|O|><|PROP_KF_START|><|t|>30 ... | 16 | Line (Uniform Canonical 16px Stroke) | 638 | 65 | 512 |
A black line-drawn hand holds a white sheet of paper that rotates, displaying an 'A+' grade and a signature on a plain white background. | Icon | Canonical Line Icon Collection (16px Stroke) | #0F172A | Medium | 2.03 | 30 | 512 | 10796989 | You are a helpful Lottie animation Generator. You output animations in compressed token format using special tokens. You never output JSON format. Generate Lottie animation with uniform line style based on: "A black line-drawn hand holds a white sheet of paper that rotates, displaying an 'A+' grade and a signature on a... | {"assets":[],"fr":30,"h":512,"ip":0,"layers":[{"ip":0,"ks":{"a":{"a":0,"k":[50,50,0],"l":2},"o":{"a":0,"k":0},"p":{"a":0,"k":[256.0,256.0,0.0],"l":2},"r":{"a":0,"k":0},"s":{"a":0,"k":[100,100,100],"l":2}},"op":120,"st":0,"ty":3},{"ct":1,"ef":[{"ef":[{"ty":7,"v":{"a":0,"k":0}},{"ty":7,"v":{"a":0,"k":0}},{"ty":7,"v":{"a"... | <|M|><|v|>"5.12.1"<|fr|>30<|ip|>0<|op|>61<|w|>512<|h|>512<|ddd|>0<|LAYER|><|ty|>3<|ip|>0<|op|>120<|st|>0<|bm|>0<|LAYER_KS|><|Tr|><|P|>256 256 0<|A|>50 50 0<|S|>100 100 100<|R|>0<|O|>0<|LAYER|><|ty|>4<|ip|>0<|op|>120<|st|>0<|bm|>0<|LAYER_KS|><|Tr|><|P|>256 256 0<|A|>128 128 0<|S|>100 100 100<|R|>0<|O|>100<|LAYER_SHAPES|... | 16 | Line (Uniform Canonical 16px Stroke) | 861 | 61 | 512 |
A black equalizer icon with six vertical sliders, three of which have horizontal bars, animates by shifting the horizontal bars of the left and right sliders upward and downward while the middle sliders remain stationary, set against a plain white background. | Icon | Canonical Line Icon Collection (16px Stroke) | #0F172A | Simple | 1.5 | 30 | 512 | 10995659 | You are a helpful Lottie animation Generator. You output animations in compressed token format using special tokens. You never output JSON format. Generate Lottie animation with uniform line style based on: "A black equalizer icon with six vertical sliders, three of which have horizontal bars, animates by shifting the ... | {"assets":[],"fr":30,"h":512,"ip":0,"layers":[{"ip":0,"ks":{"a":{"a":0,"k":[50,50,0],"l":2},"o":{"a":0,"k":100},"p":{"a":0,"k":[256.0,256.0,0.0],"l":2},"r":{"a":0,"k":0},"s":{"a":1,"k":[{"i":{"x":[0.67,0.67,0.67],"y":[1,1,1]},"o":{"x":[0.33,0.33,0.33],"y":[0,0,0]},"s":[85,85,100],"t":0},{"i":{"x":[0.67,0.67,0.67],"y":[... | <|M|><|v|>"5.7.12"<|fr|>30<|ip|>0<|op|>45<|w|>512<|h|>512<|ddd|>0<|LAYER|><|ty|>4<|ip|>0<|op|>45<|st|>0<|bm|>0<|LAYER_KS|><|Tr|><|P|>256 256 0<|A|>50 50 0<|PROP_ANIMATED|><|S|><|PROP_KF_START|><|t|>0 85 85 100<|ease|>0.33 0 0.67 1<|t|>15 100 100 100<|ease|>0.33 0 0.67 1<|t|>20 100 100 100<|ease|>0.33 0 0.67 1<|t|>38 85... | 16 | Line (Uniform Canonical 16px Stroke) | 212 | 45 | 512 |
A gray triangular warning sign with a black exclamation mark inside has its exclamation mark's dot and vertical bar sequentially move upward, then the dot and bar return to their original positions, and finally the sign remains static. | Icon | Canonical Line Icon Collection (16px Stroke) | #0F172A | Simple | 3 | 30 | 512 | 9976854 | You are a helpful Lottie animation Generator. You output animations in compressed token format using special tokens. You never output JSON format. Generate Lottie animation with uniform line style based on: "A gray triangular warning sign with a black exclamation mark inside has its exclamation mark's dot and vertical ... | {"assets":[],"fr":30,"h":512,"ip":0,"layers":[{"ef":[{"ef":[{"ty":0,"v":{"a":0,"k":20}},{"ty":0,"v":{"a":0,"k":60}},{"ty":0,"v":{"a":0,"k":90}}],"en":1,"np":5,"ty":5}],"ip":0,"ks":{"a":{"a":0,"k":[0,0,0],"l":2},"o":{"a":0,"k":100},"p":{"s":true,"x":{"a":0,"k":255.87},"y":{"a":1,"k":[{"i":{"x":[0.25],"y":[1]},"o":{"x":[... | <|M|><|v|>"5.8.0"<|fr|>30<|ip|>0<|op|>90<|w|>512<|h|>512<|ddd|>0<|LAYER|><|ty|>4<|ip|>0<|op|>90<|st|>0<|bm|>0<|LAYER_KS|><|Tr|><|P|><|A|>0 0 0<|S|>100 100 100<|R|>0<|O|>100<|LAYER_SHAPES|><|ITEM_gr|><|ITEM_sh|><|KS_STATIC|><|i|>0 0 0 0 <|o|>0 0 0 0 <|v|>0.11 82.61 -0.4 18.33 <|Tr|><|P|>0 6.25<|A|>0 6.25<|PROP_ANIMATED|... | 16 | Line (Uniform Canonical 16px Stroke) | 138 | 90 | 512 |
A black four-arrow circular recycling symbol rotates continuously in a clockwise direction against a plain white background. | Icon | Canonical Line Icon Collection (16px Stroke) | #0F172A | Simple | 3 | 30 | 512 | 10119464 | You are a helpful Lottie animation Generator. You output animations in compressed token format using special tokens. You never output JSON format. Generate Lottie animation with uniform line style based on: "A black four-arrow circular recycling symbol rotates continuously in a clockwise direction against a plain white... | {"assets":[],"fr":30,"h":512,"ip":0,"layers":[{"ip":0,"ks":{"a":{"a":0,"k":[754.98,726.35,0]},"o":{"a":0,"k":100},"p":{"a":0,"k":[256.12,254.88,0.0]},"r":{"k":[{"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]},"s":[0],"t":0},{"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]},"s":[-356],"t":89}]},"s":{"a":0,"k":[100,100,100]}},"op... | <|M|><|v|>"4.8.0"<|fr|>30<|ip|>0<|op|>90<|w|>512<|h|>512<|ddd|>0<|LAYER|><|ty|>4<|ip|>0<|op|>90<|st|>0<|bm|>0<|LAYER_KS|><|Tr|><|P|>256.12 254.88 0<|A|>754.98 726.35 0<|S|>100 100 100<|R|> <|O|>100<|LAYER_SHAPES|><|ITEM_gr|><|ITEM_sh|><|KS_STATIC|><|i|>0 0 0 0 0 0 -175.34 -69.35 -31.08 -105.16 0 0 <|o|>0 0 0 0 43.62 -3... | 16 | Line (Uniform Canonical 16px Stroke) | 320 | 90 | 512 |
A black outlined equilateral triangle remains static against a plain white background throughout the animation. | Icon | Canonical Line Icon Collection (16px Stroke) | #0F172A | Simple | 1.4 | 30 | 512 | 10089944 | You are a helpful Lottie animation Generator. You output animations in compressed token format using special tokens. You never output JSON format. Generate Lottie animation with uniform line style based on: "A black outlined equilateral triangle remains static against a plain white background throughout the animation." | {"assets":[],"fr":30,"h":512,"ip":0,"layers":[{"ct":1,"ip":0,"ks":{"a":{"a":0,"k":[0,0,0],"l":2},"o":{"a":0,"k":100},"p":{"a":1,"k":[{"i":{"x":0.5,"y":1},"o":{"x":0.56,"y":0},"s":[50,50,0],"t":0,"ti":[0,-0.83,0],"to":[0,-2.5,0]},{"i":{"x":0.46,"y":1},"o":{"x":0.5,"y":0},"s":[50,35,0],"t":7,"ti":[0,-0.83,0],"to":[0,0.83... | <|M|><|v|>"5.12.1"<|fr|>30<|ip|>0<|op|>42<|w|>512<|h|>512<|ddd|>0<|LAYER|><|ty|>4<|ip|>0<|op|>60<|st|>0<|bm|>0<|LAYER_KS|><|Tr|><|PROP_ANIMATED|><|P|><|PROP_KF_START|><|t|>0 50 50 0<|ease|>0.33 0 0.67 1<|t|>7 50 35 0<|ease|>0.33 0 0.67 1<|t|>14 50 55 0<|ease|>0.33 0 0.67 1<|t|>21 50 40 0<|ease|>0.33 0 0.67 1<|t|>29 50 ... | 16 | Line (Uniform Canonical 16px Stroke) | 53 | 42 | 512 |
A black refresh icon with two curved arrows animates by briefly dissolving into a partial circular ring, rotating, then reassembling back into the original refresh icon. | Icon | Canonical Line Icon Collection (16px Stroke) | #0F172A | Simple | 1.1 | 30 | 512 | 3056318 | You are a helpful Lottie animation Generator. You output animations in compressed token format using special tokens. You never output JSON format. Generate Lottie animation with uniform line style based on: "A black refresh icon with two curved arrows animates by briefly dissolving into a partial circular ring, rotatin... | {"assets":[],"fr":30,"h":512,"ip":0,"layers":[{"ip":0,"ks":{"a":{"a":0,"k":[71.18,71.18,0]},"o":{"a":0,"k":100},"p":{"a":0,"k":[256.0,256.0,0.0]},"r":{"a":1,"k":[{"i":{"x":[0.67],"y":[1]},"o":{"x":[0.33],"y":[0]},"s":[0],"t":2},{"s":[-360],"t":25}]},"s":{"a":0,"k":[100,100,100]}},"op":33,"shapes":[{"it":[{"ks":{"a":0,"... | <|M|><|v|>"5.5.7"<|fr|>30<|ip|>0<|op|>33<|w|>512<|h|>512<|ddd|>0<|LAYER|><|ty|>4<|ip|>0<|op|>33<|st|>0<|bm|>0<|LAYER_KS|><|Tr|><|P|>256 256 0<|A|>71.18 71.18 0<|S|>100 100 100<|PROP_ANIMATED|><|R|><|PROP_KF_START|><|t|>2 0<|ease|>0.33 0 0.67 1<|t|>25 -360<|PROP_KF_END|><|O|>100<|LAYER_SHAPES|><|ITEM_gr|><|ITEM_sh|><|KS... | 16 | Line (Uniform Canonical 16px Stroke) | 134 | 33 | 512 |
A black line-drawn rubber stamp icon remains static against a plain white background. | Icon | Canonical Line Icon Collection (16px Stroke) | #0F172A | Simple | 0.93 | 30 | 512 | 3317978 | You are a helpful Lottie animation Generator. You output animations in compressed token format using special tokens. You never output JSON format. Generate Lottie animation with uniform line style based on: "A black line-drawn rubber stamp icon remains static against a plain white background." | {"assets":[],"fr":30,"h":512,"ip":0,"layers":[{"ip":0,"ks":{"a":{"a":0,"k":[148.5,163,0],"l":2},"o":{"a":0,"k":100},"p":{"a":1,"k":[{"i":{"x":0.4,"y":1},"o":{"x":0.6,"y":0},"s":[159.5,145,0],"t":0,"ti":[0,0,0],"to":[0,-3.5,0]},{"i":{"x":0.4,"y":1},"o":{"x":0.6,"y":0},"s":[159.5,124,0],"t":12,"ti":[0,-3.5,0],"to":[0,0,0... | <|M|><|v|>"5.7.8"<|fr|>30<|ip|>0<|op|>28<|w|>512<|h|>512<|ddd|>0<|LAYER|><|ty|>4<|ip|>0<|op|>28<|st|>0<|bm|>0<|LAYER_KS|><|Tr|><|PROP_ANIMATED|><|P|><|PROP_KF_START|><|t|>0 159.5 145 0<|ease|>0.33 0 0.67 1<|t|>12 159.5 124 0<|ease|>0.33 0 0.67 1<|t|>16 159.5 145 0<|PROP_KF_END|><|A|>148.5 163 0<|S|>100 100 100<|R|>0<|O... | 16 | Line (Uniform Canonical 16px Stroke) | 143 | 28 | 512 |
A black-and-white line drawing of a rolled mat with a flap rotates slightly, shifting its orientation before returning to its original static position. | Icon | Canonical Line Icon Collection (16px Stroke) | #0F172A | Medium | 2 | 30 | 512 | 7090013 | You are a helpful Lottie animation Generator. You output animations in compressed token format using special tokens. You never output JSON format. Generate Lottie animation with uniform line style based on: "A black-and-white line drawing of a rolled mat with a flap rotates slightly, shifting its orientation before ret... | {"assets":[],"fr":30,"h":512,"ip":0,"layers":[{"ip":0,"ks":{"a":{"a":0,"k":[181.01,757.99,0]},"o":{"a":0,"k":100},"p":{"a":1,"k":[{"i":{"x":0.83,"y":0.83},"o":{"x":0.17,"y":0.17},"s":[282.57,806.6,0],"t":10,"ti":[-25.83,0.83,0],"to":[25.83,-0.83,0]},{"i":{"x":0.83,"y":0.83},"o":{"x":0.17,"y":0.17},"s":[437.57,801.6,0],... | <|M|><|v|>"5.6.8"<|fr|>30<|ip|>0<|op|>60<|w|>512<|h|>512<|ddd|>0<|LAYER|><|ty|>4<|ip|>0<|op|>120<|st|>0<|bm|>0<|LAYER_KS|><|Tr|><|PROP_ANIMATED|><|P|><|PROP_KF_START|><|t|>10 282.57 806.6 0<|ease|>0.33 0 0.67 1<|t|>20 437.57 801.6 0<|ease|>0.33 0 0.67 1<|t|>35 437.57 801.6 0<|ease|>0.33 0 0.67 1<|t|>45 282.57 801.6 0<|... | 16 | Line (Uniform Canonical 16px Stroke) | 482 | 60 | 512 |
CleanIcon-Animated-Lottie is an ultra-clean, standardized vector animation dataset containing 35,672 canonical animated line icons curated specifically for training conditional autoregressive models that generate smooth, coherent 2D vector animations from natural language prompts.
Curated from LottieGPT/LottieAnimation-660K with strict geometric, visual, and temporal filters conforming directly to the specifications of LottieGPT (arXiv:2604.11792).
train-00000-of-00002.parquet: 2,974 animations (3.71 MB)train-00001-of-00002.parquet: 4,902 animations (6.37 MB)train-00002-of-00004.parquet: 16,693 animations (24.62 MB)train-00003-of-00004.parquet: 10,603 animations (12.77 MB)validation-00000-of-00001.parquet, 0.68 MB)#0F172A Dark Slate) with round caps (lc: 2) and round joins (lj: 2).lottie_json as well as pre-computed compressed lottie_tokens conforming to the LottieGPT grammar.id: Unique animation identifiercaption: Clean descriptive captioninstruction: Formatted instruction for LLM/diffusion conditioninglottie_json: Clean standardized Lottie JSON stringlottie_tokens: Canonical LottieGPT token streamstroke_width: Canonical stroke (16.0)color_palette: #0F172Awidth / height: 512 / 512frame_rate: 30 FPSin_point: Start frame (0)out_point: End frameduration: Duration in secondsnum_layers: Number of vector layerstoken_count: Integer count of tokensfrom datasets import load_dataset
dataset = load_dataset("ArifiIslam/CleanIcon-Animated-Lottie")
print("Train split:", len(dataset["train"])) # 35,172
print("Validation split:", len(dataset["validation"])) # 500
sample = dataset["train"][0]
print("Caption:", sample["caption"])
print("Duration:", sample["duration"], "seconds")
print("Tokens sample:", sample["lottie_tokens"][:100])
Conforms to the architecture presented in: LottieGPT: Tokenizing Vector Animation for Autoregressive Generation (arXiv:2604.11792).