File size: 3,791 Bytes
4ce4976
bf5d0cf
 
 
 
 
 
 
 
 
b460318
bf5d0cf
 
 
 
 
4ce4976
4949d0b
 
de3873f
 
4ce4976
acbf778
4ce4976
acbf778
4ce4976
acbf778
4ce4976
acbf778
4ce4976
acbf778
 
 
4ce4976
 
 
acbf778
4949d0b
acbf778
4949d0b
 
4ce4976
 
 
acbf778
4ce4976
 
acbf778
 
4ce4976
 
 
acbf778
4ce4976
acbf778
 
4ce4976
acbf778
4ce4976
f58bac6
 
 
 
 
4ce4976
acbf778
4ce4976
f58bac6
 
4ce4976
 
 
 
acbf778
4ce4976
f58bac6
 
 
4ce4976
acbf778
4ce4976
acbf778
4ce4976
acbf778
f58bac6
 
 
 
 
 
 
acbf778
f58bac6
acbf778
 
f58bac6
 
4ce4976
acbf778
4ce4976
f58bac6
4ce4976
acbf778
4ce4976
f58bac6
4ce4976
acbf778
4ce4976
bf5d0cf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
---
license: mit
task_categories:
- text-to-image
- text-to-video
language:
- en
- ja
tags:
- animation
- image
- video
- webdataset
pretty_name: Sakugabooru 2025
size_categories:
- 100K<n<1M
---


![image/png](https://cdn-uploads.huggingface.co/production/uploads/636982a164aad59d4d42714b/7uop34hyFIuPixkl4zMzJ.png)


# Sakugabooru2025: Curated Animation Clips from Enthusiasts

[Sakugabooru.com](https://www.sakugabooru.com/post) is a booru-style imageboard dedicated to collecting and sharing noteworthy animation clips, emphasizing Japanese anime but open to creators worldwide. Over the years, it has amassed more than 240,000 animation clips, alongside informative [blog posts](https://blog.sakugabooru.com/) for anime fans everywhere.

With the growing interest in generative video models and AI animations, the scarcity of proper animation-related video datasets has become a challenge. This dataset was created to provide resources for animation enthusiasts and industry researchers, to help advancing the frontier of animation-video research.

Potential uses include:

- text-to-video training
- multimodal animation research
- video quality/aesthetics analysis

## Dataset Details

This dataset includes over 155,238 video clips and 8,680 images of unique or noteworthy animation:

```yaml
image files: 8680, video files: 155238, json files: 240242
total unique files: 404160
last post id: 273264
```

Note that Sakugabooru’s archives have been reduced by DMCA strikes over the years. Popular titles like [Mob Psycho 100](https://www.reddit.com/r/AnimeSakuga/comments/10du14k/alternatives_to_sakugabooru_for_mob_psycho_100/) may not appear because they were removed from the site.

- **Curated by:** [trojblue](https://huggingface.co./trojblue)
- **Language(s) (NLP):** English, Japanese
- **License:** MIT

## Dataset Structure

Files are split into tar archives by post ID **modulo 1,000**:

- Example: post ID **42** goes to `0000.tar`, post ID **5306** goes to `0005.tar`.
- Each tar is about 1GB, suitable for large-batch data processing.

The dataset follows [WebDataset](https://github.com/webdataset/webdataset) conventions, with each tar containing media files (~1GB) plus metadata:

```bash
./media/0.tar
# ./train/0.tar/{sakuga_5306.webm}
# ./train/0.tar/{sakuga_5306.json}
```

The index file `./sakugabooru-index.json` is generated using `widsindex` (see [WebDataset FAQ](https://github.com/webdataset/webdataset/blob/main/FAQ.md)):

```bash
widsindex *.tar > mydataset-index.json
```

## Dataset Creation

This dataset is sourced directly from Sakugabooru by querying IDs from 0 up to the latest, by Dec.28, 2024:

```bash
https://www.sakugabooru.com/post/show/{id}
```

### Data Collection and Processing

Since Sakugabooru lacks a direct JSON API, metadata were gathered by visiting each page and extracting relevant parts. The scraper code is available here: [arot-devs/sakuga-scraper](https://github.com/arot-devs/sakuga-scraper/tree/main).

Each post’s JSON metadata follows a format like:

```json
{
    "post_id": 100112,
    "post_url": "https://www.sakugabooru.com/post/show/100112",
    "image_url": null,
    "tags": {},
    ...
    "status_notice": [
        "This post was deleted.\n\n      Reason: ..."
    ]
}
```

No additional processing was performed beyond metadata collection.

## Bias, Risks, and Limitations

Owing to DMCA takedowns, duplicates, or other factors, only about 60% (163,918 of 273,264) post IDs have attached media. The selection also tends to favor older Japanese animations.

### Recommendations

For more interesting reads about animation, visit: [Sakuga Blog – The Art of Japanese Animation](https://blog.sakugabooru.com/)

You can support Sakugabooru through: [Sakugabooru | Patreon](https://www.patreon.com/Sakugabooru)