Re-run
or Re-roll
button from the offcial Midjourney.{
"origin_task_id": "6886fc4d************d912733806d5",
"prompt": "a cute cat",
"skip_prompt_check": false,
"webhook_endpoint": "",
"webhook_secret": ""
}
curl --location --request POST 'https://api.piapi.ai/mj/v2/reroll' \
--header 'X-API-Key: {{x-api-key}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"origin_task_id": "6886fc4d************d912733806d5",
"prompt": "a cute cat",
"skip_prompt_check": false,
"webhook_endpoint": "",
"webhook_secret": ""
}'
{
"task_id": "1a8149b1*************a644936daa21",
"status": "success",
"message": ""
}