Skip to main content
Glama

midjourney_edit

Modify existing images with AI by applying text prompts and optional masks to edit specific regions, add elements, or change styles.

Instructions

Edit an existing image using Midjourney.

This allows you to modify an existing image based on a text prompt, optionally using a mask to specify which regions to edit. Use this when: - You want to modify an existing image with AI - You want to add or change elements in an image - You want to apply style changes to an image - You need to edit specific regions using a mask For masks: - White areas in the mask indicate regions to regenerate - Black areas will be preserved from the original Returns: Task ID and edited image information including URLs and dimensions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
image_urlYesURL of the image to edit. Must be a direct image URL (not a web page).
promptYesDescription of how to edit the image. Examples: 'A cat sitting on a table', 'Add a sunset in the background', 'Make it look like a watercolor painting'
modeNoGeneration mode. 'fast' is recommended.fast
split_imagesNoIf true, split the result into separate images returned via sub_image_urls.
maskNoOptional Base64-encoded mask image. White areas indicate regions to edit and regenerate.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AceDataCloud/MCPMidjourney'

If you have feedback or need assistance with the MCP directory API, please join our Discord server