Auto-Photoshop-StableDiffusion-Plugin
Auto-Photoshop-StableDiffusion-Plugin copied to clipboard
--api-auth,ps plug-in where to enter the user name and password?
Remote computer installation (stable diffusion) frp mapping port 7777, how to fill in the local computer ps plug-in (sd url), remote computer enabled (--api-auth) need to enter the api call user name and password, ps plug-in where to enter the user name and password?
Authentication is currently unavailable. However, if a developer is interested in working on this feature, I will gladly merge their contribution.
+1, need it badly.
I encountered the same problem, but I managed to achieve remote calling by turning off permission verification.
in stableDiffusion/modules/api/api.py line 217
def auth(self, credentials: HTTPBasicCredentials = Depends(HTTPBasic())): if credentials.username in self.credentials: if compare_digest(credentials.password, self.credentials[credentials.username]): return True raise HTTPException(status_code=401, detail="Incorrect username or password", headers={"WWW-Authenticate": "Basic"})
The above code is changed to
def auth(self): return True
+1, need it badly.