Comments (8)
@makingpippop This is an old post was made before we streamed line the whole setup.
Try this:
- install the plugin using method 1 or 2.
- change the sd url from the settings menu to connect to remote instance
from auto-photoshop-stablediffusion-plugin.
I will answer my own question, :(
I search for all instances of "127.0.0.1" and replaced them with the IP of my SD machine (e.g. http://192.168.1.99).
Then edited "start_server.bat" and add "--host 192.168.1.99" to the line "%PYTHON% -m uvicorn serverMain:app --reload", so that it reads now "%PYTHON% -m uvicorn serverMain:app --host 192.168.1.99 --reload".
On the photoshop machine, open the plugin "manifest.json" on the remote machine (remember to create a network share), and continue from there. Everything appears to be working fine.
Thanks AbdullahAlfara, for a great plugin! :)
from auto-photoshop-stablediffusion-plugin.
I spoke too soon :( Generate is working fine, but both img2img and inpaint are not working (I see nothing on the SD server side for those requests).
I have searched, but I can't find the files that deal with img2img and inpaint calls.
from auto-photoshop-stablediffusion-plugin.
for the connecting the plugin into a remote server, you just need to change the sd_url in start_server.bat
as for your inpainting and img2img issue, I need to see the error messages to the cmd to tell you what might have caused it.
also include you plugin version.
from auto-photoshop-stablediffusion-plugin.
Hi @AbdullahAlfaraj, thanks for replying. This is not about connecting to a remote SD server, this is about connecting to aq remote plugin server.
The setup is this:
Machine A: Photoshop only
Machine B: SD and Plugin server (this is where the uvicorn server will be started)
In other words, on machine B I will run "start_server.bat" and "webui-user.bat"
Changing the SD_URL works for the SD but not for the calls to the plugin server. Because the plugin is being run by photoshop on machine B, when the plugin tries to call the uvicorn server it uses 127.0.0.1, which will fail, because 127.0.0.1 is machine B but the uvicorn server is on machine A.
I managed to fix the generate part, by the img2img and inpaint do not work. There is no error, the generation just stays stuck at 0%.
I am not sure if I was clear about the problem, please let me know if not.
from auto-photoshop-stablediffusion-plugin.
@PZAragon thank you for being descriptive. the reason img2img mode will not work in your setup, is because the photohop plugin and the proxy server (start_server.bat) will communicate through file sharing too.
Is there a reason why you don't want to run the uvicorn server on your pc alongside with photoshop?
from auto-photoshop-stablediffusion-plugin.
Hi @AbdullahAlfaraj, I have shared the folder of Auto-Photoshop-StableDiffusion-Plugin, and photoshop is running the plugin from that network folder. That folder is also the same "physical" folder where the proxy server (start_server.bat) is being run.
The reason for this setup is that the photoshop machine is a dedicated machine for photoshop (and after effects, etc) and it has no development environment. So no conda, pip, python, etc.
from auto-photoshop-stablediffusion-plugin.
@PZAragon did you manage to make it work? I think this kind of setup is pretty interesting since, like you said, it requires no development environment on the machine running photoshop.
from auto-photoshop-stablediffusion-plugin.
Related Issues (20)
- Saving img2img gens in SD outputs folder?
- sd-forge-controlnet support? HOT 6
- Support for Fooocus?
- 我的主模型怎么刷新都看不到? lora和controlnet都是正常的,还有远程地址不能保存,有大神指教是什么情况吗
- sd-forge-controlnet support?and sd-webui-prompt-all-in-one support?
- There was an error in the API file
- Как установить?
- Can you add a hidden node function in the PS plugin
- The generated layers of the generated image can be placed on the selected layers
- [bug] Old Image and mask won't change while doing outpaint
- Why can't we find support for ip adapter in Controlnet in webui.
- Scheduler
- prompt outputs failed validation,what should i do to feagure it out?
- horde key
- Problem when saving an edited image/quick safe not possible in Photoshop HOT 1
- Photoshop freezes or CTD's after some generations / comfyUI HOT 2
- ComfyUI custom scripts misssing nodes errors
- Plugin not saving generated images HOT 1
- After upgrading auto1111 SD from 1.7 to 1.9.3, plugin failing randomly HOT 6
- CFG could use a 0.1 float increment/decrement resolution on it's slider.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from auto-photoshop-stablediffusion-plugin.