Skip to main content

Create your text-to-image apps with Midjourney API

PiAPI no longer provides the Midjourney API service. Visit LegNext.ai for similar image-generation services.

Get Started!

Midjourney API Pricing

Pay-as-you-go access through PiAPI.

Midjourney API

Service discontinued

Midjourney API service is no longer provided by PiAPI.

Features

Capabilities from the production model page.

Service status

Midjourney API service is no longer provided by PiAPI.

Alternative solutions

LegNext.ai provides similar image-generation services.

Get started

Create your API key

Sign up and grab an API key from the PiAPI workspace — free credits are included on sign-up.

Top up credits

Add credits on the billing page when you are ready to scale beyond the free tier.

Call the API

POST your first task following the API docs, then poll the task until the result is ready.

Iterate in the playground

Prototype prompts and settings in the the playground above before wiring them into your product.

curl -X POST 'https://api.piapi.ai/api/v1/task' \
  -H 'X-API-Key: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "midjourney",
    "task_type": "imagine",
    "input": {
      "prompt": "a cute puppy",
      "aspect_ratio": "1:1",
      "process_mode": "fast",
      "skip_prompt_check": false
    }
  }'

# → { "task_id": "9d5a…", "status": "pending" }

Frequently asked questions

Is Midjourney API still available from PiAPI?

Midjourney API service is no longer provided by PiAPI.

Where can I find a similar image-generation service?

LegNext.ai provides similar image-generation services.

More questions? See the API docs.

Our blog

Midjourney API