Utility Midjourney

Midjourney API

Use the Midjourney API via RunAPI with a model skill, unified auth, and pay-as-you-go pricing.

runapi.ai
curl -X POST https://runapi.ai/api/v1/midjourney/edit_image \
  -H "Authorization: Bearer $RUNAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "midjourney-v8.1",
  "source_image_url": "https://cdn.runapi.ai/public/samples/image.jpg",
  "prompt": "Create a cinematic product image of a cobalt ceramic vase on white marble, then animate it with a slow camera orbit."
}'
import { MidjourneyClient } from "@runapi.ai/midjourney";

const client = new MidjourneyClient();
const result = await client.editImage.run({
    model: "midjourney-v8.1",
    source_image_url: "https://cdn.runapi.ai/public/samples/image.jpg",
    prompt: "Create a cinematic product image of a cobalt ceramic vase on white marble, then animate it with a slow camera orbit.",
});
require "runapi/midjourney"

client = RunApi::Midjourney::Client.new
result = client.edit_image.run(
    model: "midjourney-v8.1",
    source_image_url: "https://cdn.runapi.ai/public/samples/image.jpg",
    prompt: "Create a cinematic product image of a cobalt ceramic vase on white marble, then animate it with a slow camera orbit."
)
npx skills add runapi-ai/midjourney -g
# Claude Code
claude mcp add runapi -s user -- npx -y @runapi.ai/mcp

# Codex
codex plugin install runapi-mcp@agents

# Cursor / Windsurf / VS Code
npx @runapi.ai/mcp init cursor
@runapi.ai/midjourney v1
OVERVIEW

About Midjourney

Midjourney creates images from text, edits source images, animates still images, derives prompt suggestions from images, shortens long prompts into concise alternatives, and retrieves seeds for completed image tasks.

Provider
Midjourney
Modality
Utility

Available Versions

Variant Billing Pricing
midjourney-edit-image call $0.06 View →
midjourney-image-to-video call $0.47 View →
midjourney-v8.1 call $0.05 View →
PRICING

Midjourney Pricing

Endpoint Resolution Duration Price
edit_image — — $0.06 / image

Prices shown for midjourney-edit-image. Other variants retain their own endpoint pricing.

PRICING

Utility endpoints

Shared endpoints for this model line, such as extension, enhancement, or conversion actions.

Shorten prompt
$0.04 / request
Image to prompt
$0.04 / request
Get seed
Free / request
Agent integration

Run Midjourney From an Agent

HOW IT WORKS

Get Started with Midjourney

  1. Create an API key

    Sign up and generate an API key from the dashboard.

  2. Pick a version

    Choose the version that best matches your quality and cost requirements.

  3. Send a request

    Submit your prompt and parameters to the model's documented endpoint.

  4. Get your result

    Poll the task or set a webhook, then download the completed output.

CONTEXT

About Midjourney on RunAPI

Midjourney image and video generation runs asynchronously with task-status responses under one RunAPI key; the prompt utilities (image-to-prompt, prompt shortening, seed lookup) return synchronously.

Provider
Midjourney
See all →
Modality
Utility
Browse models →

Why Use Midjourney Through RunAPI

One auth, every provider

A single RunAPI API key unlocks the whole model catalog across all providers. No separate accounts to create, no API keys to rotate per integration, and no credential management overhead. Add a new model to your app by changing one parameter.

Unified pricing & billing

Per-call pricing in USD, billed monthly into a single invoice. No subscription tiers, no minimum spend, and failed generations are never charged. The pricing page and check_pricing API show exact costs before you commit to a model.

Schema-first SDK

Typed schemas, parameter constraints, and setup notes are packaged in the model skill so your implementation starts from the right contract. The skill loads into Claude Code, Codex, Gemini CLI, Cursor, and VS Code — your agent knows the correct request shape before you write a line of code.

Midjourney Questions

What Midjourney capabilities are available?

RunAPI supports V8.1 text-to-image, prompt-guided image editing, image-to-video, image-to-prompt, prompt shortening, and seed lookup.

Can Midjourney return separate image outputs?

Yes. Text-to-image and image editing accept `include_split_images` and return separate image URLs when those outputs are available.

What does image-to-video require?

Provide one public source image URL. You may also add motion guidance, a final-frame image, or looping behavior.

What does image-to-prompt return?

It analyzes one public image URL and returns prompt suggestions that can be used as starting points for new image requests.

What does prompt shortening return?

It accepts one prompt and returns a small ordered set of concise alternatives for comparison before image generation.

How does seed lookup work?

Use the `image_id` from a completed Midjourney image task owned by the current account. RunAPI returns the seed associated with that image.

SIMILAR MODELS

Similar Utility Models

Start generating with Midjourney