🚀 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 |