You can refresh the image link through this API and obtain new links.
Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Body Params application/json
{
"taskId": "string",
"url": "string"
}
Request Code Samples
curl --location -g --request POST 'https://apipro.ai/mj/task/url/refresh' \
--header 'Authorization: {YOUR_KEY}' \
--header 'Content-Type: application/json' \
--data-raw '{
"taskId": "string",
"url": "string"
}'
Responses
{
"code": 1,
"description": "OK",
"result": "https://cdn.api4midjourney.com/attachments/1300016453990223947/1350861278498918420/philip2_reed34106_by_Marc_Newson_lighthouse-shaped_cat_scratche_35ce8154-6aca-4696-9376-7508591aefe0.png?ex=67e61eda&is=67e4cd5a&hm=ba0648557cd17820dc68502aac76e8c68b8edbf0084adeea0b6f3f8613ae45ec&"
}
Modified at 2026-07-09 10:12:26