🚀 Keira Knightley (Flux)
本项目是基于Flux训练的以Keira Knightley为主题的模型,可用于文本到图像的转换,生成具有Keira Knightley特征的逼真图像。
🚀 快速开始
模型描述
Keira Knightley - 专为Flux训练。
下载模型
该模型的权重以Safetensors格式提供。可在Files & versions标签中下载。
使用🧨 diffusers库
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]
有关更多详细信息,包括LoRA的加权、合并和融合,请查看diffusers中加载LoRA的文档。
✨ 主要特性
- 文本到图像转换:支持将文本描述转换为图像。
- 多种风格:能够生成逼真、性感等多种风格的图像。
- 特定人物主题:以Keira Knightley为主题进行训练。
📦 安装指南
暂未提及具体安装步骤,可参考上述使用diffusers
库的代码示例进行操作。
💻 使用示例
基础用法
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]
高级用法
暂未提供高级用法示例,可参考diffusers中加载LoRA的文档进行探索。
📚 详细文档
标签信息
属性 |
详情 |
模型类型 |
文本到图像、Stable Diffusion、LoRA、Diffusers |
训练数据 |
未提及 |
小部件示例
以下是一些文本输入及对应的图像输出示例:
输入文本 |
输出图像链接 |
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 |
📄 许可证
本模型使用bespoke-lora-trained-license许可证。