Instructions to use glif-loradex-trainer/ylucic_flux_dev_RGB_PixelSorting_captions with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use glif-loradex-trainer/ylucic_flux_dev_RGB_PixelSorting_captions with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("glif-loradex-trainer/ylucic_flux_dev_RGB_PixelSorting_captions") prompt = "a portrait of a man standing on a street. He is wearing a denim jacket with patches in PXSRT style" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
metadata
base_model: black-forest-labs/FLUX.1-dev
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
tags:
- diffusers
- text-to-image
- template:sd-lora
- base_model:black-forest-labs/FLUX.1-dev
- base_model:finetune:black-forest-labs/FLUX.1-dev
- license:other
- region:us
- flux
- lora
widget:
- output:
url: >-
https://huggingface.co/glif-loradex-trainer/ylucic_flux_dev_RGB_PixelSorting_captions/resolve/main/samples/1727050616290__000003000_0.jpg
text: >-
a portrait of a man standing on a street. He is wearing a denim jacket
with patches in PXSRT style
- output:
url: >-
https://huggingface.co/glif-loradex-trainer/ylucic_flux_dev_RGB_PixelSorting_captions/resolve/main/samples/1727050641047__000003000_1.jpg
text: >-
a portrait of a woman standing in front of a wall of vinyl records. She is
wearing a denim jacket and has shoulder-length brown hair in PXSRT style
- output:
url: >-
https://huggingface.co/glif-loradex-trainer/ylucic_flux_dev_RGB_PixelSorting_captions/resolve/main/samples/1727050665798__000003000_2.jpg
text: >-
a close-up of a large pink peony flower with multiple layers of petals.
The petals are a soft pink color with hints of white in PXSRT style
trigger: in PXSRT style
instance_prompt: in PXSRT style
flux_dev_RGB_PixelSorting_captions
Model trained with AI Toolkit by Ostris under the Glif Loradex program by Glif user ylucic.

- Prompt
- a portrait of a man standing on a street. He is wearing a denim jacket with patches in PXSRT style

- Prompt
- a portrait of a woman standing in front of a wall of vinyl records. She is wearing a denim jacket and has shoulder-length brown hair in PXSRT style

- Prompt
- a close-up of a large pink peony flower with multiple layers of petals. The petals are a soft pink color with hints of white in PXSRT style
Trigger words
You should use in PXSRT style to trigger the image generation.
Download model
Weights for this model are available in Safetensors format. Download them in the Files & versions tab.
License
This model is licensed under the flux-1-dev-non-commercial-license.