---
语言:
- 英文
缩略图: "images/evaluate/喜极而泣.../happy crying_17_3.0.png"
微件:
- 文本: 喜极而泣
输出:
链接: images/happy crying_17_3.0.png
- 文本: 喜极而泣
输出:
链接: images/happy crying_19_3.0.png
- 文本: 喜极而泣
输出:
链接: images/happy crying_20_3.0.png
- 文本: 喜极而泣
输出:
链接: images/happy crying_21_3.0.png
- 文本: 喜极而泣
输出:
链接: images/happy crying_22_3.0.png
标签:
- 文生图
- 稳定扩散XL
- LoRA
- 模板:sd-lora
- 模板:sdxl-lora
- sdxl滑块
- ntcai.xyz滑块
- 概念
- 扩散器
许可证: "mit"
推理: false
实例提示: "喜极而泣"
基础模型: "stabilityai/stable-diffusion-xl-base-1.0"
---
# ntcai.xyz滑块 - 喜极而泣 (SDXL LoRA)
| 强度: -3 | 强度: 0 | 强度: 3 |
| --- | --- | --- |
| <img src="images/happy crying_17_-3.0.png" width=256 height=256 /> | <img src="images/happy crying_17_0.0.png" width=256 height=256 /> | <img src="images/happy crying_17_3.0.png" width=256 height=256 /> |
| <img src="images/happy crying_19_-3.0.png" width=256 height=256 /> | <img src="images/happy crying_19_0.0.png" width=256 height=256 /> | <img src="images/happy crying_19_3.0.png" width=256 height=256 /> |
| <img src="images/happy crying_20_-3.0.png" width=256 height=256 /> | <img src="images/happy crying_20_0.0.png" width=256 height=256 /> | <img src="images/happy crying_20_3.0.png" width=256 height=256 /> |
## 下载
该模型的权重文件可通过Safetensors格式获取。
## 触发词
您可以通过以下触发词增强该LoRA的效果:
喜极而泣
## 在diffusers中使用
```python
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)
# 加载LoRA
pipe.load_lora_weights('ntc-ai/SDXL-LoRA-slider.happy-crying', weight_name='happy crying.safetensors', adapter_name="喜极而泣")
# 激活LoRA
pipe.set_adapters(["喜极而泣"], adapter_weights=[2.0])
prompt = "中世纪富有的帮派首领坐在酒馆里,喜极而泣"
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')
支持Patreon
如果您喜欢这个模型,请考虑加入我们的Patreon。
加入Patreon后,您将获得访问不断增长的760+独特多样LoRA库的权限,涵盖各种风格和类型。您还将提前获取新模型和更新,独家幕后内容,以及强大的LoRA滑块创建工具,让您能够制作自定义LoRA并探索无限可能。
您在Patreon上的支持将帮助我们继续开发和优化新模型。
其他资源