Midjourney API in 2026: Is There One, What the Unofficial Ones Risk, and What Developers Use Instead

Updated · Live figures last changed · 10 min read · The GenMagic team

Midjourney has no public API in October 2026. Its community guidelines say that "with a few rare exceptions that are explicitly granted, Midjourney does not provide an API", and its terms forbid using "automated tools to access, interact with, or generate Assets through the Services". The two best-known unofficial Midjourney APIs have stopped selling it, one saying it did so "at the request of the Midjourney team".

If you only want to make images without a monthly plan, see Can you use Midjourney without a subscription?.

This guide covers what Midjourney itself offers, what its rules say, the unofficial APIs, which ones closed and what the rest risk, the one place Midjourney's model appears outside its own app, and the official image APIs that do each Midjourney job, with prices and code.

A note on who wrote this: GenMagic sells API access to many image models, not Midjourney's. Its prices come from its live catalog. Midjourney's pages and every other page quoted here were read on October 31, 2026.

Table of contents

  1. The short answer
  2. What Midjourney offers
  3. What Midjourney's rules say
  4. The unofficial Midjourney APIs
  5. Midjourney outside its own app
  6. What to use instead, job by job
  7. Calling the alternatives through one API
  8. How we checked
  9. Questions

The short answer

  • No public API. Midjourney is used in its web app and on Discord. An "Enterprise API" application form has been open since July 16, 2025; we found no sign that it has launched.
  • Automation is against its terms: no automated tools, no reselling access, one user per account, and Midjourney "reserves the right to suspend or ban Your access to the Services at any time, and for any reason".
  • The unofficial market shrank: PiAPI stopped selling Midjourney in September 2025 and UseAPI.net in June 2026. Legnext, TTAPI and ImaginePro still sell access, call themselves unofficial or unaffiliated, and offer to run your own Midjourney account through its Discord login.
  • Every major image lab except Midjourney has an official API: OpenAI, Google, Black Forest Labs, ByteDance, Recraft, Ideogram, xAI and Alibaba. For most Midjourney jobs there is a model that does it from code, from about a cent an image.

What Midjourney offers

Models. "The current default Midjourney version is V8.2", released July 24, 2026, with an Edit Model that "replaces Omni Reference, Character Reference, and the Retexture tool". V8.1 added native 2K images; the anime-style Niji 7 launched in January 2026 ( version page, V8.2 announcement).

Video. Midjourney's video model animates an image you made: clips "start at 5 seconds" and extend to at most 21, at 480p, or 720p on Standard and higher plans ( video page).

Plans. Every plan is a subscription measured in GPU time:

PlanMonthlyYearly (per month)Fast GPU time a monthRelax mode
Basic$10$83.3 hoursNo
Standard$30$2415 hoursUnlimited images
Pro$60$4830 hoursUnlimited images and SD video
Mega$120$9660 hoursUnlimited images and SD video

Source: Midjourney's plan comparison. Extra fast time is $4 an hour, and a V8.1 or later image job takes 0.8 minutes of GPU time at standard definition or 1.3 minutes in HD, so Basic covers about 250 standard image jobs a month. A company with more than $1 million a year in revenue "must be subscribed to a "Pro" or "Mega" plan to own Your Assets". There is no pay-per-image plan and no API credit.

The Enterprise API survey. On July 16, 2025 Midjourney wrote: "We're starting to investigate opening up an Enterprise API for people to start integrating Midjourney into their companies and services", with an application form that is still online and asks what you would use it for ( announcement). None of the other 94 posts on Midjourney's updates blog mentions an API, and the form offers no price, terms or documentation. If you want one, applying costs nothing; building on it is not possible yet.

What Midjourney's rules say

From Midjourney's terms of service, effective May 27, 2026, in its own words:

  • "You may not use automated tools to access, interact with, or generate Assets through the Services."
  • "You may not resell or redistribute the Services or access to the Service."
  • "Only one user may use the Services per registered account. Each user of the Services may only have one account."
  • "Midjourney reserves the right to suspend or ban Your access to the Services at any time, and for any reason."
  • On termination, "You will not be refunded for the current subscription period".

