How to use from the
Use from the
Diffusers library
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("rahul7star/ra3hul")

prompt = "A person in a bustling cafe Ra3hul"
image = pipe(prompt).images[0]

ra3hul

Prompt
A person in a bustling cafe Ra3hul
Prompt
Ra3hul is walking
Prompt
Ra3hul in a mall

Main Trigger Word

ra3hul

Trigger words

ra3hul

Download model and use it with ComfyUI or anywhere

Weights for this model are available in Safetensors format.

Download them in the Files & versions tab.

Use it with the 🧨 diffusers library

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('rahul7star/ra3hul', weight_name='ra3hul.safetensors')
image = pipeline('A person in a bustling cafe Ra3hul').images[0]
image.save("my_image.png")

For more details, including weighting, merging and fusing LoRAs, check the documentation on loading LoRAs in diffusers

Downloads last month
84
Inference Providers NEW
Examples

Model tree for rahul7star/ra3hul

Adapter
(36858)
this model

Spaces using rahul7star/ra3hul 2