flux-pencil-v2 / README.md
brushpenbob's picture
Upload folder using huggingface_hub
e1baeba verified
---
license: other
license_name: bespoke-lora-trained-license
license_link: https://multimodal.art/civitai-licenses?allowNoCredit=False&allowCommercialUse=RentCivit&allowDerivatives=False&allowDifferentLicense=False
tags:
- text-to-image
- stable-diffusion
- lora
- diffusers
- template:sd-lora
- migrated
- pencil
- style
- the protoart
- flux.1
base_model: black-forest-labs/FLUX.1-dev
instance_prompt: evang style
widget:
- text: ' '
output:
url: >-
26193927.jpeg
- text: ' '
output:
url: >-
26193935.jpeg
- text: ' '
output:
url: >-
26193936.jpeg
---
# Flux Pencil v2
<Gallery />
## Model description
<p>remastered for XL model and remake of the previous <a rel="ugc" href="https://civitai.com/models/659793/pencil-flux-v1">flux pencil </a></p><p></p><div data-youtube-video><iframe width="640" height="480" allowfullscreen="true" autoplay="false" disablekbcontrols="false" enableiframeapi="false" endtime="0" ivloadpolicy="0" loop="false" modestbranding="false" origin playlist src="https://www.youtube.com/embed/QynE0UGQhRs" start="0"></iframe></div>
## Trigger words
You should use `evang style` to trigger the image generation.
## Download model
Weights for this model are available in Safetensors format.
[Download](/brushpenbob/flux-pencil-v2/tree/main) them 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.float16).to('cuda')
pipeline.load_lora_weights('brushpenbob/flux-pencil-v2', weight_name='Flux_Pencil_v2_r1.safetensors')
image = pipeline('`evang style`').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)