new-test
Collection
34 items
•
Updated
You should use nsfw
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/nsfw-detection', weight_name='nsfw-detection.safetensors')
image = pipeline('a woman in a bikini riding a surfboard on the ocean, with the sky in the background. She is animated, with her arms outstretched as she rides the wave. nsfw').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