Midjourney API and MCP: how to add image generation to your project
Midjourney is an image generation model. NeuralSpace offers the following models: Midjourney v7. They all run through a single public API, and there is a ready MCP server for AI agents. The key is issued on the API keys page. Below are the model capabilities, request examples and setup steps.
What Midjourney can do
Midjourney v7 generates images from text, priced by generation mode: relaxed, fast or turbo. The model is known for its artistic style and suits concept art, illustrations and creative tasks.
API endpoint
Send a request to POST /v1/images/generations. Example: {"model": "midjourney", "prompt": "a fantasy landscape", "mode": "fast"}. Authorization uses an API key in the x-api-key header. Available model ids: midjourney.

MCP tools
The NeuralSpace MCP server is available at POST /mcp (Streamable HTTP). To work with Midjourney, an agent uses the tools: generate_image, list_models, get_balance. This lets Claude Code, Cursor and other MCP clients use the site models directly.
How to connect
Sign up on NeuralSpace, open the API keys page and create an nsk-… key. Then pass it in the request header or in your MCP client settings. Full documentation is on the the /v1/docs page.
FAQ
Which generation modes are available?
relaxed, fast and turbo.
What is the model good for?
For concept art, illustrations and creative tasks.
What format is the request?
POST /v1/images/generations with model and prompt fields.