Guides
Image to Image — /blend

Blending Multiple Images — Using Midjourney's /blend Command

Midjourney allows you to blend multiple images together using the /blend command. This command is useful for creating a composite image from multiple sources.

To blend images together, you can use the POST /items/images as follows.

In the prompt field, you can specify the URLs of the images you want to blend together. The URLs should be separated by a space.

Here's how that looks like:

const axios = require('axios');
 
const data = {
    prompt: "https://i.imgur.com/4Bom9qR.png https://i.imgur.com/CMAbAEz.png"
};
 
axios.post('https://cl.imagineapi.dev/items/images/', data, {
    headers: {
        'Authorization': 'Bearer <TokenID>',
        'Content-Type': 'application/json'
    }
}).then(response => {
    console.log(response.data);
}).catch(error => {
    console.error(error);
});

Here are the results of blending the two images together:

2 images blended by Midjourney