- Create Discord account
- Purchase Midjourney subscription
- Create Discord server
- Invite Midjourney bot to your Discord server
#apitext channel on your Discord server
- Example of Discord server with private
#apitext channel and Midjourney bot
- Test Midjourney /imagine command
- Make a note of your server id and channel id values
- Obtain Discord token
- Verify Discord access
Approximately 15 minutes to complete setup steps.
Please note even if you have an existing Discord account we are strongly recommending creating a separate Discord account specifically designated to be used with useapi.net API.
Follow official instructions to purchase a subscription. We suggest starting with the Basic Plan. You can always upgrade later, once you are satisfied with initial testing and ready to scale up.
It is important not to use the Midjourney account setup for API access for any purposes other than its intended use, such as executing
/imagine or any other Midjourney commands manually or in conjunction with any other automation tools. The useapi.net API internally tracks the usage of the Midjourney account, including the number of currently active executions. Using it for other activities may cause API to function incorrectly.
Please skip this step if you already have Midjourney subscription.
Please log in to your Discord account and create a new Discord server following official instructions.
Please following official instructions to invite Midjourney bot to your server.
Once you created the Discord server and invited Midjourney you need to create a designated API-related work text channel. You can refer to official instructions to learn about Discord channels and how to manage them on your server. We suggest naming the text channel
#api for clarity and also making that channel private. Please see Midjourney instructions to learn how you can restrict the bot to a single private channel.
Below you can see we created
useapi Discord server with private
#api text channel:
Midjourney bot invited to the server and has access to private
#api text channel
Test Midjourney /imagine command
Navigate to the created above
#api text channel and execute the Midjourney /imagine command to make sure it works. You will need to accept Midjourney Terms Of Service before very first /imagine execution.
Your Discord URL looks like
In the screenshot above URL is
1122226477161144546 is your Discord server id and
1122277481822456166 is your private
#api channel id.
Save both server id and channel id values, you will need those numbers for API.
There are many tutorials describing how to obtain Discord tokens. Please refer to the following links bellow for additional guidance:
Keep in mind that anyone with a Discord token can have full access to your Discord account so please keep it safe and secure. To reset your Discord token simply change your Discord password.
Once all the above steps are completed you should have the following:
- Discord token
- Discord server id number
- Discord private
#apichannel id number