midjourneyapi.ai

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.

Sign in to run this generation. New accounts include 20 free credits.
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.

Monthly plans and effective price per image
PlanMonthlyGenerationsPer image
StarterFree, no card20 once$0
Builder$19/mo250$0.019
Production$59/mo1,000$0.015
Scale$199/mo4,000$0.012

Capabilities

Everything Midjourney does, as JSON.

  1. 01Latest Midjourney by default, or pin a version
  2. 024 images per generation
  3. 03Fast/Relax: 1 credit. Turbo: 2 credits.
  4. 04Aspect ratio, stylize, chaos, weird, seed, raw
  5. 05Reference images
  6. 06Concurrent jobs, tracked by ID
  7. 07Idempotency keys — retries never double-charge
  8. 08Immutable image URLs with SHA-256

Quickstart

Live in under 3 minutes.

  1. 01

    Sign in with Google

    20 credits, instantly.

  2. 02

    Create an API key

    One click.

  3. 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.