Blend

POST
https://api.genartapi.com/blend

Parameters

NAMETYPEREQUIREDDESCRIPTION
imageUrlsstring arraytrueminmum 2 image urls, maxium 5

Response Code

RESPONSE CODEDESCRIPTION
200: OK
Successful Response
400: Bad Request
The request data format is incorrect
401: Unauthorized
The API key is incorrect or expired
500: Internal Server Error
Service is experiencing an error

Request Example:

Make sure you also passed servier_id, channel_id, discord_token and (our) apiKey.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 const axios = require("axios") const config = { method: "post", url: "https://api.genartapi.com/blend", headers: { "Content-Type": "application/json", "Authorization": "Bearer <your-midjourney-api-key>", "server_id": "<servier_id>", "channel_id": "<channel_id>", "discord_token": "<discord_token>", }, data: { "imageUrls": [ "https://cdn.midjourney.com/ab739450-7a9a-4c91-857e-60892adf60e7/0_1.webp", "https://graduate.northeastern.edu/resources/wp-content/uploads/sites/4/2019/09/iStock-1150384596-2.jpg" ] }, } axios(config) .then(function (response) { console.log(JSON.stringify(response.data)) }) .catch(function (error) { console.log(error) })

Response Example:

you can get generated images by using uri or proxy_url
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 { "content": "[6193531306] <https://s.mj.run/b5-6RQQa3Lw> <https://s.mj.run/qIPFnpL46Cw>", "id": "1239432055876485200", "uri": "https://cdn.discordapp.com/attachments/1235070628952805379/1239432055398469663/bytefishstudios_6193531306_a66cdb39-8cd1-40b5-b42a-3b7f48d30e36.png?ex=6642e68d&is=6641950d&hm=3c23f52ded5b4522e14aa8104f5e8f23f6008745e6b632cdc2f4cf0bc5f08ba4&", "proxy_url": "https://media.discordapp.net/attachments/1235070628952805379/1239432055398469663/bytefishstudios_6193531306_a66cdb39-8cd1-40b5-b42a-3b7f48d30e36.png?ex=6642e68d&is=6641950d&hm=3c23f52ded5b4522e14aa8104f5e8f23f6008745e6b632cdc2f4cf0bc5f08ba4&", "flags": 0, "hash": "a66cdb39-8cd1-40b5-b42a-3b7f48d30e36", "progress": "done", "options": [ { "type": 2, "style": 2, "label": "U1", "custom": "MJ::JOB::upsample::1::a66cdb39-8cd1-40b5-b42a-3b7f48d30e36" }, { "type": 2, "style": 2, "label": "U2", "custom": "MJ::JOB::upsample::2::a66cdb39-8cd1-40b5-b42a-3b7f48d30e36" }, { "type": 2, "style": 2, "label": "U3", "custom": "MJ::JOB::upsample::3::a66cdb39-8cd1-40b5-b42a-3b7f48d30e36" }, { "type": 2, "style": 2, "label": "U4", "custom": "MJ::JOB::upsample::4::a66cdb39-8cd1-40b5-b42a-3b7f48d30e36" }, { "type": 2, "style": 2, "label": "🔄", "custom": "MJ::JOB::reroll::0::a66cdb39-8cd1-40b5-b42a-3b7f48d30e36::SOLO" }, { "type": 2, "style": 2, "label": "V1", "custom": "MJ::JOB::variation::1::a66cdb39-8cd1-40b5-b42a-3b7f48d30e36" }, { "type": 2, "style": 2, "label": "V2", "custom": "MJ::JOB::variation::2::a66cdb39-8cd1-40b5-b42a-3b7f48d30e36" }, { "type": 2, "style": 2, "label": "V3", "custom": "MJ::JOB::variation::3::a66cdb39-8cd1-40b5-b42a-3b7f48d30e36" }, { "type": 2, "style": 2, "label": "V4", "custom": "MJ::JOB::variation::4::a66cdb39-8cd1-40b5-b42a-3b7f48d30e36" } ], "width": 2048, "height": 2048, "taskId": "WzYxOTM1MzEzMDZdXzEyMzk0MzIwNTU4NzY0ODUyMDBfMF9hNjZjZGIzOS04Y2QxLTQwYjUtYjQyYS0zYjdmNDhkMzBlMzY=" }

Email:

bytefishstudios@gmail.com

Discord:

https://discord.gg/H3DJp237

Midjourney API is built with ♥ and simplicity is our goal. We've designed it to be straightforward, making it a breeze for you to use.