Connect to AI
AI & Machine Learning API Key

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.

Base URL https://api.midjourney.com/v1

API Endpoints

MethodEndpointDescription
POST/imagineGenerate a new image from a text prompt
POST/upscaleUpscale a generated image to higher resolution
POST/varyCreate variations of an existing generated image
GET/jobs/{job_id}Get the status and result of a generation job
GET/jobsList all generation jobs with filtering options
POST/blendBlend multiple images together into a new creation
POST/describeGenerate text prompts from an uploaded image
GET/accountGet 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/zoomZoom out from a generated image to show more context
POST/panPan a generated image in a specific direction
GET/stylesList available style presets and parameters
POST/remixRemix an image with a modified prompt
GET/webhooksList configured webhooks for job completion events

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 →

Related APIs