Midjourney API for developers
Midjourney API for developers.
Generate Midjourney images with a REST call — no Discord automation, no Midjourney account. 20 free credits to start.
Create an image
Drop a JPEG, PNG, or WebP image here to attach it as a reference.
- 4
- images per call
- < 2¢
- per image, Fast/Relax
- 20
- free credits
- < 3 min
- to first image
No Discord
We run the Midjourney side. You send HTTP.
No Midjourney account
Your API key is the only credential you need.
No surprise bills
From $19/mo. Fast/Relax: 1 credit. Turbo: 2.
Pricing
Under 2¢ an image.
Fast/Relax pricing below. Turbo uses 2 credits: half as many generations, twice the image price. 4 images per generation.
| Plan | Monthly | Generations | Per image | Best for |
|---|---|---|---|---|
| Starter | Free, no card | 20 once | $0 | Trying it |
| Builder | $19/mo | 250 | $0.019 | Prototypes |
| Production | $59/mo | 1,000 | $0.015 | Apps with users |
| Scale | $199/mo | 4,000 | $0.012 | Volume pipelines |
Capabilities
Everything Midjourney does, as JSON.
- 01Latest Midjourney by default, or pin a version
- 024 images per generation
- 03Fast/Relax: 1 credit. Turbo: 2 credits.
- 04Aspect ratio, stylize, chaos, weird, seed, raw
- 05Reference images
- 06Concurrent jobs, tracked by ID
- 07Idempotency keys — retries never double-charge
- 08Immutable image URLs with SHA-256
Quickstart
Live in under 3 minutes.
- 01
Sign in with Google
20 credits, instantly.
- 02
Create an API key
One click.
- 03
Send this request
Poll the job ID. Download four images.
curl --request POST https://api.midjourneyapi.ai/v1/generate \ --header "Authorization: Bearer $MIDJOURNEY_API_KEY" \ --header 'Content-Type: application/json' \ --header "Idempotency-Key: gen_$(uuidgen)" \ --data '{ "prompt": "A quiet observatory above the clouds", "mode": "fast", "config": { "aspectRatio": "16:9" }}'Full endpoint list in the API reference.
Use cases
Built for
Print-on-demand
Artwork per order, four options each.
Ad creative
Dozens of directions before lunch.
Content pipelines
n8n, Make, Zapier, or a cron job.
In-app visuals
Mockups and hero images, the Midjourney look.
FAQ
Before you ship
- Is there an official Midjourney API?
- No. midjourneyapi.ai is an independent service that puts Midjourney behind a REST endpoint. Not affiliated with Midjourney, Inc.
- Do I need a Midjourney subscription or Discord?
- No. Your API key is all you need. We handle the Midjourney side.
- How much does the Midjourney API cost?
- 20 free credits, no card. Plans from $19/mo for 250 credits. Fast/Relax: 1 credit per generation. Turbo: 2. Four images each.
- How long does a generation take?
- Depends on the speed mode and Midjourney's queue. Submit returns a job ID instantly; poll it until the four images are ready.
- Can I run many generations at once?
- Yes. Jobs queue and run concurrently, each tracked by its own ID.
- Can I try it before paying?
- Yes. Write a prompt above, hit Generate, sign in once. It runs on your 20 free credits.
Independent developer tool. Not affiliated with or endorsed by Midjourney, Inc.