🚀 汽车模型
本项目提供的汽车模型可用于图像生成,能根据不同的提示词生成各种风格的汽车图像,适用于设计、创意等领域。
🚀 快速开始
模型设置
以下是设置模型的代码示例:
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/Canes-Cars-Model-LoRA", weight_name="Canes-Cars-Model-LoRA.safetensors", adapter_name="car")
pipe.set_adapters("car")
pipe.to("cuda")
触发提示词
以下是一些触发图像生成的提示词示例:
- A black Ford Mustang was photographed on the side of an abandoned road in British Columbia, Canada surrounded by trees and grass. The car is driving fast down the dirt road at sunset. Light beams shine from its headlights. Shot in the style of Peter Lindbergh for Aman Resorts --ar 85:128 --v 6.0 --style raw
- A car's headlights illuminate part of its body. This scene creates a tranquil atmosphere with soft lighting and warm tones, in the style of minimalism. --ar 85:128 --v 6.0 --style raw
- An vector illustration of an old car on the road, in a retro poster style with orange and yellow colors, featuring vintage cars from past years, set against a backdrop of mountains, trees, clouds, and sunset. The scene captures a sense of adventure as if moving through time in a classic automotive journey. It's an appealing design that would be perfect for travel-themed projects or packaging materials related to vintage vehicles, in the style of retro posters. --ar 128:89 --v 6.0 --style raw
触发词
你可以使用 Cars
或 Concept Cars
来触发图像生成。
下载模型
该模型的权重以 Safetensors 格式提供。
点击下载,可在 “Files & versions” 标签中获取。
✨ 主要特性
本模型专注于汽车相关的图像生成,支持多种风格,如写实、简约、复古等。通过设置不同的参数,可以生成多样化的汽车图像。
📚 详细文档
模型描述
汽车模型 / 概念车模型
图像生成参数如下:
属性 |
详情 |
模型类型 |
Cars-Model / Concept Cars |
LR Scheduler |
constant |
Noise Offset |
0.03 |
Optimizer |
AdamW |
Multires Noise Discount |
0.1 |
Network Dim |
64 |
Network Alpha |
32 |
Epoch |
20 |
Save Every N Epochs |
1 |
Multires Noise Iterations |
10 |
Repeat |
20 |
提示词参数
参数 |
值 |
Prompt |
A car's headlights illuminate part of its body. This scene creates a tranquil atmosphere with soft lighting and warm tones, in the style of minimalism. --ar 85:128 --v 6.0 --style raw |
Sampler |
euler |
📄 许可证
本模型使用的许可证为 creativeml-openrail-m
。