Midjourney · Utility

OpenClaw x Midjourney

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.

3 variants from $0.05 / call Commercial OK

Prerequisite: npx runapi mcp install

Prompt

Prompt models

Use midjourney-edit-image when it matches the task: Prompt-guided editing from one source image.

You have access to RunAPI task tools for Midjourney.

Available Midjourney models:
- midjourney-edit-image: Prompt-guided editing from one source image
  endpoints: /api/v1/midjourney/edit_image
  request fields: model, prompt, source_image_url
- midjourney-image-to-video: Animate a source image with optional motion guidance and final frame
  endpoints: /api/v1/midjourney/image_to_video, /api/v1/midjourney/extend_video
  request fields: model, prompt, source_image_url
- midjourney-v8.1: V8.1 text-to-image with aspect-ratio controls and optional prompt translation
  endpoints: /api/v1/midjourney/text_to_image
  request fields: model, prompt

Use the model ID and endpoint that match the user's request.
Example prompt: Create a cinematic product image of a cobalt ceramic vase on white marble, then animate it with a slow camera orbit.
/api/v1/midjourney/edit_image: Submit the task, poll for its status, then verify the completed output. POST /api/v1/midjourney/edit_image and save the returned Task id.
GET /api/v1/midjourney/edit_image/<task-id> until status is completed or failed.
Verify the completed response contains the endpoint-specific output documented in the API reference.
/api/v1/midjourney/image_to_video: Submit the task, poll for its status, then verify the completed output. POST /api/v1/midjourney/image_to_video and save the returned Task id.
GET /api/v1/midjourney/image_to_video/<task-id> until status is completed or failed.
Verify the completed response contains the endpoint-specific output documented in the API reference.
/api/v1/midjourney/extend_video: Submit the task, poll for its status, then verify the completed output. POST /api/v1/midjourney/extend_video and save the returned Task id.
GET /api/v1/midjourney/extend_video/<task-id> until status is completed or failed.
Verify the completed response contains the endpoint-specific output documented in the API reference.
/api/v1/midjourney/text_to_image: Submit the task, poll for its status, then verify the completed output. POST /api/v1/midjourney/text_to_image and save the returned Task id.
GET /api/v1/midjourney/text_to_image/<task-id> until status is completed or failed.
Verify the completed response contains the endpoint-specific output documented in the API reference.

Public Versions and Endpoints

Model ID Endpoints Price Catalog
midjourney-edit-image
/api/v1/midjourney/edit_image
$0.06 / call Model detail
midjourney-image-to-video
/api/v1/midjourney/image_to_video /api/v1/midjourney/extend_video
$0.47 / call Model detail
midjourney-v8.1
/api/v1/midjourney/text_to_image
$0.05 / call Model detail

Verify

Poll until the task reaches a terminal status

Select <model-id> to generate verification commands.

Configuration

Guide endpoint: <endpoint>

Select <model-id> to generate a request with the endpoint's public input contract.

Additional operations

These operations do not use a model ID.

  • /api/v1/midjourney/shorten_prompt
  • /api/v1/midjourney/image_to_prompt
  • /api/v1/midjourney/get_seed
How it works

Get Started in 3 Steps

  1. Choose a model ID

    Select a public catalog model ID and review its endpoint and current starting price.

  2. Configure RunAPI

    Set RUNAPI_API_KEY before making the endpoint request.

  3. Verify the result

    For asynchronous endpoints, poll the same endpoint until the Task reaches a terminal status.

What to Build with OpenClaw + Midjourney

  • Creative concept art

    Generate cinematic concept art, mood boards, and style exploration images directly from an agent workflow.

  • Marketing image variations

    Create polished campaign visuals, thumbnails, product scenes, and social creatives from a written brief.

  • Image-to-video motion tests

    Animate a selected image into a short video with motion guidance, then hand the result to editing or publishing steps.

Why Use Midjourney Through RunAPI + OpenClaw

  • 3 variants, one API key

    Use one RunAPI connection to choose among the live model variants without changing your integration.

  • Clear usage pricing

    See current catalog pricing before you send a request, with no subscription or minimum spend required.

  • Automatic task workflows

    Submit, poll, and collect asynchronous results through a consistent task workflow without writing manual polling code.

OpenClaw + Midjourney Questions

Can I use Midjourney in OpenClaw through RunAPI?

Yes. OpenClaw agents can call the RunAPI Midjourney endpoints shown on this page for generation, image edits, and animation.

Do I need Discord to use Midjourney from an agent?

No. RunAPI exposes Midjourney as API endpoints with task IDs, polling, callbacks, and SDK support. Your agent sends HTTP requests and receives media URLs.

Can Midjourney generate video?

Yes. The image-to-video endpoint animates a source image into a short video, with an optional prompt to guide motion or camera direction.

Which model ID should I use?

Choose a public model ID from the version table. Each ID exposes the endpoints shown for that version.

Does this guide configure a chat model?

No. This Model Line uses the endpoint workflow shown here and is not presented as an agent chat model.

Start using Midjourney with OpenClaw

Building with a team?

We're here to help with enterprise setup, integrations, and technical questions.

Contact Us