Git Product home page Git Product logo

copylot's Introduction

【copylot】Photoshop的实时stable diffusion插件!

大家有用过Github Copilot吗?Github Copilot可以在你写代码的时候,帮你把你不会写或者懒得写的部分直接写出来。

如果画画的时候也有copilot帮我画就好了!

于是聪明的莉沫酱发明了1个Photoshop的插件,叫copylot!它可以像Github Copilot那样实时帮你把你的画补充完整!

示例视频

output.webm

使用方法

  • 首先你需要1个Python和1个Photoshop。(我已经换Python 3.11了所以不知道最低版本号是多少)

  • 安装1个stable-diffusion-webui。运行webui-user.bat时,启动参数需要加上--api才能从API访问。

  • 给stable-diffusion-webui下载1个LCM-LORA,可以大幅减少图像生成所需的steps以加快生成速度,不过模型的画风也会有1些改变……不用也行。

  • 把这个仓库clone回去,然后运行pip install requirements.txt

  • 运行python copylot.py就可以了。运行参数都写在代码里,直接改掉就可以了,不过调用stable diffusion API的参数是写在设置文件里的,这部分参数在运行时可以动态刷新。

已知bug

由于这个插件的实现非常奇怪,所以可能出现各种异常。

比如Photoshop突然鬼畜,发出异响什么的,都是正常的……

结束

就这样,大家88,我要回去报考维也纳艺术学院了!

copylot's People

Contributors

rimochan 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.