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 (closed service) userapi.ai, it has an API available for Midjourney there.
You will need a webhook URL to receive responses
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
You may do such for Image generation (DALL·E) by using OpenAI API. But it's not free at all Dall-e API
You can use any of the services for working with Midjourney via API. For example tnl (they have a very good community, but lately, of course, there have been a lot of complaints and account bans), on the downside, the service is paid for
You can use free services, the same userapi.ai
In any case, you need to have a Discord account and a subscription in this account on Midjourney
Take a look at ttapi.io, it has an availableMidjourney Api. also can use v6
The most popular Midjourney APIs are APIFRAME, ImagineAPI and MyMidjourney.
Keep in mind that none of them is official, they are tools developed by third-parties.
© 2022 - 2025 — McMap. All rights reserved.