EdgeNovel anime cover model
The on-device image model behind AI 封面 in EdgeNovel, a local-first reader for Chinese web fiction. It draws a 512×768 anime-style book cover in 4 steps, in about 3 s on a laptop RTX 4060.
This GGUF only loads in a patched stable-diffusion.cpp. Stock builds
cannot read its convolution layers. The patched engine (Windows x64, Vulkan)
and the patch are in the EdgeNovel release
image-engine-1.
本模型是 EdgeNovel 阅读器“AI 封面”功能使用的本地生图模型。它需要配套的改版 stable-diffusion.cpp 引擎才能加载,原版引擎读不了。
Files
| File | What | Size |
|---|---|---|
anime-cover-q5_0.gguf | The model: UNet and text encoder, Q5_0, no VAE | 728,811,248 bytes |
taesd.safetensors | TAESD, the tiny decoder that replaces the VAE | 9,793,292 bytes |
SHA-256:
cb8c8ce181c2665c022c2a4211e9d593e705026ac07c3d474377921f19c00d38 anime-cover-q5_0.gguf
db169d69145ec4ff064e49d99c95fa05d3eb04ee453de35824a6d0f325513549 taesd.safetensors
How it was made
These are changes from the original models:
- Counterfeit V3.0
(
Counterfeit-V3.0_fix_fp16.safetensors) is the base. - ByteDance's Hyper-SD
Hyper-SD15-4steps-lora.safetensorsis merged into it at strength 1.0. - The VAE is removed. TAESD decodes instead.
- It is converted to Q5_0 by the patched engine. That engine stores each 3×3 convolution kernel as a quantizable matrix, so the file is 0.70 GB instead of the 1.44 GB a stock Q5_0 conversion gives. Quality matches the stock Q5_0.
The scripts, the patch and the measurements are in the EdgeNovel repository
under experiments/anime-cover-model/.
Usage
sd-cli.exe -m anime-cover-q5_0.gguf --taesd taesd.safetensors ^
--clip-skip 2 --fa -W 512 -H 768 --steps 4 --cfg-scale 1 --sampling-method tcd ^
--vae-tiling --vae-relative-tile-size 1x0.375 --vae-tile-overlap 0.5 ^
-p "masterpiece, best quality, 1girl, solo, silver hair, red eyes, snowy mountain, night, full moon" ^
-n "lowres, bad anatomy, bad hands, worst quality, low quality, blurry, text, watermark" ^
-o cover.png
- Prompts. Write them in English. Danbooru-style tags work best; short English phrases also work. Chinese is not understood.
- Steps and guidance. The merged LoRA is the 4-step one. Use 4 steps at cfg 1 with the TCD sampler.
- Tiled decoding. The three
--vae-*flags decode in strips. That cuts decoder memory from 720 MB to 270 MB.
Licence and use restrictions
This model is a Derivative of two models under responsible-AI licences. A copy of each licence is included:
- Counterfeit V3.0: CreativeML Open RAIL-M. See
LICENSE-CreativeML-OpenRAIL-M.txt. - Hyper-SD (SD 1.5 LoRA): CreativeML Open RAIL++-M, © 2024 Bytedance Inc. See
LICENSE-Hyper-SD-OpenRAIL++-M.txt.
The use-based restrictions in Attachment A of both licences apply to this model and anything made from it. You may not use it for any of the restricted uses listed there. If you redistribute it or a derivative of it, you must pass the same restrictions and both licences on to your recipients.
TAESD is MIT-licensed, © 2023 Ollin Boer Bohan. See LICENSE-TAESD-MIT.txt.
Credit for the models goes to gsdf (Counterfeit), ByteDance (Hyper-SD), and Ollin Boer Bohan (TAESD). This repository only combines and converts them.