Midjourney MCP
Generate, edit, enlarge, describe, and manage Midjourney image tasks in the AI Agent through MCP.
Midjourney high-quality image generation and processing service.
This is only a basic call example. See the full docs for more parameters and advanced usage.
View DocsIntegrate Midjourney image generation into your applications through a stable, comprehensive REST API. Text-to-image generation, image editing, video generation, image description, and more—all through a unified interface.
Midjourney does not currently offer a public, self-service REST API. Its image generation features are accessible only through the Discord Bot and the official Midjourney website.
Ace Data Cloud fills this gap by providing a stable, production-ready API that gives you full programmatic access to all of Midjourney's image generation features—including image generation, editing, video generation, description, and translation—through a streamlined REST interface with an OpenAPI specification, Webhook support, streaming, and pay-as-you-go pricing.
A comprehensive API suite covering the complete Midjourney image generation workflow
Generate stunning 2×2 image grids from text prompts. Supports Fast, Relax, and Turbo speed modes, with automatic translation of non-English prompts.
Upload an existing image and edit it using text prompts and optional mask regions. Precisely control the areas to modify while preserving the rest of the original image.
Generate AI videos from text prompts and reference images. Supports setting first and last frame images, 480p/720p resolution, and video continuation.
Upload an image to get 4 Midjourney-style text descriptions (reverse prompts). Learn how to recreate similar images with words.
Translate Chinese creative descriptions into English prompts optimized for Midjourney. Automatically adapts to Midjourney's parameter formats and style keywords.
Set a callback_url to receive results asynchronously, or use NDJSON real-time streaming to get progress updates. Check task status for free.
curl -X POST https://api.acedata.cloud/midjourney/imagine \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"action": "generate",
"prompt": "A serene Japanese garden at sunset, koi pond with cherry blossoms --ar 16:9",
"version": "8.2",
"mode": "fast"
}'
{
"success": true,
"task_id": "bedff824-ca09-48f5-8479-bd8a991b9c36",
"image_id": "1472573555521617920",
"progress": 100,
"image_url": "https://cdn.acedata.cloud/8c5b69a6e0.png",
"image_width": 1024,
"image_height": 1024,
"actions": [
"upscale1", "upscale2", "upscale3", "upscale4",
"variation1", "variation2", "variation3", "variation4",
"reroll"
]
}
Previously generated sample image (Fast mode)
A simple REST API using Bearer Token authentication. Generate your first AI image with a single request.
Log in to the application list, open General Application, and click the copy button to the right of API KEY. Store the key on your server and use it to replace YOUR_API_KEY in the example.
Send a request to /midjourney/imagine with your prompt and preferred mode
Receive a high-resolution image URL, a list of available actions, and a task ID—ready to use immediately
The most comprehensive Midjourney API—covering every image creation workflow
Generate a 2×2 image grid from a text prompt, with support for all Midjourney parameters
Enlarge a single image from the grid into a high-resolution image, with support for 2x and 4x upscaling
Generate variations based on a selected image with a similar style but different details
Generate a brand-new image grid using the same prompt
Expand the image canvas with AI-generated surroundings, supporting 1.5x and 2x zoom
Expand image content up, down, left, or right to extend the composition
Combine multiple reference images into a brand-new creative image
Use a mask to select an area and edit it with a text description
Upload an image to get a Midjourney-style text description (reverse prompt)
Generate AI videos from text and reference images, with support for 480p and 720p
Continue an existing video, extending its duration and content
Translate Chinese descriptions into English prompts optimized for Midjourney
From consumer apps to enterprise platforms—here's what developers are building
Build online design platforms that let users quickly generate concept art, illustrations, and design assets using natural language
Generate product images, ad assets, and marketing visuals in bulk to reduce design costs
Integrate with Claude, ChatGPT, or any AI agent through our MCP Server to create images using natural language
Automatically generate game characters, scene concept art, NFT artwork, and story illustrations
Go from signing up to generating your first AI image in less than 5 minutes
Copy the API Key for the general application as shown in the diagram above.
Send a POST request with a text prompt to /midjourney/imagine. You can use an SDK, cURL, or any HTTP client.
Embed the API in your application. Use Webhook for asynchronous processing and scale confidently to production.
See how we compare on the features developers care about most
| Feature | Ace Data Cloud | Other Platforms |
|---|---|---|
| Full Imagine Operations | ✓ | Partial Support |
| Image Editing (Edits + Mask) | ✓ | ✗ |
| Video Generation + Extension | ✓ | ✗ |
| Image Description (Reverse Prompting) | ✓ | Partial Support |
| Intelligent Chinese-English Translation | ✓ | ✗ |
| OpenAPI 3.0 Specification | ✓ | Partial Support |
| Webhook Callbacks | ✓ | Partial Support |
| NDJSON Streaming | ✓ | ✗ |
| MCP Server (AI Agent Integration) | ✓ | ✗ |
| Pay-as-you-go | ✓ | Partial Support |
Choosing between Midjourney, DALL·E, Stable Diffusion, and Flux? See how they compare.
| Capability | Midjourney (via Ace Data) | DALL·E 3 | Flux |
|---|---|---|---|
| Artistic Style Quality | ✓ Best | Good | Good |
| Image Upscaling (2x / 4x) | ✓ | ✗ | ✗ |
| Variations and Blending | ✓ | ✗ | ✗ |
| Canvas Expansion (Zoom / Pan) | ✓ | ✗ | ✗ |
| Video Generation | ✓ | ✗ | ✗ |
| Image Editing + Masking | ✓ | ✓ | ✗ |
| Reverse Prompting (Describe) | ✓ | ✗ | ✗ |
V8.2 supports Relax, Fast, and Turbo; V8.1 supports Relax and Fast. Use version to select the image version.
For non-urgent batch processing. Queued generation at the lowest cost, suitable for background batch processing.
The best balance of speed and cost for production-grade applications. Generate high-quality images quickly.
Ultra-fast generation for real-time applications with demanding response time requirements.
Transparent pay-as-you-go pricing. No subscription fees. No hidden costs. Pay only for what you use.
Volume packages up to 27% OFF · Task queries are free forever
Core image generation—each generation produces a 2×2 image grid
Volume discounts for high-usage teams
Everything you need to know about using the Midjourney API
Midjourney does not currently offer a public, self-service REST API. Its image generation features are accessible only through the Discord Bot and the official website. Ace Data Cloud provides a stable, production-ready API that gives you full access to all of Midjourney's image generation features.
Pricing is based on the model version, operation, speed mode, and image specifications. For example, a standard V8.2 generation in Fast mode costs 0.401 Credits, or 0.801 Credits with HD enabled. When performing further operations on an existing image, the billing mode may be inherited from the original image. Task queries are free.
We support all 3 Midjourney speed modes: Relax (most economical), Fast (recommended, the best balance of speed and cost), and Turbo (fastest). All modes produce images of the same quality; they differ in generation speed and price.
There are three ways: (1) Use callback_url—set a Webhook URL, and we will POST the result when complete. (2) Use NDJSON streaming—set the Accept: application/x-ndjson request header to receive real-time progress updates. (3) Poll via /midjourney/tasks—this endpoint is free and lets you check the status at any time.
Yes! The Imagine API has a built-in translation parameter that, when enabled, automatically translates non-English prompts into English. You can also use the /midjourney/translate endpoint separately to translate Chinese creative descriptions into English prompts optimized for Midjourney.
Yes! We provide an official MCP Server (mcp-midjourney) that integrates directly with Claude Desktop, VS Code, and other MCP-compatible AI tools. It includes 13 tool functions covering all features, including image generation, editing, description, and video. Your AI Agent can generate images through natural-language conversations.
Yes! Set the split_images: true parameter, and the API will automatically split the 2×2 grid into 4 individual images and return the URL for each image directly. You can also use the Upscale operation to enlarge an individual image into a high-resolution image.
Yes! Using the /midjourney/videos endpoint, you can generate AI videos based on text prompts and reference images. You can set parameters such as first/last frame images, 480p/720p resolution, and looping. Videos can also be extended using the extend operation.
Explore our complete suite of AI APIs, covering music, video, search, and more
Generate complete AI songs with lyrics and vocals from text prompts
Create AI-generated videos using Dream Machine and Ray models
Black Forest Labs' Flux model—high-quality AI image generation
Anthropic's Claude—powerful reasoning and coding capabilities through an OpenAI-compatible proxy
Join thousands of developers building with the most comprehensive Midjourney API. Pay as you go—no subscription fees, no commitments.
Midjourney image generation API, text-to-image with iterative refinement.
Midjourney Seed query API, get the seed value of an image by ID.
Midjourney image editing API for modifying existing images.
Midjourney video generation API, text-to-video with extension support.
Midjourney image description API, generates 4 text descriptions from an image.
Midjourney prompt analysis API, takes a prompt and returns 5 shortened candidate prompts with keyword-weight analysis.
Translate non-English Midjourney prompts to English with optimization.
Midjourney task query API, check status of one or more tasks.
We offer various credit packages. The more you purchase, the higher the discount you receive.
up to46% OFFGenerate, edit, enlarge, describe, and manage Midjourney image tasks in the AI Agent through MCP.
Configuration Method
Connect the current service in Claude Code:
mcpServers service entry below into .mcp.json in the project root directory, retaining the existing configuration.ACEDATACLOUD_API_TOKEN in the terminal: use export ACEDATACLOUD_API_TOKEN='YOUR_API_TOKEN' on macOS/Linux, and $env:ACEDATACLOUD_API_TOKEN = 'YOUR_API_TOKEN' in Windows PowerShell; replace YOUR_API_TOKEN with your AceDataCloud API Token.claude in the same terminal where this variable has been set; new terminals or desktop-launched clients must also be able to read this variable./mcp to confirm that the service is connected and the tools have been loaded; when using the project configuration for the first time, check and approve the service as prompted.export ACEDATACLOUD_API_TOKEN='YOUR_API_TOKEN'
claude mcp add --scope user --transport http 'midjourney-mcp' 'https://midjourney.mcp.acedata.cloud/mcp' --header 'Authorization: Bearer ${ACEDATACLOUD_API_TOKEN}'