MaxAPI Docs
  1. Midjourney Open API
MaxAPI Docs
  • Quick Start
  • OpenAI API
    • About OpenAI Compatible API
    • Chat
      • Chat Completion
    • Images
      • Create Image
    • Audio
      • Text To Speech API
  • Midjourney Open API
    • About Midjourney and Prices
    • Submit Imagine Task
      POST
    • Submit Action Task(All associated button actions UPSCALE; VARIATION; REROLL; ZOOM, etc.)
      POST
    • Submit Blend Task
      POST
    • Submit Modal Task
      POST
    • Submit Describe Task
      POST
    • Submit Shorten Task
      POST
    • Submit FaceSwap Task
      POST
    • Upload Files to Discord
      POST
    • Specify ID Query Task
      GET
    • Specify ID Query Task (fetch)
      GET
    • Specify the ID List Query Task
      GET
    • Obtain the seed of the Task Image
      GET
  • Luma video
    • Luma Task Creation
      POST
    • Luma Expand Video
      POST
    • Luma Query Task
      GET
    • Luma Download video
      GET
  • Suno Music
    • Generate music
      POST
    • Query task
      GET
  • Anthropic Claude
    • Claude Chat Completion
      POST
  • Flux API
    • Create Image
  1. Midjourney Open API

About Midjourney and Prices

Midjourney API Pricing#

ModeType 1 rate(per API call)Type 2 rate(per API call)Type 3 rate(per API call)
Relax$0.015$0.01Free
Fast$0.04$0.01Free
Turbo$0.108$0.01Free
📌
Type Description:
Type 1: Services such as Imagine, Variation, Outpaint, Pan, Blend, Inpaint, Upscale 2x, Upscale 4x, PicReader, Reroll.
Type 2: Services like Upscale, Describe, PicReaderRetry (if different from PicReader), FaceSwap, Shorten.
Type 3: Fetch, ListByIds, Modal, Seed.
TIP
"Zoom" corresponds to "outpaint," "modal" corresponds to "inpaint," and "upscale2x" is also a type of zoom. PicReader will be compatible with these in the next version.

API interface description#

API Endpoints:
https://api.maxapi.ai/mj-relax/mj/submit/imagine
Switching MJ Mode:
Switch modes by modifying request uri, for example:
1.
base_url/mj-relax/mj/submit/imagine
2.
base_url/mj-fast/mj/submit/imagine
3.
base_url/mj-turbo/mj/submit/imagine
Callback address
When submitting a task, you can fill in your own callback address through notifyHook, so that when the task sends changes, it will continue to push to this address. Users can modify their own task status through the callback address, or obtain it regularly through the id.

The callback request parameters are consistent with the response parameters of the task query interface.
Modified at 2024-07-24 18:02:19
Previous
Text To Speech API
Next
Submit Imagine Task
Built with