🚀 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 |
训练数据 |
未提及 |