NEW Launch
Collection
72 items β’ Updated β’ 1
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("seawolf2357/test-bag4")
prompt = "a woman wearing a white shirt and black leggings, standing on a set of stairs with a black Chanel bag in her hand. The background of the image is a building. [trigger]"
image = pipe(prompt).images[0]Model trained with AI Toolkit by Ostris

You should use handbag to trigger the image generation.
Weights for this model are available in Safetensors format.
Download them in the Files & versions tab.
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('seawolf2357/test-bag4', weight_name='test-bag4.safetensors')
image = pipeline('a woman wearing a white shirt and black leggings, standing on a set of stairs with a black Chanel bag in her hand. The background of the image is a building. [trigger]').images[0]
image.save("my_image.png")
For more details, including weighting, merging and fusing LoRAs, check the documentation on loading LoRAs in diffusers
Base model
black-forest-labs/FLUX.1-dev