And from its community guidelines: "Midjourney does not provide an API, nor provide third-party apps or scripts, and automating interactions with Midjourney service is strictly prohibited according to our Terms of Service. Accounts who do not comply with these rules may be blocked." Midjourney has also said it runs "bot detection & abuse systems", announced for its image-ranking feature ( March 2024).

So any "Midjourney API" that drives a Midjourney account by software is, by Midjourney's own terms, automation of that account, and the account is the thing at risk.

The unofficial Midjourney APIs

What each service said on its own pages on October 31, 2026:

ServiceSells Midjourney access now?In its own wordsPrice it states
PiAPINo, since September 21, 2025"We're sunsetting our Midjourney service at the request of the Midjourney team"None
UseAPI.netNo, since June 24, 2026"We're not able to share the reason or respond to questions about it"None
APIFRAMENo longer listedIts Midjourney pages now show another modelNone
LegnextYes"Unofficial Midjourney REST API for image and video generation"$0.08 a task (Fast), $0.16 (Turbo)
TTAPIYes"We are not an official Midjourney and this is not an official Midjourney API"$0.03 a task (Relax), $0.05 (Fast), $0.07 (Turbo)
ImagineProYes, as "Midjourney-style""Not affiliated with, endorsed by, or sponsored by MidJourney"API plans from $49 a month

Sources: PiAPI, UseAPI.net, Legnext, TTAPI terms and pricing, ImaginePro. None of the three live services says how many images one task returns, so these are not prices per image.

What they ask of you, in their own documentation:

  • Your Discord token. Legnext's "bring your own account" option asks you to "paste your Discord token", and TTAPI's account hosting asks you to copy the Authorization value from your browser's developer tools; ImaginePro's DIY plan connects "their own Discord accounts". A Discord token is a login to your Discord account, handed to a third party.
  • Careful pacing. TTAPI advises that "it is better not to run a single account at full load for 24 hours a day" and suggests rotating several accounts; UseAPI.net sold "intelligent logic to prevent potential issues with Discord and Midjourney, such as bans, CAPTCHA challenges", with "an automated CAPTCHA solver". Both describe the risk they work around.
  • The risk is yours. Legnext's terms: "You are solely responsible for complying with the terms of any upstream provider that applies to your use, and we are not a party to those terms," and it "may suspend, disable, or remove access to any individual model or model version at any time".

Midjourney has published nothing about suing or banning these services or their customers, and PiAPI's reason for stopping is PiAPI's own account. But Midjourney's terms forbid exactly what these services do, the two largest have stopped, and a product built on one depends on an account that can be banned "for any reason" with no refund.

Midjourney outside its own app

Hailuo AI. MiniMax's Hailuo creative app lists "Midjourney V8.2" among its tools, with "personalization, style references and natural-language editing" and "2K HD output" ( Hailuo's page). Neither MiniMax nor Midjourney says on its pages what arrangement lies behind it, and MiniMax's developer API does not list Midjourney ( our Hailuo API guide covers MiniMax's own models). It is a signed-in app, not an API.

Meta. In August 2025 Meta announced it would license Midjourney's "aesthetic technology for our future models and products", according to VentureBeat and TechCrunch. That is a licence for Meta's own products; nothing published says developers can call Midjourney through Meta.

No cloud marketplace we checked (OpenRouter, Hugging Face, Azure AI Foundry) lists a Midjourney model.

What to use instead, job by job

Every model below has an official API from its own lab and runs on GenMagic too; the prices are GenMagic's live prices per standard image, and each lab's own price is in its guide.

What you used Midjourney forTryPrice per imageWhy, from our tests
A polished, photographic lookGPT Image 2.5 Flare$0.058"A photographic, filmic look" in our image generator test
An everyday default that reads text and follows promptsNano Banana 2.1$0.058"Strong at text, photos and scenes alike" in the same test
Style references (--sref)Recraft V4 Styles$0.052Copies a style from 1 to 10 reference images, no training ( Recraft guide)
Keeping a character or product (--cref, Omni Reference)Nano Banana 2.1 or Seedream 5.0 Pro$0.068 for SeedreamBoth kept faces and labels in our headshot and product photo tests
Cheap drafts to explore ideas (Draft mode)FLUX 3 Klein$0.014About 7 seconds an image, the cheapest model in our image generator test ( FLUX guide)
Flat illustration, icons and logosRecraft V4.1, or V4.1 Vector for an SVG$0.052"The truest flat vector", and the only real SVG in our logo test
Animating an image into videoGrok Imagine Video 1.5 Lite, Kling or SeedanceFrom $0.03 a secondSee our video generator test and video API pricing

