🚀 艺术媒介(Art-Medium)
Art-Medium 是一款基于 StableDiffusionXL 的图像生成模型,可根据文本提示生成特定风格的图像,适用于艺术、插画等领域。
🚀 快速开始
模型设置
pipe = StableDiffusionXLPipeline.from_pretrained(
"------------------------------",
torch_dtype=torch.float16,
use_safetensors=True,
)
(or)
-----------------------------------------------------------
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-Art-Medium-LoRA", weight_name="prithivMLmods/Canopus-Art-Medium-LoRA.safetensors", adapter_name="mdm")
pipe.set_adapters("mdm")
pipe.to("cuda")
触发词
你可以使用 art
和 illustration
来触发图像生成。以下是一个示例参数:
参数 |
详情 |
提示词 |
An illustration of a deer with large antlers, in the style of 18th century, dark gray and light brown, realistic renderings of the human form, 1860–1969, bengal school of art, die brücke, angura kei --ar 258:197 --v 5.1 --style raw |
采样器 |
euler |
下载模型
该模型的权重以 Safetensors 格式提供。你可以在 Files & versions 标签页 中下载。
✨ 主要特性
- 图像生成风格多样:支持艺术、插画等多种风格的图像生成。
- 基于 StableDiffusionXL:利用先进的图像生成技术,生成高质量的图像。
- 使用 LoRA 技术:提高模型的训练效率和生成效果。
📚 详细文档
模型描述
Canopus-Art 图像的处理参数如下:
参数 |
值 |
参数 |
值 |
学习率调度器 |
constant |
噪声偏移 |
0.03 |
优化器 |
AdamW |
多分辨率噪声折扣 |
0.1 |
网络维度 |
64 |
多分辨率噪声迭代次数 |
10 |
网络阿尔法 |
32 |
重复次数 |
20 |
训练轮数 |
15 |
每 N 轮保存一次 |
1 |
模型示例
小部件示例
以下是一些小部件的输入文本和输出图像示例:
输入文本 |
输出图像 |
A Dog, a simple vector illustration in the style of dark and sublime, against a light green background |
images/dw1.png |
A small monkey standing on a womans shoulder, in the style of darkly romantic illustrations, muted tones, surrealism, bold shadows, flat, animals and people, mysterious jungle, editorial illustrations, caravaggesque chiaroscuro --ar 61:75 --v 5 |
images/dw.png |
Dog , colorful cartoon style, high resolution vector, in the style of simplified and stylized illustrations |
images/dw2.png |
📄 许可证
本模型采用 creativeml-openrail-m
许可证。