I want to create an app that creates Midjourney images.
The problem is that Midjourney doesn't provide an API, it works from Discord.
How to automate the process of image generation without the need to open Discord?
I want to create an app that creates Midjourney images.
The problem is that Midjourney doesn't provide an API, it works from Discord.
How to automate the process of image generation without the need to open Discord?
Take a look at thenextleg.io, it has an API available for Midjourney there.
You will need a webook URL to receive responses
If you want to use your own Midjourney account and host it as your own api-service, you could check out projects like Midjourney Proxy (https://github.com/novicezk/midjourney-proxy) on GitHub.
If you are looking for off-the-shelf service providers, there are
nextleg: https://www.thenextleg.io/
midjourneybyapi: https://midjourneybyapi.cloud/
goapi: https://goapi.ai
You may do such for Image generation (DALL·E) by using OpenAI API. But it's not free at all Dall-e API
Checkout this guide:
Also read the comment regarding full automation- there a second post explaining how to do it using GUI automation:
Discord API doesn’t allow sending commands by using bot. So if you are planning to send ‘/imagine” command by using Discord API you are out of luck. The only working way is a GUI automation. Check my recent article on this topic https://medium.com/@neonforge/how-to-automate-midjourney-image-generation-with-python-and-gui-automation-ac9ca5f747ae