๐ Keira Knightley (Flux)
A LoRA model of Keira Knightley trained for Flux, enabling text - to - image generation.
๐ Quick Start
This model allows you to generate images of Keira Knightley based on text prompts. You can use it with the ๐งจ diffusers library.
โจ Features
- Text - to - Image Generation: Generate high - quality, photorealistic images of Keira Knightley according to text prompts.
- Based on Stable Diffusion: Built on the Stable Diffusion framework, leveraging its powerful image - generation capabilities.
- LoRA Integration: Utilizes LoRA technology for efficient fine - tuning and adaptation.
๐ฆ Installation
You need to have the diffusers
library installed. You can install it using the following command:
pip install diffusers
๐ป Usage Examples
Basic Usage
from diffusers import AutoPipelineForText2Image
import torch
device = "cuda" if torch.cuda.is_available() else "cpu"
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to(device)
pipeline.load_lora_weights('Keltezaa/keira-knightley-flux', weight_name='Keira_Knightley_Flux.safetensors')
image = pipeline(' beautiful detailed photograph, shoulder length stylish updo with strands of hair framing her face, She is wearing a chic dress, standing in a cafe looking at the viewer.').images[0]
Advanced Usage
For more details, including weighting, merging and fusing LoRAs, check the documentation on loading LoRAs in diffusers.
๐ Documentation
Here are some example text prompts and their corresponding output image URLs:
Prompt |
Output Image URL |
beautiful detailed photograph, shoulder length stylish updo with strands of hair framing her face, She is wearing a chic dress, standing in a cafe looking at the viewer. |
34968048.jpeg |
beautiful detailed photograph, Her face is symmetrical, sophisticated aesthetic. Her hair is an updo with a few loose strands framing her face and styled in loose waves. Her eyes are a warm brown color almond - shaped, with a slender nose. She is wearing a chic dress, standing in cafe looking at the viewer. |
34968104.jpeg |
beautiful detailed photograph, She is wearing a chic dress, standing in cafe looking at the viewer. |
34968083.jpeg |
beautiful detailed photograph, shoulder length stylish updo with strands of hair framing her face, She is wearing a chic dress, standing in a cafe looking at the viewer. |
34968119.jpeg |
Elegant Closeup Portrait Photo, Dynamic, looking at the camera, Keira Knightley as Elizabeth Swann, standing at the helm of the Black Pearl under a starlit sky. She is dressed in her iconic pirate attire, with a billowy white shirt, brown corset, Her hair is pulled back into a loose bun, with a few rebellious strands framing her face and dancing in the salty breeze. A tricorn hat with a draping feather sits atop her head, casting a shadow over her eyes as she gazes into the distant horizon. Her hand grips the wooden helm with determination, the wind tugging at the ship's wheel as the vessel slices through the dark waters. The reflection of the stars and the soft glow of the ship's lanterns play upon her skin, highlighting her fiery resolve. The scene is one of empowerment and freedom, with Elizabeth Swann as the unyielding pirate queen, navigating the treacherous waters of the Caribbean with a spirit that matches the boundless horizon before her. |
images/example_n8s9367gp.png |
๐ License
This model is licensed under the [bespoke - lora - trained - license](https://multimodal.art/civitai - licenses?allowNoCredit=True&allowCommercialUse=Sell&allowDerivatives=True&allowDifferentLicense=True).