Midjourney API
by Midjourney
The signature aesthetic, finally behind an API.
Midjourney's iconic aesthetic through a simple REST API, no Discord, no account management, no bans. Fully managed access to the current V8.2, with every generation returning four images.
- V8.2
- Latest version
- 2K
- HD output
- 4
- Images per job
- 2 credits
- From
Image · example Playground
Try Midjourney right here.
Capabilities
What's new in Midjourney.
No Discord, no bans
Apiframe manages the Midjourney accounts. You send a REST request; the risk, quirks, and Discord plumbing are handled for you.
Always the latest Midjourney
The API runs V8.2 (the default since July 2026), bolder aesthetics and more consistent image quality on top of V8.1’s HD 2K output and faster generation. Upgrades land with zero config changes.
Four images per job
Every generation returns the classic four-image grid, so one request gives your users a choice instead of a single roll.
The full toolset
Imagine, Vary, Pan, Zoom, and Upscale are all exposed through the API, the complete Midjourney workflow, not just text-to-image.
Video from any still
V8.1 added native image-to-video: animate any Midjourney image into a clip extendable to 21 seconds via the Midjourney Video model on the same key.
Six aspect ratios
From square 1:1 to ultrawide 21:9, covers social, print, and cinematic layouts without cropping.
Showcase
See what Midjourney can create.
Real outputs generated with Midjourney on Apiframe, each with the prompt behind it.
Avant garde fashion beauty portrait of an East Asian woman, extreme close up. Dramatic, sculptural eye makeup: eyelids, lower lash lines, and inner corners heavily dusted with shimmering multi colored silver and pink glitter. Outer corners of both eyes have elaborate multi colored feather eyelashes. Right eye (viewer's left): spiky fan of black feathers with bright pink and neon green speckles. Left eye (viewer's right): larger wing like cluster of layered pink, green, blue, silver, and spotted feathers extending outward and upward. Natural skin texture with visible freckles. Natural pink lips with super high gloss crystal clear gloss. Sleek dark black hair swept back with iridescent blue and purple reflections. Serious, ethereal, direct expression into camera. Soft, direct frontal lighting emphasizing glitter, feather, and gloss textures. Deep solid black background. High resolution beauty photograph. --ar 3:2
sugar skull looking at audience, pinup, head and torso, black background, illustrated vector format, tattooing her own eyebrow with a skeleton hand, holding tattoo machine --ar 3:2
collectible contemporary wall sculpture displayed in a sophisticated architectural interior, large rectangular composition made of six to eight broad interconnected biomorphic zones, elegant flowing boundaries rather than a rigid grid, warm stone ivory, muted espresso, soft clay and one restrained charcoal accent, artistic but highly livable color palette, modern gallery aesthetic, matte painted MDF with absolutely no wood grain, shallow sculptural relief, small controlled height differences, simple CNC carveable geometry, no tiny decorative details, no extreme cavities, no fragile elements, balanced asymmetry, luxury designer home with plaster walls and stone flooring, soft natural side light, artwork clearly visible with generous surrounding space, photorealistic editorial lifestyle image --ar 3:2
The face of a young woman with a confident smirk. A complex and dramatic background. Drinking coffee --ar 3:2
Minimalist abstract color block composition, bold overlapping geometric shapes in muted terracotta, sage green, and cream tones, soft shadow depth between the layers, modern poster design aesthetic, fine art print style --ar 3:2
Viewed from above, watercolor, abundant flowers, crystal castle, flowers dancing in the sky --ar 3:2
A deep red tomato with square edges, accented with mimosa flowers, high contrast, conceptual, against a deep blue background. --ar 3:2
Editorial fashion portrait of a bald young Black man, looking directly into the camera with a relaxed, self-assured expression. Slightly low camera angle, tight head-and-upper-torso framing, centered symmetrical composition, close-range wide-angle perspective. Bright cyan-blue sky with soft white clouds filling the background, no horizon. He wears a stylish white hoodie, no glasses or eyewear. Rich deep-brown skin tones, natural skin texture, soft daylight, slightly warm analog color, fine film grain, crisp detail, high-end contemporary streetwear campaign, medium-format fashion photography aesthetic --ar 3:2
whimsical paper doll bird, straight on, clip art style on plain background --ar 3:2
Pricing
Simple per-generation pricing.
2–10 credits per generation ≈ $0.02–$0.10
The rate depends on the resolution and options you pick.
- You only pay for successful generations. Failed jobs are refunded automatically.
- One credit balance across every model on Apiframe, no per-model plans.
- Start with free credits. No subscription required.
- Volume discounts on larger plans.
Specs
At a glance.
Comparison
Midjourney vs Nano Banana 2 vs Flux 2 Pro
Midjourney against the production flagships: a different tool for a different job.
| Feature | Midjourney | Nano Banana 2 | Flux 2 Pro |
|---|---|---|---|
| Signature strength | Iconic stylised aesthetic | Editing + world knowledge | Prompt adherence at volume |
| Outputs per job | 4 images | 1 image | 1 image |
| Avg. generation | ~50s | ~12s | ~15s |
| Price per job | 2–10 credits (≈$0.02–$0.10) | 8–19 credits (≈$0.08–$0.19) | 3–9 credits (≈$0.03–$0.09) |
| Best for | Art direction and a look no one mistakes | Everyday generation and editing | High-volume production pipelines |
Specs reflect what each model supports on Apiframe today, from the live catalog.
Quickstart
How to call the Midjourney API.
Send one POST /v2/images/generate request with your API key. The call returns a jobId you can poll, or pass a webhook_url and the result is pushed to you the moment it's ready.
Swap midjourney for any other model and nothing else changes.
const response = await fetch("https://api.apiframe.ai/v2/images/generate", {
method: "POST",
headers: {
"X-API-Key": "afk_your_api_key_here",
"Content-Type": "application/json",
},
body: JSON.stringify({
"prompt": "a sleek silver sports car on a coastal highway at sunset, hyper-realistic",
"model": "midjourney"
}),
});
const { jobId } = await response.json();
console.log(jobId); Input schema
Every field Midjourney accepts, with types and defaults. The full reference lives in the docs.
| Field | Type | Description |
|---|---|---|
| prompt required | string | Text description of what to generate. |
| model required | string | The model identifier for this endpoint. Default:"midjourney" · "midjourney" |
Midjourney versions
Every Midjourney image model on Apiframe. Switch with one parameter.
Use cases
What teams build with Midjourney.
Print-on-demand & merch
The Midjourney look sells, generate artwork for t-shirts, posters, and products per order, with four options returned per request.
Ad creative at volume
Distinctive, scroll-stopping visuals from 2 credits per upsample, 10 per generation. Test dozens of directions without a photoshoot or a designer queue.
Automated social pipelines
Connect to Zapier, Make, or n8n and publish branded Midjourney visuals on a schedule, no Discord bot duct tape.
Stills that become video
Pick the best frame, then animate it with Midjourney Video on the same key, clips extendable to 21 seconds in the same pipeline.
Reviews
9,800+ developers. One API.
Real Apiframe reviews from Trustpilot and G2.
Very good Midjourney API
Very good Midjourney API. Using them on scale and I am very satisfied. I tried a lot of competitors, but this API works like a charm. Very good even for a high traffic app.
Easy, user-friendly API (particularly for Midjourney)
Very user-friendly API. Great tool, has its own Python library (in which sense convenient) and easy-to-use.
Honestly the best AI API
They got every engine possible and it's great to have them all in one place.
Midjourney questions
What teams ask before shipping with Midjourney. Everything else lives in the docs.
Is there an official Midjourney API?
No. Midjourney does not offer an official public API. Apiframe provides a stable, fully managed API that connects to Midjourney on your behalf.
Will I get banned for using it?
No. Apiframe manages Midjourney accounts for you, so your own account is never at risk. We handle all the complexity.
Which Midjourney version does the API use?
The current V8.2, the default since July 24, 2026, bolder aesthetics and more consistent image quality on top of V8.1’s HD 2K output and faster generation. You always get the latest version automatically.
Do I need my own Midjourney subscription?
No. Access is fully managed, one Apiframe key covers Midjourney and every other model in the catalog, on one credit balance.
Can I generate video with Midjourney?
Yes. V8.1 added native image-to-video, exposed on Apiframe as the Midjourney Video model, animate any still and extend clips up to 21 seconds.
Can I use the images commercially?
Yes, subject to Midjourney's terms of service. Images are returned as PNG or JPG on our CDN and stored permanently at no extra cost.
Related models
All image modelsFlux 2 Max
by Black Forest Labs
Highest-quality Flux 2 tier.
View modelNano Banana 2
by Google
Next-gen Nano Banana with refined detail.
View modelSeedream 5.0 Pro
by ByteDance
Flagship ByteDance model with sharp 1K/2K output and up to 10 reference images.
View modelIdeogram v4 Quality
by Ideogram
Highest-quality Ideogram v4 tier for production-ready images.
View modelExamples on GitHub · Hugging Face · Postman
9,800+
developers & companies
Official partner of
Power your next AI product with Apiframe.
Instant access to 70+ media models through a single API. Start free and scale when you're ready.