Image-to-Image
AI-generatedSummary
Generate a new image based on a given reference image URL and textual prompt using a selected Midjourney model via the Kie.ai API.
Inputs
- Model — Select the Midjourney model to use, either Midjourney Standard or Midjourney Niji 7.
- Prompt (required) — Provide the text description that guides the image transformation process.
- Image URL (required) — Specify the URL of the reference image to apply the image-to-image generation.
- Aspect Ratio — Choose the aspect ratio for the generated image (e.g., 1:1, 16:9). Defaults to 1:1.
- Negative Prompt — Describe elements to avoid in the generated image.
- Reply URL — Optional webhook URL to receive a callback when the generation task is complete.
- Reply Ref — Optional custom string to be passed back in the webhook callback for identification.
- Wait for Completion — Set to true to have the node poll the task status every 3 seconds, waiting up to 5 minutes for completion before returning the final image data.
Output shape
a list of JSON objects representing the task creation response or the completed image generation result
If 'Wait for Completion' is enabled and the task provides a task ID, the operation polls the Kie.ai API every 3 seconds (up to 5 minutes) until the image generation completes, returning the final detailed result. If not waiting, it immediately returns the task creation response containing task details. Errors can be returned as error messages in the output if 'Continue on Fail' is enabled.
Examples
Example 1: Generating a new image from an existing image URL with prompt
Set 'Model' to 'Midjourney Standard', provide the 'Prompt' for desired image features, input the reference 'Image URL', and optionally specify 'Aspect Ratio' and 'Negative Prompt'. Enable 'Wait for Completion' to receive the final image data in the node output.