| --- |
| tags: |
| - text-to-image |
| - flux |
| - lora |
| - diffusers |
| - template:sd-lora |
| - ai-toolkit |
| widget: |
| - text: ohwx woman, front-facing, high-key commercial lighting, in the northern |
| lights, realistic, in winter hunter clothing |
| output: |
| url: samples/1768332577225__000001500_0.jpg |
| - text: ohwx woman, front-facing, high-key commercial lighting, in the dance club, |
| realistic, in casual white full sleeved shirt |
| output: |
| url: samples/1768337564568__000001500_0.jpg |
| - text: realistic photo of ohwx woman, front-facing, high-key commercial lighting, |
| in the office, professional photo, in an office suit |
| output: |
| url: samples/1768337766754__000001500_0.jpg |
| - text: realistic photo of ohwx woman, front-facing, high-key commercial lighting, |
| pure white background, evenly lit face, no harsh shadows |
| output: |
| url: samples/1768338046992__000001500_0.jpg |
| - text: ohwx woman, front-facing, standing indoors at night, cinematic low-key lighting, |
| single warm practical light behind camera, soft shadows shaping the face, |
| moody atmosphere, film grain, photorealistic |
| output: |
| url: samples/1768332590029__000001500_1.jpg |
| base_model: black-forest-labs/FLUX.1-dev |
| instance_prompt: ohwx |
| license: other |
| license_name: flux-1-dev-non-commercial-license |
| license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md |
| --- |
| |
| # Lock1woConv |
| Model trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit) |
| <Gallery /> |
|
|
| ## Trigger words |
|
|
| You should use `ohwx` to trigger the image generation. |
|
|
| ## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, etc. |
|
|
| Weights for this model are available in Safetensors format. |
|
|
| [Download](/Sudhin05/Lt-toolkit/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.bfloat16).to('cuda') |
| pipeline.load_lora_weights('Sudhin05/Lt-toolkit', weight_name='Lock1woConv.safetensors') |
| image = pipeline('ohwx woman, front-facing, high-key commercial lighting, in the northern lights, realistic, in winter hunter clothing').images[0] |
| image.save("my_image.png") |
| ``` |
|
|
| 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) |
|
|
|
|