GoAPI Midjourney API Task Result
GoAPI's Midjourney task result is seen in the response of Fetch, MultiFetch and Webhooks.
Task Result Example
{
"discord_image_url": "https://cdn.discordapp.com/attachments/1180016465852764212/1183977820561612850/Cybeles_a_dog_34ca8bae-7bf4-4455-83d7-508f6784fe03.png?ex=658a4c45&is=6577d745&hm=dddd555b9deec0c49aa5453123b15c7ce145c8568a50a5ab7587e18692cb85a0&",
"image_url": "https://img.midjourneyapi.xyz/mj/c0d39b5a-345c-4448-a7bf-5c299c38a06a.png",
"temporary_image_urls": [],
"permanent_url": "",
"task_progress": 90,
"intermediate_image_urls":["image1.png","image2.png"],
"image_id": "34ca8bae-7bf4-4455-83d7-508f6784fe03",
"seed": "",
"result_message_id": "1183977820792307844",
"quota_used": 3,
"credit": 0,
"message": "",
"error_messages": [],
"need_retry": true,
"actions": [
"reroll",
"upscale1",
"upscale2",
"upscale3",
"upscale4",
"variation1",
"variation2",
"variation3",
"variation4"
]
}
Explaining Task Result Parameters
Parameter | Description |
---|---|
discord_image_url | The exact output url given by midjourney bot, check Optional Param |
image_url | temporary url for the result image, cached by GoAPI for ONLY 5 days |
temporary_image_urls | An array of four image urls that splited from the origin image, on mj cdn, for security reasons this is a Optional Param |
task_progress | 0~100 as task progress in percentile. check Optional Param |
intermediate_image_urls | An array of preview images displayed by midjourney when the job is processing, check Optional Param |
seed | Seed of the image, only available in Seed endpoint. |
quota_used | The mj quota used by this job |
credit | Legacy param |
message | message generated by GoAPI |
error_messages | Error message generated by GoAPI and Midjourney, this is vital for troubleshooting |
need_retry | Legacy param, DO NOT USE THIS VALUE FOR TASK CHECK |
actions | Available next steps for this job, for more details, see Action Checker |
Access to Optional Task Result Parameters
Some optional parameters in the task result are only visible for certain subscription plan users, as shown below:
Optional Task Result Parameters | Hobbyist + PPU | Hobbyist + BYOA | Developer + PPU | Developer + BYOA | Premium + PPU | Premium + BYOA |
---|---|---|---|---|---|---|
task_progress(Fetch, MultiFetch, Webhook when notify_progress=true) | NO | NO | YES | YES | YES | YES |
intermediate_image_urls(Fetch, MultiFetch, Webhook when notify_progress=true) | NO | NO | NO | YES | NO | YES |
discord_image_url(Fetch, MultiFetch, Webhook) | NO | YES | NO | YES | YES | YES |
temporary_image_urls(Fetch, MultiFetch, Webhook) | NO | YES | NO | YES | YES | YES |