Midjourney REST API
AI-powered image generation and creative workflow API
Midjourney is an AI image generation platform that creates stunning artwork from text prompts. The API enables developers to programmatically generate, upscale, and manage AI-generated images, integrate creative workflows into applications, and automate artistic content creation at scale. Used by creative teams, marketing platforms, and content generation tools to produce high-quality visual assets.
https://api.midjourney.com/v1
API Endpoints
| Method | Endpoint | Description |
|---|---|---|
| POST | /imagine | Generate a new image from a text prompt |
| POST | /upscale | Upscale a generated image to higher resolution |
| POST | /vary | Create variations of an existing generated image |
| GET | /jobs/{job_id} | Get the status and result of a generation job |
| GET | /jobs | List all generation jobs with filtering options |
| POST | /blend | Blend multiple images together into a new creation |
| POST | /describe | Generate text prompts from an uploaded image |
| GET | /account | Get account information including usage and limits |
| GET | /images/{image_id} | Retrieve metadata and URLs for a specific image |
| DELETE | /jobs/{job_id} | Cancel a running generation job |
| POST | /zoom | Zoom out from a generated image to show more context |
| POST | /pan | Pan a generated image in a specific direction |
| GET | /styles | List available style presets and parameters |
| POST | /remix | Remix an image with a modified prompt |
| GET | /webhooks | List configured webhooks for job completion events |
Sponsor this page
AvailableReach developers actively building with Midjourney. See live pageview data and self-serve checkout — your slot goes live in minutes.
View inventory & pricing →Code Examples
curl -X POST https://api.midjourney.com/v1/imagine \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "a serene mountain landscape at sunset, photorealistic, 8k",
"aspect_ratio": "16:9",
"version": "6",
"quality": "high"
}'
Use Midjourney from Claude / Cursor / ChatGPT
Get a hosted MCP endpoint for Midjourney. Paste your Midjourney API key, copy back one URL, drop it into Claude Desktop, Cursor, or any AI client that supports remote MCP. Your AI calls Midjourney directly with your credentials — no local install, works on mobile.
generate_image
Generate AI images from text descriptions with customizable parameters like aspect ratio, style, and quality settings
upscale_image
Upscale generated images to higher resolutions for production use and detailed viewing
create_variations
Create multiple variations of existing images to explore different creative directions
blend_images
Blend multiple images together to create unique composite artwork and concepts
describe_image
Reverse-engineer prompts from existing images to understand composition and recreate similar styles
Connect in 60 seconds
Paste your Midjourney key → get an MCP URL → paste into Claude/Cursor. Hosted by IOX, encrypted at rest.
Connect Midjourney to your AI →