🚀 藝術媒介(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
許可證。