🚀 ntcai.xyz滑塊 - 像素藝術 (SDXL LoRA)
本項目是基於StableDiffusionXL的LoRA模型,用於生成像素藝術風格的圖像。通過不同的強度設置和觸發詞,能讓你輕鬆生成獨特的像素藝術作品。
🚀 快速開始
模型效果展示
更多內容請查看 https://sliders.ntcai.xyz/sliders/app/loras/14aaf0b7-7119-49a5-bb2f-04c5c0fb4a65
📦 安裝指南
模型權重以Safetensors格式提供,可直接下載使用。
💻 使用示例
基礎用法
from diffusers import StableDiffusionXLPipeline
from diffusers import EulerAncestralDiscreteScheduler
import torch
pipe = StableDiffusionXLPipeline.from_single_file("https://huggingface.co/martyn/sdxl-turbo-mario-merge-top-rated/blob/main/topRatedTurboxlLCM_v10.safetensors")
pipe.to("cuda")
pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
pipe.load_lora_weights('ntc-ai/SDXL-LoRA-slider.pixel-art', weight_name='pixel art.safetensors', adapter_name="pixel art")
pipe.set_adapters(["pixel art"], adapter_weights=[2.0])
prompt = "medieval rich kingpin sitting in a tavern, pixel art"
negative_prompt = "nsfw"
width = 512
height = 512
num_inference_steps = 10
guidance_scale = 2
image = pipe(prompt, negative_prompt=negative_prompt, width=width, height=height, guidance_scale=guidance_scale, num_inference_steps=num_inference_steps).images[0]
image.save('result.png')
觸發詞
你可以使用以下觸發詞來應用此LoRA以獲得額外效果:
pixel art
📚 詳細文檔
支持Patreon
如果你喜歡這個模型,請考慮 加入我們的Patreon。
加入我們的Patreon,你將可以訪問一個不斷增長的庫,其中包含超過1496個獨特多樣的LoRA以及14602個以上的滑塊合併,涵蓋各種風格和類型。你還將獲得新模型和更新的早期訪問權、獨家幕後內容,以及強大的 NTC Slider Factory LoRA創建器,讓你能夠製作自己的自定義LoRA和合並,開啟無限可能。
你在Patreon上的支持將使我們能夠繼續開發新的模型和工具。
其他資源
📄 許可證
本項目採用MIT許可證。
屬性 |
詳情 |
模型類型 |
SDXL LoRA |
訓練數據 |
未提及 |