Giter VIP home page Giter VIP logo

stable-diffusion-helper's Introduction

基于 Stable Diffusion web UI 的 图片生成插件

maven-central MiraiForum

使用前应该查阅的相关文档或项目

本插件对接的是 Stable Diffusion web UI 的 REST API, 需要启动配置中开启选项, 详情请自行查询 WIKI

使用

更多内容请看 详细介绍

styles

StylesStable Diffusion web UI 自带的功能,用于快捷的填充 promptnegative_prompt
Styles.png

t2i

以文生图
权限ID: xyz.cssxsh.mirai.plugin.stable-diffusion-helper:txt2img
例子:
t2i

i2i

以图生图
权限ID: xyz.cssxsh.mirai.plugin.stable-diffusion-helper:img2img
例子:
i2i

配置

client.yml 基本配置

  • base_url 基本网址
  • dns_over_https DNS
  • timeout API超时时间
  • cool_down_time API冷却时间

安装

MCL 指令安装

请确认 mcl.jar 的版本是 2.1.0+
./mcl --update-package xyz.cssxsh:stable-diffusion-helper --channel maven-stable --type plugins

手动安装

  1. Releases 或者 Maven 下载 mirai2.jar
  2. 将其放入 plugins 文件夹中

afdian

stable-diffusion-helper's People

Contributors

cssxsh avatar drsalieri avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

stable-diffusion-helper's Issues

sampler_name参数问题

sampler_name好像不支持空格?使用"x x x x"也不行,输入sampler_name=Euler a在I/StableDiffusionListener里会直接变成Euler

Hires. fix 开启失败

问题:开启了Hires.fix但是实际上生成图片并没有高清修复。
并且声称的速度也是和没有开启高清修复的版本相同。
并且同样的prompt在webui中跑出来的效果会更高清

参数命令:

t2i 27671231
steps=40
width=512
height=512
hr_second_pass_steps = 0
denoising_strength = 0.7
hr_upscaler = Latent
hr_scale = 2.0
enable_hr = true
((masterpiece)),((best quality)),((high detial)),((realistic,)) Industrial age city, deep canyons in the middle, architectural streets, bazaars, Bridges, rainy days, steampunk, European architecture
#neg_normal

希望能添加cd功能

如题,希望能添加限制群员使用频率的功能,以防过于频繁的请求对于显卡产生过大压力。
感谢开发!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.