Giter Site home page Giter Site logo

rha's Introduction

介绍

利用Stable-Diffution API去除图片ai感

使用Stable-Diffution API进行自动化跑图的测试过程中,我们发现一个特性,通过调整重绘幅度,可以逐渐去除图片上的阴影,从而达到去除ai感的结果。我们猜测这可能是tile的预处理器的模糊化导致的。

编写程序的初衷是节省人力劳动,批量出图,最初是为我们自己的工作室项目而创建的,但由于种种原因,我们未能将其投入实际生产环境。因此,我们决定将其分享出来,以便更多的开发者能够受益并继续研究和优化这一特性。

欢迎访问全网最便宜的live2d,大鹅猫工作室承接手工建模live2d,ai动捕live2d,live2d角色立绘定制,千款成品尽在 https://daemao.top/

效果

处理前: }QX(VNPE)R}XG4NOG(VJI(V 处理后是经过脚本处理后TD TV直接放大的版本: %2P~JCMSGYADC RSUY8}8_M 处理前: DQ(SZI}DE_T%@{KS2F{OMRH 处理后是经过脚本处理后TD TV直接放大的版本: Q_S V{306%LP1A77KYGIVF8 处理前: RU}UREG_ )}CG1Q9{0N`KAK 处理后是经过脚本处理后TD TV直接放大的版本:

%E@SK@_`V0 UW)9 6GXX{D6

使用

配置python地址,双击bat文件即可,通过修改config目录下的json文件内容来修改参数。

对于json文件中的秘钥部分,如果使用的是秋叶大佬的版本,设置一下 C6JI7D$Z4UTP3KDBV(EYUNG 不会找秘钥位置的朋友直接设置账号密码为123,123,秘钥为 Basic d2R5OndkeQ==

如果使用的是原版sd,启动时添加这个参数即可: --api --autolaunch --api-auth 123:123

欢迎访问全网最便宜的live2d,大鹅猫工作室承接手工建模live2d,ai动捕live2d,live2d角色立绘定制,千款成品尽在 https://daemao.top/

rha's People

Contributors

wdy-pursue avatar

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.