Variations
commands from the offical Midjourney.{
"origin_task_id": "95a31119*************a110104ab539",
"index": "2",
"prompt": "a cute dog with a sunglasses",
"skip_prompt_check": false,
"aspect_ratio": "5:4",
"webhook_endpoint": "",
"webhook_secret": ""
}
curl --location --request POST 'https://api.piapi.ai/mj/v2/variation' \
--header 'X-API-Key: {{x-api-key}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"origin_task_id": "95a31119*************a110104ab539",
"index": "2",
"prompt": "a cute dog with a sunglasses",
"skip_prompt_check": false,
"aspect_ratio": "5:4",
"webhook_endpoint": "",
"webhook_secret": ""
}'
{
"task_id": "a4718j03***************2t19f4f971ted",
"status": "success",
"message": ""
}