Add verified model manifest and restore instructions
Browse files- README.md +71 -0
- model-manifest.json +333 -0
- restore_censor_models.py +52 -0
README.md
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- comfyui
|
| 4 |
+
- model-bundle
|
| 5 |
+
- image-generation
|
| 6 |
+
- video-generation
|
| 7 |
+
---
|
| 8 |
+
|
| 9 |
+
# Character Image Model Bundle
|
| 10 |
+
|
| 11 |
+
Deployment assets for the Character Image project, audited against commit `8f1d132` on 2026-09-07. This public repository contains the 25 referenced model files found on the source server, totaling 117,028,825,625 bytes (108.99 GiB).
|
| 12 |
+
|
| 13 |
+
## Directory Layout
|
| 14 |
+
|
| 15 |
+
| Directory | Contents | Files |
|
| 16 |
+
| --- | --- | ---: |
|
| 17 |
+
| `models/checkpoints/` | WAI v170, Qwen Rapid AIO v23, Pornworks Illustrious | 3 |
|
| 18 |
+
| `models/diffusion_models/` | Wan Remix V30 High/Low, two ZImage variants | 4 |
|
| 19 |
+
| `models/text_encoders/` | Wan UMT5 and Qwen 3 4B | 2 |
|
| 20 |
+
| `models/clip_vision/` | CLIP Vision H | 1 |
|
| 21 |
+
| `models/ipadapter/` | AnimeIPA and SDXL Plus Face | 2 |
|
| 22 |
+
| `models/loras/` | Six enabled LoRA dependencies | 6 |
|
| 23 |
+
| `models/vae/` | AE and Wan 2.1 VAE | 2 |
|
| 24 |
+
| `models/upscale_models/` | 4x AnimeSharp | 1 |
|
| 25 |
+
| `models/onnx/` | RIFE 4.9 ONNX | 1 |
|
| 26 |
+
| `auxiliary/censor/` | EraX, NudeNet, anime censor detector | 3 |
|
| 27 |
+
|
| 28 |
+
`model-manifest.json` lists each path, SHA256, byte size, and the template keys that reference it. Shared weights appear once. The model bytes and filenames are preserved from the source deployment.
|
| 29 |
+
|
| 30 |
+
## Download
|
| 31 |
+
|
| 32 |
+
Install `huggingface_hub`. This public repository can be downloaded without logging in. The following command downloads into the existing ComfyUI directory:
|
| 33 |
+
|
| 34 |
+
```bash
|
| 35 |
+
python3 - <<'PY'
|
| 36 |
+
from huggingface_hub import snapshot_download
|
| 37 |
+
snapshot_download(
|
| 38 |
+
repo_id="ChatoyantAI/character-image-models",
|
| 39 |
+
local_dir="/root/ComfyUI",
|
| 40 |
+
max_workers=4,
|
| 41 |
+
token=False,
|
| 42 |
+
)
|
| 43 |
+
PY
|
| 44 |
+
```
|
| 45 |
+
|
| 46 |
+
The existing `models/` layout is directly compatible with ComfyUI. Re-running the download supports resuming an interrupted transfer.
|
| 47 |
+
|
| 48 |
+
## Restore Censor Dependencies
|
| 49 |
+
|
| 50 |
+
Two detectors are loaded through upstream HF cache paths, while NudeNet can load a local ONNX. After downloading:
|
| 51 |
+
|
| 52 |
+
```bash
|
| 53 |
+
python3 /root/ComfyUI/restore_censor_models.py --repo-dir /root/ComfyUI
|
| 54 |
+
export CENSOR_MODELS_DIR=/root/ComfyUI/auxiliary/censor
|
| 55 |
+
```
|
| 56 |
+
|
| 57 |
+
Keep the `CENSOR_MODELS_DIR` export in the service startup command, before ComfyUI starts. Run restoration as the service account, or supply its HF cache directory with `--cache-dir`. The script verifies and restores the EraX and anime detector cache entries at the recorded upstream revisions; their `refs/main` entries are set to those revisions. `CENSOR_MODELS_DIR` covers EraX/NudeNet, while the anime detector continues to use its HF cache.
|
| 58 |
+
|
| 59 |
+
The original node packages and Python dependencies are still required, including `ComfyUI-GenitalCensor`, `nudenet`, `ultralytics`, and `imgutils`.
|
| 60 |
+
|
| 61 |
+
## RIFE
|
| 62 |
+
|
| 63 |
+
`models/onnx/rife49_ensemble_True_scale_1_sim.onnx` is the input for `ComfyUI-Rife-Tensorrt`. Its node builds a TensorRT engine on the target machine when needed. This bundle contains no precompiled TensorRT engine.
|
| 64 |
+
|
| 65 |
+
## Coverage
|
| 66 |
+
|
| 67 |
+
Model dependencies were found for WAI_AnimeIPA, WAI_Qwen, WAI + Wan22 (image/text variants), Illustrious, WanImage, ZImageTurbo, and image/video censoring. Dependencies shared with other configured templates are also included.
|
| 68 |
+
|
| 69 |
+
Eighteen model references were absent from the source server and are not included: the legacy Pony checkpoint and five associated LoRAs; Wan Remix V20 High/Low; the Qwen next-scene LoRA; Monica/Trixie LoRAs and their ZImage NSFW LoRA; and six legacy video action LoRAs. Those templates require additional assets. Legacy Pony templates also require missing Comfyroll nodes and a compatible CLIP discovery filename.
|
| 70 |
+
|
| 71 |
+
Only model files and deployment metadata are included. Application configuration, credentials, user media, and logs are excluded. See the manifest for the exact uploaded set.
|
model-manifest.json
ADDED
|
@@ -0,0 +1,333 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"repo_id": "ChatoyantAI/character-image-models",
|
| 4 |
+
"project_commit": "8f1d132",
|
| 5 |
+
"audit_date": "2026-09-07",
|
| 6 |
+
"model_count": 25,
|
| 7 |
+
"total_bytes": 117028825625,
|
| 8 |
+
"files": [
|
| 9 |
+
{
|
| 10 |
+
"path": "auxiliary/censor/320n.onnx",
|
| 11 |
+
"model": "320n.onnx",
|
| 12 |
+
"size_bytes": 12150158,
|
| 13 |
+
"sha256": "c15d8273adad2d0a92f014cc69ab2d6c311a06777a55545f2c4eb46f51911f0f",
|
| 14 |
+
"templates": [
|
| 15 |
+
"censor.image",
|
| 16 |
+
"censor.video",
|
| 17 |
+
"image.WAI_AnimeIPA",
|
| 18 |
+
"image.WAI_Qwen_Censored",
|
| 19 |
+
"image.textToImage_Censored",
|
| 20 |
+
"video.WAI_IPA_Wan22_Video"
|
| 21 |
+
]
|
| 22 |
+
},
|
| 23 |
+
{
|
| 24 |
+
"path": "models/upscale_models/4x-AnimeSharp.pth",
|
| 25 |
+
"model": "4x-AnimeSharp.pth",
|
| 26 |
+
"size_bytes": 67010245,
|
| 27 |
+
"sha256": "e7a7de2dafd7331c1992862bbbcd9e9712a9f9f8e6303f0aaa59b4341d359bab",
|
| 28 |
+
"templates": [
|
| 29 |
+
"image.WAI_AnimeIPA"
|
| 30 |
+
]
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"path": "models/loras/NSFW-22-H-e8.safetensors",
|
| 34 |
+
"model": "NSFW-22-H-e8.safetensors",
|
| 35 |
+
"size_bytes": 613516752,
|
| 36 |
+
"sha256": "34e2144d3cd65360f97d09ccbe03e1c39a096df6c9234af5fe3899d1b63cda39",
|
| 37 |
+
"templates": [
|
| 38 |
+
"video.Blowjob",
|
| 39 |
+
"video.Cowgirl",
|
| 40 |
+
"video.Cumshot",
|
| 41 |
+
"video.Custom",
|
| 42 |
+
"video.DeepThroat",
|
| 43 |
+
"video.EditVideo",
|
| 44 |
+
"video.EditVideoMulti",
|
| 45 |
+
"video.Footjob",
|
| 46 |
+
"video.Handjob",
|
| 47 |
+
"video.Missionary",
|
| 48 |
+
"video.Self_Nipple_Sucking",
|
| 49 |
+
"video.Titfuck"
|
| 50 |
+
]
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"path": "models/loras/NSFW-22-L-e8.safetensors",
|
| 54 |
+
"model": "NSFW-22-L-e8.safetensors",
|
| 55 |
+
"size_bytes": 613516752,
|
| 56 |
+
"sha256": "d6b783742f4d5fd63a0223ae1d5bf64fc995a6b408480ac2a00528ae0d4146db",
|
| 57 |
+
"templates": [
|
| 58 |
+
"video.Blowjob",
|
| 59 |
+
"video.Cowgirl",
|
| 60 |
+
"video.Cumshot",
|
| 61 |
+
"video.Custom",
|
| 62 |
+
"video.DeepThroat",
|
| 63 |
+
"video.EditVideo",
|
| 64 |
+
"video.EditVideoMulti",
|
| 65 |
+
"video.Footjob",
|
| 66 |
+
"video.Handjob",
|
| 67 |
+
"video.Missionary",
|
| 68 |
+
"video.Self_Nipple_Sucking",
|
| 69 |
+
"video.Titfuck"
|
| 70 |
+
]
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"path": "models/checkpoints/Qwen-Rapid-AIO-NSFW-v23.safetensors",
|
| 74 |
+
"model": "Qwen-Rapid-AIO-NSFW-v23.safetensors",
|
| 75 |
+
"size_bytes": 28431840023,
|
| 76 |
+
"sha256": "fdb919fc81bea63f13759967fc92c9118142e5c70d4e6795199233a35eefa233",
|
| 77 |
+
"templates": [
|
| 78 |
+
"image.QwenImageEdit",
|
| 79 |
+
"image.QwenImageEditMulti",
|
| 80 |
+
"image.WAI_Qwen_Censored",
|
| 81 |
+
"image.WAI_Qwen_NoCensor",
|
| 82 |
+
"image.WanImage",
|
| 83 |
+
"video.EditVideo",
|
| 84 |
+
"video.EditVideoMulti"
|
| 85 |
+
]
|
| 86 |
+
},
|
| 87 |
+
{
|
| 88 |
+
"path": "models/loras/SmoothMixAnimation_High.safetensors",
|
| 89 |
+
"model": "SmoothMixAnimation_High.safetensors",
|
| 90 |
+
"size_bytes": 306807280,
|
| 91 |
+
"sha256": "d71ca0a31d2d94543341243f7c974603df3ab13a57213a7f33debd35eb3e5e6a",
|
| 92 |
+
"templates": [
|
| 93 |
+
"video.EditVideo"
|
| 94 |
+
]
|
| 95 |
+
},
|
| 96 |
+
{
|
| 97 |
+
"path": "models/loras/SmoothMixAnimation_Low.safetensors",
|
| 98 |
+
"model": "SmoothMixAnimation_Low.safetensors",
|
| 99 |
+
"size_bytes": 306807280,
|
| 100 |
+
"sha256": "633935a4f55cfa89b95104f05ba0a7055188f3c8b2d50930260796c1c948ff83",
|
| 101 |
+
"templates": [
|
| 102 |
+
"video.EditVideo"
|
| 103 |
+
]
|
| 104 |
+
},
|
| 105 |
+
{
|
| 106 |
+
"path": "models/vae/ae.safetensors",
|
| 107 |
+
"model": "ae.safetensors",
|
| 108 |
+
"size_bytes": 335304388,
|
| 109 |
+
"sha256": "afc8e28272cd15db3919bacdb6918ce9c1ed22e96cb12c4d5ed0fba823529e38",
|
| 110 |
+
"templates": [
|
| 111 |
+
"image.Monica",
|
| 112 |
+
"image.Trixie",
|
| 113 |
+
"image.ZImageTurbo"
|
| 114 |
+
]
|
| 115 |
+
},
|
| 116 |
+
{
|
| 117 |
+
"path": "auxiliary/censor/censor_detect_v1.0_s/model.onnx",
|
| 118 |
+
"model": "censor_detect_v1.0_s/model.onnx",
|
| 119 |
+
"size_bytes": 44586353,
|
| 120 |
+
"sha256": "2c2524824d7d320c5619a0a73702a2e2186f619067c823d211e94f7cfe489cba",
|
| 121 |
+
"templates": [
|
| 122 |
+
"censor.image",
|
| 123 |
+
"censor.video",
|
| 124 |
+
"image.WAI_AnimeIPA",
|
| 125 |
+
"image.WAI_Qwen_Censored",
|
| 126 |
+
"image.textToImage_Censored",
|
| 127 |
+
"video.WAI_IPA_Wan22_Video"
|
| 128 |
+
]
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"path": "models/clip_vision/clip_vision_h.safetensors",
|
| 132 |
+
"model": "clip_vision_h.safetensors",
|
| 133 |
+
"size_bytes": 1264219396,
|
| 134 |
+
"sha256": "64a7ef761bfccbadbaa3da77366aac4185a6c58fa5de5f589b42a65bcc21f161",
|
| 135 |
+
"templates": [
|
| 136 |
+
"image.WAI_AnimeIPA",
|
| 137 |
+
"video.WAI_IPA_Wan22_Video"
|
| 138 |
+
]
|
| 139 |
+
},
|
| 140 |
+
{
|
| 141 |
+
"path": "auxiliary/censor/erax_nsfw_yolo11m.pt",
|
| 142 |
+
"model": "erax_nsfw_yolo11m.pt",
|
| 143 |
+
"size_bytes": 40500709,
|
| 144 |
+
"sha256": "8c7d14911fdc076d80f4614c879ce0979d54f827b251e62989ae949ea1bb2dc8",
|
| 145 |
+
"templates": [
|
| 146 |
+
"censor.image",
|
| 147 |
+
"censor.video",
|
| 148 |
+
"image.WAI_AnimeIPA",
|
| 149 |
+
"image.WAI_Qwen_Censored",
|
| 150 |
+
"image.textToImage_Censored",
|
| 151 |
+
"video.WAI_IPA_Wan22_Video"
|
| 152 |
+
]
|
| 153 |
+
},
|
| 154 |
+
{
|
| 155 |
+
"path": "models/ipadapter/ip-adapter-plus-face_sdxl_vit-h.safetensors",
|
| 156 |
+
"model": "ip-adapter-plus-face_sdxl_vit-h.safetensors",
|
| 157 |
+
"size_bytes": 847517512,
|
| 158 |
+
"sha256": "677ad8860204f7d0bfba12d29e6c31ded9beefdf3e4bbd102518357d31a292c1",
|
| 159 |
+
"templates": [
|
| 160 |
+
"image.Custom",
|
| 161 |
+
"image.Custom_boy",
|
| 162 |
+
"image.Custom_girl"
|
| 163 |
+
]
|
| 164 |
+
},
|
| 165 |
+
{
|
| 166 |
+
"path": "models/ipadapter/kataragi_noob_ipa_800k.bin",
|
| 167 |
+
"model": "kataragi_noob_ipa_800k.bin",
|
| 168 |
+
"size_bytes": 1396798350,
|
| 169 |
+
"sha256": "8bdbc67d432c73e93649d9f87e99753064410a09513692cf77d957de9e0aeef7",
|
| 170 |
+
"templates": [
|
| 171 |
+
"image.WAI_AnimeIPA",
|
| 172 |
+
"video.WAI_IPA_Wan22_Video"
|
| 173 |
+
]
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"path": "models/text_encoders/nsfw_wan_umt5-xxl_fp8_scaled.safetensors",
|
| 177 |
+
"model": "nsfw_wan_umt5-xxl_fp8_scaled.safetensors",
|
| 178 |
+
"size_bytes": 6735887993,
|
| 179 |
+
"sha256": "a484bb9739a8d4020ca6f072b5b7329cf13e352b06985497c1f7f81ea98a45c5",
|
| 180 |
+
"templates": [
|
| 181 |
+
"video.Blowjob",
|
| 182 |
+
"video.Cowgirl",
|
| 183 |
+
"video.Cumshot",
|
| 184 |
+
"video.Custom",
|
| 185 |
+
"video.DeepThroat",
|
| 186 |
+
"video.EditVideo",
|
| 187 |
+
"video.EditVideoMulti",
|
| 188 |
+
"video.Footjob",
|
| 189 |
+
"video.Handjob",
|
| 190 |
+
"video.Missionary",
|
| 191 |
+
"video.Self_Nipple_Sucking",
|
| 192 |
+
"video.Titfuck",
|
| 193 |
+
"video.WAI_IPA_Wan22_Video"
|
| 194 |
+
]
|
| 195 |
+
},
|
| 196 |
+
{
|
| 197 |
+
"path": "models/checkpoints/pornworksAnimeDesireNSFW_illustrious.safetensors",
|
| 198 |
+
"model": "pornworksAnimeDesireNSFW_illustrious.safetensors",
|
| 199 |
+
"size_bytes": 6938043264,
|
| 200 |
+
"sha256": "47461b6548e3eade475251ddf17ab0cfd96d5932b490f5a6d9558dc6147e5599",
|
| 201 |
+
"templates": [
|
| 202 |
+
"image.textToImage",
|
| 203 |
+
"image.textToImage_Censored"
|
| 204 |
+
]
|
| 205 |
+
},
|
| 206 |
+
{
|
| 207 |
+
"path": "models/text_encoders/qwen_3_4b.safetensors",
|
| 208 |
+
"model": "qwen_3_4b.safetensors",
|
| 209 |
+
"size_bytes": 8044982048,
|
| 210 |
+
"sha256": "6c671498573ac2f7a5501502ccce8d2b08ea6ca2f661c458e708f36b36edfc5a",
|
| 211 |
+
"templates": [
|
| 212 |
+
"image.Monica",
|
| 213 |
+
"image.Trixie",
|
| 214 |
+
"image.ZImageTurbo"
|
| 215 |
+
]
|
| 216 |
+
},
|
| 217 |
+
{
|
| 218 |
+
"path": "models/onnx/rife49_ensemble_True_scale_1_sim.onnx",
|
| 219 |
+
"model": "rife49_ensemble_True_scale_1_sim.onnx",
|
| 220 |
+
"size_bytes": 21458882,
|
| 221 |
+
"sha256": "76e4cef9ab42fa7dd4e8f6e4aba47462051e3faa969e4bca6479784fbab0ac6f",
|
| 222 |
+
"templates": [
|
| 223 |
+
"video.WAI_IPA_Wan22_Video"
|
| 224 |
+
]
|
| 225 |
+
},
|
| 226 |
+
{
|
| 227 |
+
"path": "models/checkpoints/waiIllustriousSDXL_v170.safetensors",
|
| 228 |
+
"model": "waiIllustriousSDXL_v170.safetensors",
|
| 229 |
+
"size_bytes": 6938040682,
|
| 230 |
+
"sha256": "f116b0c78ff441467b0cdc8f1936e1ed18ea31e9997c7b132b1b8db533f0bd04",
|
| 231 |
+
"templates": [
|
| 232 |
+
"image.WAI_AnimeIPA",
|
| 233 |
+
"image.WAI_Qwen_Censored",
|
| 234 |
+
"image.WAI_Qwen_NoCensor",
|
| 235 |
+
"video.WAI_IPA_Wan22_Video"
|
| 236 |
+
]
|
| 237 |
+
},
|
| 238 |
+
{
|
| 239 |
+
"path": "models/loras/wan2.2_i2v_highnoise_footjob_v1.0.safetensors",
|
| 240 |
+
"model": "wan2.2_i2v_highnoise_footjob_v1.0.safetensors",
|
| 241 |
+
"size_bytes": 306847520,
|
| 242 |
+
"sha256": "653a5f664d3dd481043aef4d436aad6fd2b85f7945831d81975f5f52b72d5d09",
|
| 243 |
+
"templates": [
|
| 244 |
+
"video.EditVideoMulti"
|
| 245 |
+
]
|
| 246 |
+
},
|
| 247 |
+
{
|
| 248 |
+
"path": "models/loras/wan2.2_i2v_lownoise_footjob_v1.0.safetensors",
|
| 249 |
+
"model": "wan2.2_i2v_lownoise_footjob_v1.0.safetensors",
|
| 250 |
+
"size_bytes": 306847512,
|
| 251 |
+
"sha256": "ffa4f08b5cd2a972a1917e87856a4352867df0c53f435a99f8dadfb32530a608",
|
| 252 |
+
"templates": [
|
| 253 |
+
"video.EditVideoMulti"
|
| 254 |
+
]
|
| 255 |
+
},
|
| 256 |
+
{
|
| 257 |
+
"path": "models/diffusion_models/wan22RemixT2VI2V_i2vHighV30.safetensors",
|
| 258 |
+
"model": "wan22RemixT2VI2V_i2vHighV30.safetensors",
|
| 259 |
+
"size_bytes": 14291272136,
|
| 260 |
+
"sha256": "2ac60c97ca6911090cdbdf055b685af3646b7bd93c19c9aae0f86f4ea018e97d",
|
| 261 |
+
"templates": [
|
| 262 |
+
"video.EditVideo",
|
| 263 |
+
"video.EditVideoMulti",
|
| 264 |
+
"video.WAI_IPA_Wan22_Video"
|
| 265 |
+
]
|
| 266 |
+
},
|
| 267 |
+
{
|
| 268 |
+
"path": "models/diffusion_models/wan22RemixT2VI2V_i2vLowV30.safetensors",
|
| 269 |
+
"model": "wan22RemixT2VI2V_i2vLowV30.safetensors",
|
| 270 |
+
"size_bytes": 14291272136,
|
| 271 |
+
"sha256": "a239063c377e530229c4e5b1fecdcbe9de1201a30126dd42297435287e713229",
|
| 272 |
+
"templates": [
|
| 273 |
+
"video.EditVideo",
|
| 274 |
+
"video.EditVideoMulti",
|
| 275 |
+
"video.WAI_IPA_Wan22_Video"
|
| 276 |
+
]
|
| 277 |
+
},
|
| 278 |
+
{
|
| 279 |
+
"path": "models/vae/wan_2.1_vae.safetensors",
|
| 280 |
+
"model": "wan_2.1_vae.safetensors",
|
| 281 |
+
"size_bytes": 253815318,
|
| 282 |
+
"sha256": "2fc39d31359a4b0a64f55876d8ff7fa8d780956ae2cb13463b0223e15148976b",
|
| 283 |
+
"templates": [
|
| 284 |
+
"video.Blowjob",
|
| 285 |
+
"video.Cowgirl",
|
| 286 |
+
"video.Cumshot",
|
| 287 |
+
"video.Custom",
|
| 288 |
+
"video.DeepThroat",
|
| 289 |
+
"video.EditVideo",
|
| 290 |
+
"video.EditVideoMulti",
|
| 291 |
+
"video.Footjob",
|
| 292 |
+
"video.Handjob",
|
| 293 |
+
"video.Missionary",
|
| 294 |
+
"video.Self_Nipple_Sucking",
|
| 295 |
+
"video.Titfuck",
|
| 296 |
+
"video.WAI_IPA_Wan22_Video"
|
| 297 |
+
]
|
| 298 |
+
},
|
| 299 |
+
{
|
| 300 |
+
"path": "models/diffusion_models/zImageTurboNSFW_72BF16.safetensors",
|
| 301 |
+
"model": "zImageTurboNSFW_72BF16.safetensors",
|
| 302 |
+
"size_bytes": 12309916536,
|
| 303 |
+
"sha256": "656cddba9d8db25c3fcb81ef35cf0e23450f189900907f2710ba90bca313f1d6",
|
| 304 |
+
"templates": [
|
| 305 |
+
"image.ZImageTurbo"
|
| 306 |
+
]
|
| 307 |
+
},
|
| 308 |
+
{
|
| 309 |
+
"path": "models/diffusion_models/z_image_turbo_bf16.safetensors",
|
| 310 |
+
"model": "z_image_turbo_bf16.safetensors",
|
| 311 |
+
"size_bytes": 12309866400,
|
| 312 |
+
"sha256": "2407613050b809ffdff18a4ac99af83ea6b95443ecebdf80e064a79c825574a6",
|
| 313 |
+
"templates": [
|
| 314 |
+
"image.Monica",
|
| 315 |
+
"image.Trixie"
|
| 316 |
+
]
|
| 317 |
+
}
|
| 318 |
+
],
|
| 319 |
+
"censor_hf_cache": [
|
| 320 |
+
{
|
| 321 |
+
"repo_id": "deepghs/anime_censor_detection",
|
| 322 |
+
"revision": "0cf62fd6b28213b40ae0c0055f92e7ae6a96bdc2",
|
| 323 |
+
"filename": "censor_detect_v1.0_s/model.onnx",
|
| 324 |
+
"path": "auxiliary/censor/censor_detect_v1.0_s/model.onnx"
|
| 325 |
+
},
|
| 326 |
+
{
|
| 327 |
+
"repo_id": "erax-ai/EraX-NSFW-V1.0",
|
| 328 |
+
"revision": "aea60ac8d2ebcbe0fcbb29e623eba99945b988a6",
|
| 329 |
+
"filename": "erax_nsfw_yolo11m.pt",
|
| 330 |
+
"path": "auxiliary/censor/erax_nsfw_yolo11m.pt"
|
| 331 |
+
}
|
| 332 |
+
]
|
| 333 |
+
}
|
restore_censor_models.py
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Restore the two upstream HF cache entries used by the censor workers."""
|
| 2 |
+
|
| 3 |
+
import argparse
|
| 4 |
+
import hashlib
|
| 5 |
+
import json
|
| 6 |
+
from pathlib import Path
|
| 7 |
+
import shutil
|
| 8 |
+
|
| 9 |
+
|
| 10 |
+
def main():
|
| 11 |
+
from huggingface_hub.constants import HF_HUB_CACHE
|
| 12 |
+
|
| 13 |
+
parser = argparse.ArgumentParser(description=__doc__)
|
| 14 |
+
parser.add_argument("--repo-dir", type=Path, default=Path(__file__).resolve().parent)
|
| 15 |
+
parser.add_argument("--cache-dir", type=Path, default=Path(HF_HUB_CACHE))
|
| 16 |
+
args = parser.parse_args()
|
| 17 |
+
root = args.repo_dir.resolve()
|
| 18 |
+
manifest = json.loads((root / "model-manifest.json").read_text(encoding="utf-8"))
|
| 19 |
+
models = {f["path"]: f for f in manifest["files"]}
|
| 20 |
+
for entry in manifest["censor_hf_cache"]:
|
| 21 |
+
source = root / entry["path"]
|
| 22 |
+
expected = models[entry["path"]]
|
| 23 |
+
if source.stat().st_size != expected["size_bytes"]:
|
| 24 |
+
raise RuntimeError("File size mismatch: " + str(source))
|
| 25 |
+
digest = hashlib.sha256(source.read_bytes()).hexdigest()
|
| 26 |
+
if digest != expected["sha256"]:
|
| 27 |
+
raise RuntimeError("SHA256 mismatch: " + str(source))
|
| 28 |
+
cache = args.cache_dir / ("models--" + entry["repo_id"].replace("/", "--"))
|
| 29 |
+
blob = cache / "blobs" / digest
|
| 30 |
+
blob.parent.mkdir(parents=True, exist_ok=True)
|
| 31 |
+
if blob.exists():
|
| 32 |
+
if hashlib.sha256(blob.read_bytes()).hexdigest() != digest:
|
| 33 |
+
raise RuntimeError("Existing cache blob is corrupt: " + str(blob))
|
| 34 |
+
else:
|
| 35 |
+
shutil.copyfile(source, blob)
|
| 36 |
+
snapshot = cache / "snapshots" / entry["revision"] / entry["filename"]
|
| 37 |
+
snapshot.parent.mkdir(parents=True, exist_ok=True)
|
| 38 |
+
if snapshot.exists():
|
| 39 |
+
if hashlib.sha256(snapshot.read_bytes()).hexdigest() != digest:
|
| 40 |
+
raise RuntimeError("Existing cache snapshot differs: " + str(snapshot))
|
| 41 |
+
else:
|
| 42 |
+
snapshot.symlink_to(blob.resolve())
|
| 43 |
+
ref = cache / "refs" / "main"
|
| 44 |
+
ref.parent.mkdir(parents=True, exist_ok=True)
|
| 45 |
+
ref.write_text(entry["revision"], encoding="utf-8")
|
| 46 |
+
print("Restored " + entry["repo_id"] + " @ " + entry["revision"])
|
| 47 |
+
print("Set CENSOR_MODELS_DIR=" + str(root / "auxiliary" / "censor") + " before starting ComfyUI.")
|
| 48 |
+
print("The cache directory must be the one used by the ComfyUI service account.")
|
| 49 |
+
|
| 50 |
+
|
| 51 |
+
if __name__ == "__main__":
|
| 52 |
+
main()
|