midjourney-proxy
midjourney-proxy copied to clipboard
提交describe任务 求教
- http://ip:port/mj/trigger/describe 提交describe任务 POST application/json
{ "state": "test:22", "base64": "data:image/png;base64,xxx", "notifyHook": "http://localhost:8113/notify" } 返回结果同 /trigger/submit
后续任务完成后,task中prompt即为图片生成的prompt
{ "action":"DESCRIBE", "id":"3856553004865376", "prompt":"1️⃣ xxx1 --ar 5:4\n\n2️⃣ xxx2 --ar 5:4\n\n3️⃣ xxx3 --ar 5:4\n\n4️⃣ xxx4 --ar 5:4", "promptEn":"1️⃣ xxx1 --ar 5:4\n\n2️⃣ xxx2 --ar 5:4\n\n3️⃣ xxx3 --ar 5:4\n\n4️⃣ xxx4 --ar 5:4", "description":"/describe 3856553004865376.png", "state":"test:22", "submitTime":1683779732983, "finishTime":1683779741711, "imageUrl":"https://cdn.discordapp.com/ephemeral-attachments/xxxx/xxxx/3856553004865376.png", "status":"SUCCESS" } ########################################################3 以上内容没看太明白,是先后两次提交?先获得ID,然后再根据ID提交?我是这样做的,但是得到了以下错误 { "code": 4, "description": "校验错误", "result": null }
有大神能指教一下吗?