File size: 2,978 Bytes
415a0f6
 
 
 
 
 
 
d1ccae5
 
415a0f6
d1ccae5
6318565
415a0f6
a91275a
415a0f6
 
 
 
 
 
 
 
 
 
 
 
 
 
5622d5e
 
fa4e67c
5622d5e
96215f1
 
 
 
 
 
 
 
 
5622d5e
 
06fc500
 
 
165fd01
966e044
06fc500
 
 
 
 
 
 
 
 
 
 
8f06d3d
06fc500
 
 
5622d5e
415a0f6
 
 
 
 
 
 
 
d1ccae5
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
---
tags:
- flux
- text-to-image
- lora
- diffusers
- fal
base_model:
- black-forest-labs/FLUX.1-Kontext-dev
instance_prompt: make it real
license: apache-2.0
pipeline_tag: image-to-image
---
# Draw2Photo Kontext LoRA

<Gallery />


## Model description




## Trigger words

You should use `make it real` to trigger the image generation.


## 📊 Examples

| Input | Output |
|-----------|--------|
| ![ref1](https://huggingface.co/ovi054/Draw2Photo-Kontext-LoRA/resolve/main/examples/01i.jpg) | ![res1](https://huggingface.co/ovi054/Draw2Photo-Kontext-LoRA/resolve/main/examples/01o.jpg) |
| ![ref2](https://huggingface.co/ovi054/Draw2Photo-Kontext-LoRA/resolve/main/examples/02i.jpg) | ![res2](https://huggingface.co/ovi054/Draw2Photo-Kontext-LoRA/resolve/main/examples/02o.jpg) |
| ![ref3](https://huggingface.co/ovi054/Draw2Photo-Kontext-LoRA/resolve/main/examples/04i.jpg) | ![res3](https://huggingface.co/ovi054/Draw2Photo-Kontext-LoRA/resolve/main/examples/04o.jpg) |
| ![ref4](https://huggingface.co/ovi054/Draw2Photo-Kontext-LoRA/resolve/main/examples/06i.jpg) | ![res4](https://huggingface.co/ovi054/Draw2Photo-Kontext-LoRA/resolve/main/examples/06o.jpg) |
| ![ref5](https://huggingface.co/ovi054/Draw2Photo-Kontext-LoRA/resolve/main/examples/08i.jpg) | ![res5](https://huggingface.co/ovi054/Draw2Photo-Kontext-LoRA/resolve/main/examples/08o.jpg) |
| ![ref6](https://huggingface.co/ovi054/Draw2Photo-Kontext-LoRA/resolve/main/examples/07i.jpg) | ![res4](https://huggingface.co/ovi054/Draw2Photo-Kontext-LoRA/resolve/main/examples/07o.jpg) |
| ![ref7](https://huggingface.co/ovi054/Draw2Photo-Kontext-LoRA/resolve/main/examples/09i.jpg) | ![res5](https://huggingface.co/ovi054/Draw2Photo-Kontext-LoRA/resolve/main/examples/09o.jpg) |
| ![ref10](https://huggingface.co/ovi054/Draw2Photo-Kontext-LoRA/resolve/main/examples/10i.jpg) | ![res4](https://huggingface.co/ovi054/Draw2Photo-Kontext-LoRA/resolve/main/examples/10o.jpg) |
| ![ref11](https://huggingface.co/ovi054/Draw2Photo-Kontext-LoRA/resolve/main/examples/11i.jpg) | ![res5](https://huggingface.co/ovi054/Draw2Photo-Kontext-LoRA/resolve/main/examples/11o.jpg) |


## ⚙️ How to use
1. You need a drawing and a face  
   - Put face right top of the image  
2. Add the trigger word `make it real` in your prompt.  
3. Adjust LoRA weight (recommended **1.0**)

## Try it Online / Demo Space

We have built a demo space to try it easily.
Try it now: [huggingface.co/spaces/ovi054/Draw2Photo](https://huggingface.co/spaces/ovi054/Draw2Photo).

## Try it Locally with Gradio UI

```shell
git clone https://huggingface.co/spaces/ovi054/Draw2Photo
cd Draw2Photo
pip install -r requirements.txt
python app.py
```
  

## Download model

Weights for this model are available in Safetensors format.

[Download](/ovi054/Draw2Photo/tree/main) them in the Files & versions tab.

## Training at fal.ai

Training was done using [fal.ai/models/fal-ai/flux-kontext-trainer](https://fal.ai/models/fal-ai/flux-kontext-trainer).