🚀 Red-Dead-Minimalize
Red-Dead-Minimalize 是一個基於 LoRA 的圖像生成模型,可用於生成具有《荒野大鏢客》風格的圖像。它能根據輸入的文本提示,結合圖像生成參數,生成各種風格獨特的圖像。
🚀 快速開始
環境設置
pipe = StableDiffusionXLPipeline.from_pretrained(
"-------------xxxxxxxxx----------",
torch_dtype=torch.float16,
use_safetensors=True,
)
pipe = StableDiffusionXLPipeline.from_pretrained(
"stabilityai/stable-diffusion-xl-base-1.0",
torch_dtype=torch.float16,
use_safetensors=True,
)
pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
pipe.load_lora_weights("prithivMLmods/Canopus-Red-Dead-Minimalize-LoRA", weight_name="Canopus-Red-Dead-Minimalize-LoRA.safetensors", adapter_name="adp")
pipe.set_adapters("adp")
pipe.to("cuda")
觸發提示詞
以下是一些觸發圖像生成的提示詞示例:
- Create an avant-garde reimagining of the iconic movie poster for red dead redemption II but with motorcycles using mixed media and collage techniques. Utilize hues reminiscent of vintage photography and capture Micah character in the surrealist dynamic chaos of the prairie beyond, 8K, lora:red_dead_redemption_offset:1
- Multi form from Super Mario dressed as a cowboy from Red Dead Redemption, Mario has a pancho, a cowboy hat, boots, cowboy look, wild west, black coat, boots, motion picture shot
- Donald Trump from Red Dead Redemption 2 riding a horse next to a train, wide shot, ray tracing, 8k by artgerm and greg rutkowski
觸發關鍵詞
你應該使用 Red Dead Redemption
來觸發圖像生成。
模型下載
此模型的權重以 Safetensors 格式提供。
點擊下載,可在 Files & versions 標籤中找到。
✨ 主要特性
- 基於 LoRA 技術,可生成具有《荒野大鏢客》風格的圖像。
- 支持多種圖像生成參數設置,如學習率調度器、優化器等。
- 可通過特定的觸發提示詞和關鍵詞生成不同風格的圖像。
📦 安裝指南
暫未提供具體的安裝步驟,可參考上述快速開始部分的環境設置代碼。
💻 使用示例
基礎用法
pipe = StableDiffusionXLPipeline.from_pretrained(
"stabilityai/stable-diffusion-xl-base-1.0",
torch_dtype=torch.float16,
use_safetensors=True,
)
pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
pipe.load_lora_weights("prithivMLmods/Canopus-Red-Dead-Minimalize-LoRA", weight_name="Canopus-Red-Dead-Minimalize-LoRA.safetensors", adapter_name="adp")
pipe.set_adapters("adp")
pipe.to("cuda")
高級用法
pipe = StableDiffusionXLPipeline.from_pretrained(
"stabilityai/stable-diffusion-xl-base-1.0",
torch_dtype=torch.float16,
use_safetensors=True,
)
pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
pipe.load_lora_weights("prithivMLmods/Canopus-Red-Dead-Minimalize-LoRA", weight_name="Canopus-Red-Dead-Minimalize-LoRA.safetensors", adapter_name="adp")
pipe.set_adapters("adp")
pipe.to("cuda")
📚 詳細文檔
模型描述
Red-Dead-Minimalize-LoRA 圖像生成模型的相關參數如下:
屬性 |
詳情 |
LR Scheduler |
constant |
Optimizer |
AdamW |
Network Dim |
64 |
Network Alpha |
32 |
Epoch |
10 |
Noise Offset |
0.03 |
Multires Noise Discount |
0.1 |
Multires Noise Iterations |
10 |
Repeat |
20 |
Save Every N Epochs |
1 |
觸發提示參數
參數 |
詳情 |
Prompt |
Donald Trump from Red Dead Redemption 2 riding a horse next to a train, wide shot, ray tracing, 8k by artgerm and greg rutkowski, lora:walking_dead_offset:1 |
Sampler |
euler |
🔧 技術細節
該模型基於 StableDiffusionXL 架構,使用 LoRA 技術進行微調。通過設置不同的圖像生成參數,如學習率調度器、優化器等,可實現不同風格的圖像生成。
📄 許可證
本項目採用 creativeml-openrail-m 許可證。