🚀 Emily Blunt (Flux)
本项目基于文本生成图像技术,以特定模型为基础进行训练,可生成具有特定风格和特征的图像,尤其适用于生成以Emily Blunt为风格的图像。
🚀 快速开始
模型下载
此模型的权重以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/emily-blunt-flux', weight_name='Emily_Blunt_Flux.safetensors')
image = pipeline(' The image is a high-resolution photograph featuring a young woman, delicate appearance, dark eyelashes and a thin line of mascara. Her eyebrows are well-groomed and dark, wavy brown styled hair, she has fair skin, standing in a cafe wearing a blouse and a skirt').images[0]
更多详细信息,包括LoRAs的加权、合并和融合,请查看diffusers中加载LoRAs的文档。
✨ 主要特性
- 文本到图像转换:支持根据文本描述生成相应的图像。
- 特定风格生成:能够生成具有Emily Blunt风格的图像。
📦 安装指南
暂未提供安装步骤相关内容。
💻 使用示例
基础用法
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/emily-blunt-flux', weight_name='Emily_Blunt_Flux.safetensors')
image = pipeline(' The image is a high-resolution photograph featuring a young woman, delicate appearance, dark eyelashes and a thin line of mascara. Her eyebrows are well-groomed and dark, wavy brown styled hair, she has fair skin, standing in a cafe wearing a blouse and a skirt').images[0]
高级用法
暂未提供高级用法相关代码示例。
📚 详细文档
可参考diffusers中加载LoRAs的文档获取更多详细信息。
🔧 技术细节
暂未提供相关技术细节内容。
📄 许可证
本项目使用的许可证为bespoke-lora-trained-license。
信息表格
属性 |
详情 |
模型类型 |
基于文本到图像转换的LoRA模型 |
基础模型 |
black-forest-labs/FLUX.1-dev |