File size: 3,495 Bytes
67d35d0
7968f81
 
 
 
 
736eacf
 
7968f81
29679e2
7968f81
c2a9013
29679e2
7968f81
c2a9013
29679e2
7968f81
c2a9013
7968f81
 
 
 
 
2dd465c
7968f81
 
 
2dd465c
7968f81
 
203eb36
2dd465c
259ee83
ad54f4f
 
7968f81
 
ea9110d
51ca4ca
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
tags:
- text-to-image
- flux
- lora
- diffusers
pipeline_tag: text-to-image
thumbnail: "https://cdn-uploads.huggingface.co/production/uploads/633792e60578e2c92edffc1e/dNdc3ktAsZVsS6eVsqnJx.webp"
widget:
- text: In the style of TOK, a photo editorial avant-garde dramatic action pose of a woman short blue hair wearing 70s round wacky sunglasses pulling glasses down looking forward, in Tokyo with large marble structures and bonsai trees at sunset with a vibrant illustrated jacket surrounded by illustrations of flowers, smoke, flames, ice cream, sparkles, rock and roll 
  output:
    url: images/example1.webp
- text: In the style of TOK, a photo editorial avant-garde dramatic action pose of a person wearing 90s round wacky sunglasses pulling glasses down looking forward, in Tokyo with large marble structures and bonsai trees at sunset with a vibrant illustrated jacket surrounded by illustrations of flowers, smoke, flames, ice cream, sparkles, rock and roll 
  output:
    url: images/example2.webp
- text: In the style of TOK, a photo editorial avant-garde dramatic action pose of a person wearing 90s round wacky sunglasses pulling glasses down looking forward, in Seattle at sunset with a vibrant illustrated jacket surrounded by illustrations of flowers, smoke, flames, ice cream, sparkles, rock and roll
  output:
    url: images/example3.webp
base_model: black-forest-labs/FLUX.1-dev
instance_prompt: in the style of TOK
license: other
license_name: flux-dev-license
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
---
# Create unique half illustrated, half photo images

<Gallery />

## Model description 

Flux Dev 1 model that creates images with both photographic and illustrative elements. Pretty cool right? I've trained this model on a curated collection of images gathered from Pinterest. I am not the creator of the original art used for the fine-tuned training, but want to provide access for creative exploration. You can run the model for yourself or train your own on Replicate. Let me know your thoughts and have a wonderful day!

https://replicate.com/lucataco/ai-toolkit/readme<br>
https://replicate.com/lucataco/flux-dev-lora


## Trigger words

It would help if you used `in the style of TOK` for better style preservation. It is best to place the trigger words first and describe illustrative elements in your scene like clothing or expressive elements.

## Download model

[Download the *.safetensors LoRA](https://huggingface.co/davisbro/half_illustration/tree/main) in the Files & versions tab.

## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)

```py
from diffusers import AutoPipelineForText2Image
import torch
pipeline = AutoPipelineForText2Image.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16).to('cuda')
pipeline.load_lora_weights('davisbro/half_illustration', weight_name='flux_train_replicate.safetensors')
image = pipeline('A 50mm bokeh photo of a fashion show in paris, midday sun, surrounded by the colorful friendly rock and roll text "Paris" and other french themed doodles').images[0]
```

For more details, including weighting, merging and fusing LoRAs, check the [documentation on loading LoRAs in diffusers](https://huggingface.co/docs/diffusers/main/en/using-diffusers/loading_adapters)

## License

Please adhere to the licensing terms as described [here](https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md).