Describe
command from the official Midjourney.public
means this task will be processed under PAYG mode.private
means this task will be processed under HYA mode.{
"model": "midjourney",
"task_type": "describe",
"input": {
"image_url": "http://midjourney-guigu.oss-us-west-1.aliyuncs.com/images/75ed4202402292139294887.jpg",
"process_mode": "fast",
"bot_id": 0
},
"config": {
"service_mode": "",
"webhook_config": {
"endpoint": "",
"secret": ""
}
}
}
curl --location --request POST 'https://api.piapi.ai/api/v1/task' \
--header 'X-API-Key;' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "midjourney",
"task_type": "describe",
"input": {
"image_url": "http://midjourney-guigu.oss-us-west-1.aliyuncs.com/images/75ed4202402292139294887.jpg",
"process_mode": "fast",
"bot_id": 0
},
"config": {
"service_mode": "",
"webhook_config": {
"endpoint": "",
"secret": ""
}
}
}'
{
"code": 200,
"data": {
"task_id": "e7d57239-d490-4433-83b2-0e78a8cebf95",
"model": "midjourney",
"task_type": "describe",
"status": "pending",
"config": {
"service_mode": "public",
"webhook_config": {
"endpoint": "",
"secret": ""
}
},
"input": {},
"output": {
"description": ""
},
"meta": {},
"detail": null,
"logs": [],
"error": {
"code": 0,
"raw_message": "",
"message": "",
"detail": null
}
},
"message": "success"
}