🚀 👑 Katherine Heigl (90s)(Flux) 🎬
本項目是一個基於Stable Diffusion的LoRA模型,用於生成特定風格的圖像,特別是以Katherine Heigl為主題的逼真圖像。該模型使用特定的數據集進行訓練,能夠與其他模型良好融合,為用戶帶來高質量的圖像生成體驗。
🚀 快速開始
下載模型
此模型的權重以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/katherine-heigl-90s-flux', weight_name='KatherineHeigl_flux_lora_v1.safetensors')
image = pipeline('Breathtaking over the shoulder shot photography of ohwx looking at viewer, high collar white blouse, imperfections, necklace with ornament falling down her back, looking over shoulders, eyelashes, fine hair detail, entire hairstyle visible, perfect eyes with iris pattern, sensual lips, nose, (perfectly sharp:1.3), realistic textures, (deep focus on subject, blurred background:1.4), 8k uhd, dslr, ultra high quality image, film grain, Fujifilm XT3').images[0]
更多詳細信息,包括LoRA的加權、合併和融合,請查看 diffusers中加載LoRA的文檔。
✨ 主要特性
- 主題明確:專注於生成以Katherine Heigl為主題的圖像,適用於對該名人感興趣的用戶。
- 數據優化:構建LoRA所使用的數據集90%僅包含頭部圖像,有助於與其他LoRA或模型更好地融合,避免手部、腳部等信息對最終圖像渲染的干擾。
- 特定模型適配:該LoRA是為Flux.1 Dev訓練的,雖然可以與其他模型配合使用,但需要適當調整一些參數。
📚 詳細文檔
模型描述
- 工作流:https://civitai.com/models/1088678
- 數據集特點:構建LoRA所使用的數據集90%僅使用頭部圖像,這有助於與其他LoRA或模型更好地融合,因為沒有手部、腳部等可能會干擾最終圖像渲染的信息。當使用人物LoRA出現手部扭曲的情況時,通常是因為訓練LoRA的數據集包含手部信息,而本項目的LoRA不會出現這種情況。
- 訓練模型:該LoRA是在Flux.1 Dev上訓練的,因此其他合併或訓練的檢查點可能與本LoRA配合不佳。
- 缺點說明:可能存在身體部分與現實不符的情況,但這不一定是缺點。
- 使用建議:該LoRA適用於Flux.1 Dev,也可與其他模型配合使用,但需要刪除一些簡單的塊(建議從19 - 32開始)。由於使用ai - toolkit進行訓練,因此合併該LoRA並不容易。
最佳結果參數
- 指導值(Guidance):2.2 - 3
- 步數(Steps,dev):30 - 40
- daemon detailer(lying sigma sampler):因子(factor)為 - 0.02,開始(start)為0.06,結束(end)為0.75
- 分辨率:將潛在圖像上採樣1.25或1.5倍,你將獲得出色的結果。
觸發詞
你應該使用 ohwx
來觸發圖像生成。
📄 許可證
本項目使用的許可證為 bespoke - lora - trained - license。
標籤信息
屬性 |
詳情 |
模型類型 |
LoRA(Low - Rank Adaptation) |
基礎模型 |
black - forest - labs/FLUX.1 - dev |
標籤 |
text - to - image、stable - diffusion、lora、diffusers、template:sd - lora、migrated、photorealistic、woman、actress、celebrity、girls、realistic |