rapid-anima / scripts /anima_finetune_dataset_workflow.json
darask0's picture
Initial commit: rapid-anima distillation codebase
77cc641 verified
Raw
History Blame Contribute Delete
2.26 kB
{
"_comment": "Fine-tune 用データセット生成 workflow。base=hakushiMixAnima_v02 + LoRA=anima-highres-aesthetic-boost strength 1.0、Anima 公式推奨 30 step CFG=4.5 er_sde simple、ModelSamplingAuraFlow shift=3.0 込み。node ID は scripts/generate_dataset.py の patch_workflow hardcode に合わせて positive=5 latent=7 KSampler=8。",
"1": {
"class_type": "UNETLoader",
"inputs": {
"unet_name": "hakushiMixAnima_v02.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-highres-aesthetic-boost.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": "finetune_data",
"images": ["9", 0]
}
}
}