Skip to content

Instantly share code, notes, and snippets.

@ryuto0712
ryuto0712 / dl_zit_v2.sh
Created May 13, 2026 21:29
ZiT NSFW DL v2 (fresh, no resume)
#!/bin/bash
# v2: rm + wget (no --continue / no -c)
set -e
T=/runpod-volume/models/diffusion_models/z_image_turbo_nsfw_zit_v72_bf16.safetensors
echo "=== before ==="
ls -lh "$T" 2>/dev/null || echo "(not found)"
echo ""
@ryuto0712
ryuto0712 / dl_zit.sh
Last active May 13, 2026 21:28
Kafkana ZiT NSFW DL resume helper (2026-05-13)
#!/bin/bash
# ZiT NSFW を完全新規 DL (resume が R2 で壊れるため、不完全ファイル削除して新規 DL)
set -e
TARGET=/runpod-volume/models/diffusion_models/z_image_turbo_nsfw_zit_v72_bf16.safetensors
URL="https://civitai.com/api/download/models/2869694?token=$CIVITAI_API_KEY"
echo "=== ZiT NSFW: 不完全ファイル削除 + 完全新規 DL ==="
echo "TARGET: $TARGET"
echo "Before: $(ls -lh "$TARGET" 2>/dev/null | awk '{print $5}' || echo 'not found')"