Downloads · 30 days
76
9% of all-time downloads
flymy-ai/flux-dev-anne-hathaway-lora
flux-dev-anne-hathaway-lora is a text-to-image model from flymy-ai. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as apache-2.0.
Downloads · 30 days
76
9% of all-time downloads
All-time downloads
842
Public
Repo size
184 MB
Likes
3
Public
Click a slice to open those files.
.safetensors179 MB · 98%
From the Hugging Face model README
Lora for FLUX.1-dev
ohwx woman trigger word required
Agentic Infra for GenAI. FlyMy.AI is a B2B infrastructure for building and running GenAI Media agents.
🔗 Useful Links:
from diffusers import DiffusionPipeline
import torch
model_name = "black-forest-labs/FLUX.1-dev"
# Load the pipeline
if torch.cuda.is_available():
torch_dtype = torch.bfloat16
device = "cuda"
else:
torch_dtype = torch.float32
device = "cpu"
pipe = DiffusionPipeline.from_pretrained(model_name, torch_dtype=torch_dtype)
pipe = pipe.to(device)
# Load LoRA weights
pipe.load_lora_weights('flux_anne_hathaway.safetensors', adapter_name="lora")
prompt = '''Portrait of ohwx woman, professional headshot, studio lighting, elegant pose, looking at camera, soft shadows, high quality, detailed facial features, cinematic lighting, 85mm lens, shallow depth of field'''
negative_prompt = "blurry, low quality, distorted, bad anatomy"
image = pipe(
prompt=prompt,
negative_prompt=negative_prompt,
width=1024,
height=1024,
num_inference_steps=30,
guidance_scale=3.5,
generator=torch.Generator(device="cuda").manual_seed(346346)
)
# Display the image (in Jupyter or save to file)
image.show()
# or
image.save("output.png")

We provide a ready-to-use ComfyUI workflow that works with our trained LoRA models. Follow these steps to set up and use the workflow:
Download the latest ComfyUI:
Install ComfyUI:
Download FLUX.1-dev model weights:
Place FLUX.1-dev weights in ComfyUI:
ComfyUI/models/Download our pre-trained LoRA weights:
.safetensors filesPlace LoRA weights in ComfyUI:
flymy-ai/flux-anne-hathaway-lora/pytorch_lora_weights.safetensors to ComfyUI/models/loras/Load the workflow:
flux_anne_hathaway_lora_example.json located in this repositoryThe ComfyUI workflow provides a user-friendly interface for generating images with our trained LoRA models without needing to write Python code.

Below are examples of images generated with our Anne Hathaway LoRA model:
Prompt: "ohwx woman portrait selfie"

Prompt: "ohwx woman perfectly symmetrical young female face close-up, presented with double exposure overlay blending nature textures like leaves and water"

Prompt: "ohwx woman Macro photography style close-up of female face with light makeup, focused on eyes and lips, illuminated by golden hour sunlight for warm tones"

Prompt: "Close-up of ohwx woman in brown knitted turtleneck sweater. Sitting with big black and white panda, hugging it, looking at camera"

Test this LoRA model directly in your browser:
If you have questions or suggestions, join our community:
⭐ Don't forget to star the repository if you like it!