Blend command from the official Midjourney.{
"model": "midjourney",
"task_type": "blend",
"input": {
"image_urls": ["https://i.pinimg.com/236x/03/25/69/0325693debd3efe63175b64c28f5a6a7.jpg","https://i.pinimg.com/236x/32/42/d7/3242d7936ec1edd8fb08a62f5d118078.jpg"],
"process_mode": "fast",
"dimension": "",
"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": "blend",
"input": {
"image_urls": ["https://i.pinimg.com/236x/03/25/69/0325693debd3efe63175b64c28f5a6a7.jpg","https://i.pinimg.com/236x/32/42/d7/3242d7936ec1edd8fb08a62f5d118078.jpg"],
"process_mode": "fast",
"dimension": "",
"bot_id": 0
},
"config": {
"service_mode": "",
"webhook_config": {
"endpoint": "",
"secret": ""
}
}
}'{
"code": 200,
"data": {
"task_id": "42fc48d5-40ab-47e7-9b31-213dfcc075a3",
"model": "midjourney",
"task_type": "blend",
"status": "pending",
"config": {
"service_mode": "public",
"webhook_config": {
"endpoint": "",
"secret": ""
}
},
"input": {},
"output": {
"image_url": "",
"image_urls": null,
"temporary_image_urls": null,
"discord_image_url": "",
"actions": [],
"progress": 0,
"intermediate_image_urls": null
},
"meta": {},
"detail": null,
"logs": [],
"error": {
"code": 0,
"raw_message": "",
"message": "",
"detail": null
}
},
"message": "success"
}