Diffusers How to use prithivMLmods/3D-Render-Flux-LoRA 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("prithivMLmods/3D-Render-Flux-LoRA")
prompt = "3D Portrait, An eye-level perspective, a close-up of a young childs face, is depicted in a multi-colored, monochromatic fashion. The childs eyes are a piercing blue, and her hair is a vibrant shade of green, with a mix of brown and orange highlights. Her hair is pulled back in a ponytail, adding a pop of color to the scene. She is wearing a white turtleneck, and the background is a pale purple. Her eyebrows are a darker shade of brown, while her lips are a lighter shade of blue. Her nose is adorned with a tiny red dot."
image = pipe(prompt).images[0]