--- tags: - text-to-image - flux - lora - diffusers - template:sd-lora - ai-toolkit widget: - text: >- illustration of a white deer with antlers standing in the middle of a forest. in the style of TOK output: url: samples/1739553969749__000001000_0.jpg - text: >- illustration of a castle with stairs leading up to it, illuminated by lights and surrounded by rocks. The sky is filled with stars, creating a magical atmosphere. in the style of TOK output: url: images/example_zx01i6mkl.png - text: >- an hourglass sitting atop a rock in the middle of a night sky, with a crescent moon in the background and stars twinkling in the darkness. The hourglass is filled with sand, symbolizing the passage of time. in the style of TOK output: url: images/example_t21wg2ri2.png - text: >- Blue tone Illustration of a girl playing guitar electric like a rockstar in the sky. Her puppy dog is dancing and is very happy. In the style of TOK output: url: images/example_8gpkc1n7a.png - text: >- illustration of engineer working on his laptop, on top of a hill, surrounded with night sky. in the style of TOK output: url: images/example_21dxtp0af.png - text: >- illustration of a white deer with antlers standing in the middle of a forest. in the style of TOK output: url: images/example_hiuu0130c.png base_model: black-forest-labs/FLUX.1-dev instance_prompt: in the style of TOK 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 --- # oniric-750 Model trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit) ## Trigger words You should use `in the style of TOK` 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](/fffiloni/oniric-750/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('fffiloni/oniric-750', weight_name='oniric-750.safetensors') image = pipeline('illustration of a white deer with antlers standing in the middle of a forest. in the style of TOK').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)