Submit Imagine Task

Official Documentation: https://docs.midjourney.com/hc/en-us/articles/32023408776205-Prompt-Basics

Endpoint

POST http://v98store.com/mj/submit/imagine

cURL Command

curl -X POST 'http://v98store.com/mj/submit/imagine' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{ "base64Array": [], "notifyHook": "", "prompt": "cat", "state": "", "botType": "MID_JOURNEY" }'

Parameters

NameInDescriptionRequired
AuthorizationheaderNo

Request Body

Example

{
  "base64Array": [],
  "notifyHook": "",
  "prompt": "cat",
  "state": "",
  "botType": "MID_JOURNEY"
}

Responses

200 -

Example

"{\r\n \"code\": 1,\r\n \"description\": \"Submit success\",\r\n \"result\": \"1730621718151844\",//任务id\r\n \"properties\": {\r\n \"discordChannelId\": \"1300842676874379336\",\r\n \"discordInstanceId\": \"1572398367386955776\"\r\n }\r\n}"