rapid-anima / scripts /anima_verify_workflow.json
darask0's picture
Initial commit: rapid-anima distillation codebase
77cc641 verified
Raw
History Blame Contribute Delete
2.27 kB
{
"_comment": "ユーザー指定 Anima_simple.json + Anima 公式必須の ModelSamplingAuraFlow shift=3.0 + LoraLoaderModelOnly 追加版。node ID は scripts/generate_dataset.py の patch_workflow が hardcode (positive=5, latent=7, sampler=8) するため、それに合わせて配置。LoRA を使わない場合は LoraLoaderModelOnly の strength_model を 0.0 にする。",
"1": {
"class_type": "UNETLoader",
"inputs": {
"unet_name": "anima-base-v1.0.safetensors",
"weight_dtype": "default"
}
},
"2": {
"class_type": "ModelSamplingAuraFlow",
"inputs": {
"model": ["1", 0],
"shift": 3.0
}
},
"2b": {
"class_type": "LoraLoaderModelOnly",
"inputs": {
"model": ["2", 0],
"lora_name": "anima_turbo.safetensors",
"strength_model": 1.0
}
},
"3": {
"class_type": "CLIPLoader",
"inputs": {
"clip_name": "qwen_3_06b_base.safetensors",
"type": "stable_diffusion",
"device": "default"
}
},
"4": {
"class_type": "CLIPTextEncode",
"inputs": {
"clip": ["3", 0],
"text": "worst quality, low quality, score_1, score_2, score_3, score_4, blurry, deformed, bad anatomy, extra limbs, fused fingers, artist name, text, watermark, lowres, jpeg artifacts, censored"
}
},
"5": {
"class_type": "CLIPTextEncode",
"inputs": {
"clip": ["3", 0],
"text": "$PROMPT"
}
},
"6": {
"class_type": "VAELoader",
"inputs": {
"vae_name": "qwen_image_vae.safetensors"
}
},
"7": {
"class_type": "EmptyLatentImage",
"inputs": {
"width": "$WIDTH",
"height": "$HEIGHT",
"batch_size": 1
}
},
"8": {
"class_type": "KSampler",
"inputs": {
"model": ["2b", 0],
"positive": ["5", 0],
"negative": ["4", 0],
"latent_image": ["7", 0],
"seed": "$SEED",
"steps": 30,
"cfg": 4.5,
"sampler_name": "er_sde",
"scheduler": "simple",
"denoise": 1.0
}
},
"9": {
"class_type": "VAEDecode",
"inputs": {
"samples": ["8", 0],
"vae": ["6", 0]
}
},
"10": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "anima_verify",
"images": ["9", 0]
}
}
}