No model reproduces Midjourney's house style exactly, and we have not tested Midjourney itself, since it cannot be called from code. The way to find your replacement is to run your own prompts on several models side by side: compare GPT Image 2.5 Flare, Nano Banana 2.1, FLUX 3 and Recraft V4.1 on your prompt.

Each lab's own API, with our guide where we have one:

Calling the alternatives through one API

GenMagic's API is OpenAI-compatible and carries the image models above on one key and one balance, so switching from one to another is a change of the model string.

1. Get a key. Create a free account at genmagic.co/get-api-key and verify your email; the account starts with $0.50 of credit, about 8 Nano Banana 2.1 images.

2. Generate. With OpenAI's Python SDK, the same prompt on three models:

import os
from openai import OpenAI

client = OpenAI(base_url="https://genmagic.co/api/v1", api_key=os.environ ["GENMAGIC_API_KEY"])

prompt = "A lighthouse on a cliff at dusk, storm clouds parting, cinematic, painterly light"
for model in ["openai/gpt-image-2.5-flare", "google/gemini-nano-banana-2.1", "black-forest-labs/flux-3-image-klein"]:
    result = client.images.generate(model=model, prompt=prompt, size="1536x1024")
    print(model, result.data [0].url)

Or with curl, working from a reference image you send:

curl https://genmagic.co/api/v1/images/generations \
  -H "Authorization: Bearer $GENMAGIC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/gemini-nano-banana-2.1",
    "prompt": "A fox reading a book under a tree, painted in the same style as this image",
    "image": "https://your-cdn.com/style-reference.png"
  }'

The answer carries a hosted url (or the bytes with "response_format": "b64_json"), and the response headers say what the image cost and what is left on the balance. GenMagic shows each model's price before you generate, a refused or failed image costs nothing, and the same models run in its studio, its n8n node, Zapier and its MCP server for Claude and ChatGPT.

How we checked

Midjourney's announcements and its Enterprise API form were read on its own sites on October 31, 2026. Its help pages (terms, community guidelines, plans, versions, video) refuse automated readers, so we read the Internet Archive's copies of those exact pages, captured between October 5 and October 23, 2026; the terms carry the version date May 27, 2026, and the clauses quoted match what Midjourney's live pages show in search results. Each unofficial service is quoted from its own pages, read the same day, and we did not sign up to or pay any of them. Prices for the alternatives are GenMagic's live catalog prices, and the quality notes come from our published tests, each linked above.

Questions

Is there an official Midjourney API? No. Midjourney's community guidelines say it "does not provide an API" except in "a few rare exceptions that are explicitly granted". It has collected applications for a possible Enterprise API since July 2025, but has announced no launch.

Is it allowed to use an unofficial Midjourney API? Midjourney's terms forbid "automated tools to access, interact with, or generate Assets through the Services" and reselling access, and let it ban an account "at any time, and for any reason". Unofficial APIs drive Midjourney accounts by software, so using one puts the account behind it at risk.

Why did PiAPI and UseAPI stop offering Midjourney? PiAPI says it stopped "at the request of the Midjourney team" in September 2025; UseAPI.net stopped in June 2026 and says it cannot share the reason. Midjourney has not commented on either on its own pages.

How much does Midjourney cost? Plans cost $10, $30, $60 or $120 a month ($8 to $96 billed yearly), measured in GPU hours. There is no per-image price and no API credit.

What is the best alternative to Midjourney with an API? It depends on the job: GPT Image 2.5 Flare for a filmic photographic look, Nano Banana 2.1 as an all-round default, Recraft for designed images, style references and SVG, FLUX 3 Klein for cheap drafts. Running your own prompts on several of them side by side is the reliable way to choose.

Can I get Midjourney video through an API? No. Midjourney's video model works inside its own app only. Image-to-video models with official APIs include Kling, Seedance, Veo, Hailuo and Grok Imagine; our video API pricing lists them all.