How to make MyMidJourney API request in Postman

Exploring MyMidjourney API for Seamless Image Creation

As a developer, there's nothing quite as exhilarating as harnessing the power of APIs to bring your creative visions to life. In this blog post, we're diving into the fascinating world of MyMidjourney API, your gateway to unlocking the full potential of Midjourney's AI image generation capabilities.

Getting Started with MyMidjourney API

Before we embark on this journey, let's ensure you're all set up and ready to go. After you've subscribed to Midjourney (opens in a new tab) and following the instruction, put your discord token in your account's settings, then you'll find your authentication token ("Your MyMidjourney Token") in your account's settings page as well. Keep these credentials secure and confidential—they're your key to accessing the world of AI-generated artistry.

MyMidjourney Token

Making Requests with MyMidjourney API

To make requests and interact with MyMidjourney API, we'll turn to the versatile tool, Postman (opens in a new tab). It's a free, user-friendly tool designed for testing API endpoints and saving requests. If you're new to Postman, check out this tutorial (opens in a new tab). Please be aware we are using Postman as an example, but you can use any tool you like to make requests to MyMidjourney API, such as calling the API from your code.

Once in Postman, create a new request, set the request method to 'POST,' and enter the API endpoint URL:

Next, add the necessary headers, including your authentication token in the 'Authorization' header. Remember, it's a bearer token, so prefix it with 'Bearer ' before your token.

Bearer Token

Exploring the Imagine Command

Now comes the exciting part—exploring MyMidjourney's Imagine command. You can find all the required parameters in our comprehensive documentation, now on v1.

To test the Imagine command, simply set your desired prompt in the 'prompt' parameter within the request body. If you specified webhook parameter in your request body, the response will be delivered to your webhook URL. Send the request and wait for the response. Once it arrives, you'll find the generated image messageId and status. Don't hesitate to experiment with different prompts and parameters to create unique and imaginative AI-generated art.


  • Don't forget to set the Content-Type header to application/json (by setting the request body to raw and JSON in Postman).
  • Don't forget to include your Bearer token in the Authorization header.
  "prompt": "A little cat running on the grass"

Tracking AI Image Generation Progress

To get real-time updates on the progress of your AI image generation job, initiate a GET request to the following API endpoint:<messageId>

Replace <messageId> with the actual messageId from your previous AI image generation job, for example, "4df975a7-d7fd-4a59-975d-83fcfc29891b".

Upon making the GET request, you will receive a comprehensive response containing essential information about your job's progress:

  • progress: The 'progress' field indicates the current percentage progress of your job, giving you insights into how far along the AI image generation process has come.
  • uri: The 'uri' field provides the URL to access the generated image, making it easy for you to view and share your artwork.
  • buttons: The 'buttons' field outlines the available follow-up actions, which include options like 'Upscales' (U1, U2, U3, U4), 'Variants' (V1, V2, V3, V4), zoom, and more. This allows you to continue refining and enhancing your creation.

You will also find some other useful information, such as the prompt and 'timestamps' data of your job.


With this progress tracking feature, you can stay in control of your AI image generation process, ensuring that your creative vision comes to life exactly as you envision it.

Upscaling Images with MyMidjourney API

If you're interested in upscaling an image, it's a breeze with MyMidjourney API. Refer to the response body, where you'll discover buttons and a messageId.

To upscale an image, use the messageId from the previous response and include 'U1' in the button field.

  "messageId": "4df975a7-d7fd-4a59-975d-83fcfc29891b",
  "button": "U1"

The response will is same as the imagine request, you can use the progress endpoint to tracking the details of this submitted job.

In Conclusion

And there you have it! MyMidjourney API opens up a world of possibilities, allowing you to effortlessly interact with Midjourney via API and create stunning images. Whether you're a seasoned developer or someone with a passion for exploring the limitless potential of APIs, MyMidjourney API is your ticket to a realm of artistic innovation and imagination.

Get started today and experience the magic of AI-generated artistry with MyMidjourney API!