Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi user\session support #74

Open
jakerator opened this issue May 29, 2023 · 4 comments
Open

Multi user\session support #74

jakerator opened this issue May 29, 2023 · 4 comments
Labels
new feature This is a new feature!

Comments

@jakerator
Copy link

Is your feature request related to a problem? Please describe.
Is there a way to run single install for multiple users, to make each browser session independent?

Describe the solution you'd like
If possible, need to make a way to separate browser session (by some auth, url variable etc), to allow multiple users on single running instance

@jakerator jakerator added the new feature This is a new feature! label May 29, 2023
@harrywang
Copy link

DreamStudio accurately supports this - wonder how it was done.

@jakerator
Copy link
Author

DreamStudio accurately supports this - wonder how it was done.

Hm... Any documentation about that in DreamStudio?

@KAJdev
Copy link
Contributor

KAJdev commented Jun 2, 2023

This should be possible out of the box if I'm not misunderstanding. StableStudio is a react app, meaning it can be served as a static bundle and each browser has its own instance. Auth can be implemented if you need a way to differentiate users between sessions but is implementation-specific.

@santigibo
Copy link

Working on it, I saw that you can create different images per user if each of your users has a UUID4. In the createStableDiffusionImage, queryAssets, etc. methods, you can send a project id, which is the UUID4. When your user creates an images, is sent through the specific UUID4 you gave it, and it will work perfectly having just your user images (associated to the UUID4)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature This is a new feature!
Projects
None yet
Development

No branches or pull requests

4 participants