File size: 1,015 Bytes
b3d2935 b81bae4 b3d2935 b81bae4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | ---
license: apache-2.0
pipeline_tag: text-to-image
tags:
- diffusion
- sdxl
- pulid
- kinship-image-generation
---
# KinDiffusion
Official inference checkpoints for [KinDiffusion](https://github.com/Unilinear/KinDiffusion), a diffusion model for generating child images from two parent photos.
## Checkpoints
| File | Purpose | Size |
| --- | --- | ---: |
| `pytorch_model_3.bin` | Identity encoder | 221 MB |
| `pytorch_model_4.bin` | KinDiffusion UNet | 12.1 GB |
Both files are required for inference. This repository contains model weights; use them with the official KinDiffusion code.
## Download
```bash
git clone https://github.com/Unilinear/KinDiffusion.git
cd KinDiffusion
mkdir -p output/ckpt
hf download Unilinear/KinDiffusion \
pytorch_model_3.bin pytorch_model_4.bin \
--local-dir output/ckpt
```
Then launch the demo:
```bash
python app_kinship.py
```
See the [project README](https://github.com/Unilinear/KinDiffusion#readme) for environment setup and usage instructions.
|