Midjourney icon

Midjourney

AI to generate images

Midjourney

AI-generated

Summary

Perform various Midjourney image generation and manipulation actions including imagining images from a prompt, describing images, upscaling, creating variations, zooming out, or sending custom commands.

Inputs

  • Action (required) — Select the operation to perform: 'imagine' to generate a grid of 4 images from a prompt, 'describe' to get a description of an image URI, 'upscale' to upscale a selected image, 'variation' to create a variation grid with 4 images, 'zoomout' to zoom out a selected image, or 'custom' to send a custom command.
  • Prompt (required) — The text prompt used to generate or create variation images (required for 'imagine' and 'variation' actions).
  • Image URI (required) — The URI of the image to describe (required for 'describe' action).
  • Message ID (required) — The message ID referencing the image to manipulate (required for 'variation', 'upscale', 'zoomout', and 'custom' actions).
  • Message Hash (required) — The message hash associated with the image (required for 'variation', 'upscale', and 'zoomout' actions).
  • Message Flags (required) — Numeric flags for the message, used in some image manipulation actions (required for 'variation', 'upscale', 'zoomout', and 'custom' actions).
  • Index (required) — Index of the selected image for upscaling or creating variations (required for 'variation' and 'upscale' actions).
  • Custom ID (required) — Custom identifier for sending arbitrary commands (required for 'custom' action).
  • Zoom Level (required) — Zoom intensity level when zooming out an image; options include 'high', 'low', '2x', and '1.5x' (required for 'zoomout' action).

Output shape

Returns JSON objects containing details such as image IDs, hashes, content, URIs, flags, and options specific to the selected action.

Each output object corresponds to an input item. Output fields include identifiers and metadata from the Midjourney API. The node supports error handling per item if 'Continue On Fail' is enabled.

Examples

Example 1: Generate images

Set action to 'imagine' and provide a prompt to generate a grid of 4 new images.

Example 2: Describe an image

Set action to 'describe' and provide an image URI to receive descriptive information about the image.

Example 3: Upscale an image

Set action to 'upscale' and supply message identifiers and index to enlarge a specific image.

Discussion