hi everyone, i want to use stable diffusion on my unity app , how can i get input from user on phone and gave it to the midjourney? and i want to show them the image they created.
You would need to use the Stable Diffusion API and get app and/or auth tokens from them and connect directly. I’m sure there’s plenty of examples on their API page, and once you understand the process, to do it in Unity you would use UnityWebRequest.
Here’s general pointers on this sort of networking stuff:
Networking, UnityWebRequest, WWW, Postman, curl, WebAPI, etc:
And setting up a proxy can be very helpful too, in order to compare traffic:
thanks, i’m kinda confused rn, should i use unity discord api and buy midjourney subscribtion/ rent a server and build stable diffusion there(looks more cheaper)/use stable diffusion API’s, which way is the best?
Sounds like much more of a question for the Stable API people than Unity.
Once you sort out what you want to do, use the process above to get it working WITHOUT Unity, and once it works flawlessly, then bring it into your Unity app.