midjourney_with_reference
Use a reference image to generate modified versions. Describe changes to style, elements, or composition, and control reference influence with --iw parameter.
Instructions
Generate images using a reference image as inspiration.
This allows you to use an existing image as a starting point and modify it
based on your prompt description.
Use this when:
- You want to reimagine an existing image with modifications
- You want to change the style of an image
- You want to add or change elements while keeping the composition
Tips:
- Use --iw parameter (image weight) to control reference influence (0-2)
- Higher --iw values make the output more similar to the reference
Returns:
Task ID and generated image information.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reference_image_url | Yes | URL of the reference image to use as a base. Must be a direct image URL (not a web page). | |
| prompt | Yes | Description of how to modify or reimagine the reference image. Examples: 'an illustration of a car parked on the beach --iw 2', 'in the style of Van Gogh' | |
| mode | No | Generation mode. | fast |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |