🚀 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 许可证。