---
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
## 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
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).