Create your text-to-image apps with Midjourney API

Integrate our unofficial Midjourney API to build your AIimage applications - providing your users with infinitepossibilities generating images from text inputs.

Features

An image icon for one of Midjourney API's feature: Built-in Load Balancer

Built-in Load Balancer

An image icon for one of Midjourney API's features: Connect Multiple Accounts

Connect Multiple Accounts

An image icon for one of Midjourney API's feature: Complete access to all endpoints

Complete access to all endpoints

An image icon for one of Midjourney API's features: Workspace and Webhook

Workspace and Webhook

An image icon for one of Midjourney API's features: Supports V6, sref and cref

Supports V6, V6.1, sref and cref

An image icon for one of Midjourney API's features: Midjourney Subscription Excluded

Midjourney Subscription Excluded

Supported Operations

Imagine

A single prompt generating 4 images in 2x2 grid

Upscale

Enhance the image quality with Midjourney’s upscaler

Variation

Create variants of the selected image

Describe

Provide descriptive texts for the image submitted

Blend

Combine two images into a new and original image

Inpaint

Change parts of the submitted image

Zoom

Extend the selected image beyond original boundary

Pan

Expand the image towards a chosen direction

--sref

Preserve consistency through style reference

--cref

 Create images of the same character in different scenes

Supported Modes

An image displaying supported processing modes for the Midjourney API, including Relax Mode, Fast Mode and Turbo Mode

Two Ways Of Using The API:

Host-Your-Account Service
Step 1: Sign up with PiAPI
Step 2: Subscribe to seat(s)

(Each seat can host 1 Midjourney account)

Step 3: Connect your own Midjourney account to the seat
Step 4: Start integration!
Have your own Midjourney
account and don’t want to use shared accounts pool?
With our Host-Your-Account service, we can host your Midjourney Accounts and provide stable API service from them!
Want to try out our API?
Sign up for our workspace!
Pay-as-you-go Service
Step 1: Sign up with PiAPI
Step 2: Purchase credits
Step 3: Start integration!
Don't want to spend the time and energy buying and maintaining your own Midjourney Accounts?
Afraid of getting your own Midjourney accounts banned?
Our Pay-as-you-go service perfectly suits your needs!
All you need to do is sign-up, purchase credits and you can then use our API right way! The service uses PiAPI’s Midjourney account pools, so you don’t have to worry about their operation at all!
Want to try out our API?
Sign up for our workspace!

Our Pricing Plans

Pay-as-you-go Option

Relax Mode

$0.015

per imagine task

Fast Mode

$0.045

per imagine task

Turbo Mode

$0.10

per imagine task

Host-your-account Option

Flat Pricing

$8 /seat/month

Connect your own Midjourney account
Access to all PiAPI endpoints
Access to all PiAPI functions

Testimonials

“The built-in load balancer has transformed our workflow. It adeptly manages traffic distribution, ensuring consistent performance, no matter the workload. We‘ve seen a significant improvement in our application efficiency.”

TechOracle

“Your workspace and webhook feature is a lifesaver for our team! It helps us reduce our development time and increased productivity.”

Priya

“Our social media application has been transformed thanks to your API. It helped us to generate very nice images just from text inputs. Our user engagement went up a lot!”

RadialRay

“Thanks! your API allows me to Connect Multiple Accounts effortlessly - it saves me so much time when working on many domains.”

Alice B.

“With Excluded Midjourney Subscription, it is so much easier to scale our services without the burden of extra costs. It‘s a huge plus!”

Tim Nguyen

“Your API is just what I need! This has taken our app to a whole new level. Keep it up!”

Imara

“I’m working on a creative project, and your API has been a game-changer. Thank you for developing this and continue to add more APIs!”

Rodriguez

“I have used various AI tools, but the diversity of your API is second to none. Your fast mode is amazing! Appreciate the service!”

Mengyao

“Our apps have become so much more seamless because of your API. You’ve literally transformed how we work. Thank you!”

Morris

Our blog

Check out our blog for related contents!

An image of V6.1 Midjourney Model
Midjourney API

Midjourney V6.1 through Midjourney API

Excited to integrate the newest V6.1 Midjourney Model into your application? Want to see the difference in quality between V6.1 and V6? Check out this blog!

Frequently asked questions

What is PiPAI's Midjourney API?

Midjourney provides one of the best text-to-image generative AI model in the market, used by graphics designers, photographers, and everyone who are looking to unleash their creativity through AI images. Midjourney does not provide API right now to its users so PiAPI created the unofficial Midjourney API for developers to integrate the SOTA (state-of-the-art) txt2img model into their own generative AI applications.

Who is the intended user for the API?

Because Midjourney is intended to be used by everyone, then all kinds of developers working on all kinds of apps are expected to benefit greatly from our Midjourney API!

What is the difference between "Host-your-account" service vs. the "Pay-as-you-go" service?

These are two different ways of using our API. The "Host-your-account" service will be using resources (i.e. fast hours) from your own Midjourney accounts, and you will need to subscribe seats from us to host your own accounts (one seat can be connected to one Midjourney account).The "Pay-as-you-go" service will be using our Midjourney accounts, thus you just need to sign up, purchase credits, and start using the API right away, without needing to buy your own Midjourney account.

How to get started with integrating the API?

After you have chosen the service options, you can get your own API KEY from our workspace, and then you can start making HTTPs calls to the API right away.

What is the response time of the API?

Our model is designed for optimal speed. The actual response time will vary depending on several factors including the file size of the input pictures, resolution of the pictures, the unobstructed view of the face. Typically, the smaller the size of the inputs will have a faster response time.

Is there a limit to the total number of requests or concurrent number of requests I can make?

Yes, all "Pay-as-you-go" users subscribed to free plan, creator plan, or pro plan will all have different number of concurrent jobs, please see our site for more details. "Host-your-account" users will be subject to the maximum number of concurrent jobs as per their own accounts pool.

How does the API handle errors?

Our documentation keeps track of a detailed list of errors that the API might return. You can reference it during the development process while building your applications!

Can you provide bulk generation for Midjourney images?

Yes absolutely, if you have a lot of prompts that need to be submitted to Midjourney, and if real-time is not of concern, then you can definitely contact us for a quote and an estimated delivery timeline.

Is there customer support service for Midjourney API users?

Yes, we provide customer support services for all our users, including detailed documentation, Discord customer service channel, and email for any collaboration or other inquiries.

What is the pricing options for the API?

For the "Pay-as-you-go" service option, you will have to pay for each endpoints you use, the detail pricing of each endpoint is on our website and documentation for your reference. For "Host-your-account" service option, you will only need to pay for your seats‘ subscription, since the Midjourney accounts are bought and operated by you.

How do I pay for this API?

Our Workspace has integrated Stripe in our payment system, which will allow payments to be made from most major credit card providers.

Are there refunds?

No, we do not offer refunds. But when you first sign up for an account on PiAPI‘s Workspace, you are given free credits to try our Midjourney API (specifically the "Pay-as-you-go" service) before making payments!

How can I get in touch with your team?

Please email us at contact@piapi.ai - we'd love to listen to your feedback and explore potential collaborations!