--- pipeline_tag: text-to-image --- # Hatsu Preview1: An Anime Model from Scratch in 1.5 GPU Days |![](assets/grid.png)| |:--:| |`1girl, solo, general` non-cherrypicked samples| This is a status report demonstrating the capabilities and shortcomings of Hatsu Preview1. The code and a more comprehensive report will be provided upon proper release. ## Model Summary Hatsu Preview1 is a 117M + 63M parameter tags-to-image generation model. It is created with the main objective of setting a simple baseline for anime models. The model consists of a 117M parameter image generator and a 63M parameter condition generator. The image generator operates in a 56x80 RGB space, while the condition generator creates 1024D condition vectors given a set of tags. For ease of use, the condition generator accepts arbitrary subsets of the tags instead of requiring the user to specify every tag. As in a [previous exploration](https://huggingface.co/gustproof/1girl-EDM2-XS-test-1), the 1024D vectors are encodings created by a [pretrained tagger](https://huggingface.co/SmilingWolf/wd-eva02-large-tagger-v3). The condition supports a total of ~9k rating/general/character tags, although not all of them are well-understood. The training dataset is a 1.1M-image `1girl solo` subset of the [Danbooru2023 dataset](https://huggingface.co/datasets/nyanko7/danbooru2023), downscaled to 56x80. The image generator is trained for 57M images, and the condition generator is trained for 268M images. The combined training can be completed in ~1.5 days on a 4090 GPU. ## Qualitative Results Other than removing explicit images, the generated images are not cherry-picked. Each row of 4 images shares the same condition. ### Basic Tags --- `general, dress` ![](assets/001.png) --- `smile, blush, sensitive` ![](assets/002.png) --- `sensitive, large breasts, cat ears, long hair, purple eyes, swimsuit` ![](assets/003.png) --- `sensitive, black leotard, sideboob, blue eyes, blue hair` ![](assets/004.png) --- `general, white pantyhose, black hair, medium hair, maid, detached collar` ![](assets/005.png) --- `general, bench, black hair, black socks, blush, book, brown eyes, closed mouth, from above, holding, holding book, kneehighs, legs, looking at viewer, on bench, open book, pink shirt, shirt, short hair, short sleeves, sitting, skirt, smile, socks, t-shirt, thighs, white skirt` ![](assets/006.png) --- `general, bench, black hair, black socks, blush, book, brown eyes, closed mouth, from above, holding, holding book, kneehighs, legs, looking at viewer, on bench, open book, pink shirt, shirt, short hair, short sleeves, sitting, skirt, smile, socks, t-shirt, thighs, white skirt` ![](assets/007.png) --- `general, bare shoulders, blue background, blue eyes, blue hair, breasts, choker, cleavage, dress, facing viewer, falling petals, hair behind ear, hair between eyes, lips, looking to the side, medium hair, off-shoulder dress, off shoulder, parted bangs, parted lips, petals, ribbon, ribbon choker, simple background, skirt hold, wind, yellow choker, yellow dress, yellow ribbon` ![](assets/008.png) --- `bare shoulders, between breasts, blunt bangs, breasts, brown hair, bug, butterfly, cleavage, closed mouth, dot nose, dress, field, flower, green eyes, hair flower, hair ornament, hairpin, jewelry, large breasts, long hair, looking at viewer, lying, necklace, sleeveless, sleeveless dress, sundress, thighs, very long hair, white butterfly, white dress, white flower, sensitive` ` ![](assets/009.png) --- `blue dress, blush, breasts, bug, bun cover, butterfly, butterfly on hand, china dress, chinese clothes, cleavage, cleavage cutout, clothing cutout, collared dress, contrapposto, cowboy shot, double bun, dress, frilled dress, frilled sleeves, frills, gold trim, hair bun, hand up, head tilt, hip vent, lace trim, long hair, looking at viewer, medium breasts, parted lips, purple eyes, single sidelock, standing, thigh strap, thighs, twintails, very long hair, white hair, sensitive` ![](assets/010.png) --- ### Character Understanding --- `hatsune miku, general` ![](assets/011.png) --- `hatsune miku, general, grey shirt, black skirt, pleated skirt` ![](assets/012.png) --- `hatsune miku, sensitive, competition swimsuit` ![](assets/013.png) --- `remilia scarlet, general` ![](assets/014.png) --- `kafuu chino, general` ![](assets/015.png) --- `kashima (kancolle), sensitive` ![](assets/016.png) --- `kanzaki ranko, general` ![](assets/017.png) --- `yumemi riamu, sensitive` ![](assets/018.png) --- `rice shower (umamusume), general` ![](assets/019.png) --- `sagisawa fumika, sensitive, cowboy shot` ![](assets/020.png) --- ### Image Reference These images directly use the embeddings created by the tagger from an reference image instead of using the condition generator. --- [Reference](https://x.com/tsuchi_e/status/1908899715590013092) ![](assets/021.png) --- [Reference](https://x.com/izumi_huna/status/1908924330425401780) ![](assets/022.png) --- [Reference](https://x.com/manmarumikan_/status/1908866071790260507) ![](assets/023.png) --- [Reference](https://x.com/seihekiog/status/1906259356393287724) ![](assets/024.png) --- [Reference](https://x.com/piroyan_frs/status/1807369027423293686) ![](assets/025.png) --- [Reference](https://x.com/Kamizuki_S1/status/1906985900812501491) ![](assets/026.png) --- ## Todo - Support non-solo images - Scale up the model and resolution - Add proper style and character conditioning