Closed Can-Chen closed 1 year ago
已解决. 留下您的vx
- 上传 attachments
- 通过 interactions 端点 调用 /describe, /blend 也是一样
- 监听 describe, blend message. 得到结果返回
你上传是怎么解决的 attachments 配合 google storage
/describe和/blend解决了
TODO: /info
怎么联系到您 vx
/describe和/blend解决了
TODO: /信息
/info怎么解决,我直接改一个info的json,直接就报错:
response: {"code": 50035, "errors": {"data": {"_errors": [{"code": "INTERACTION_APPLICATION_COMMAND_INVALID", "message": "Invalid interaction application command"}]}}, "message": "Invalid Form B
ody"}
midjourney AI机器人出了一个 图转提示词的功能 /describe 目前有两个问题未解决
{ "type": 2, "application_id": "936929561302675456", "guild_id": "xx", "channel_id": "xx", "session_id": "b60af517799ac333be9abb896a15f134", "data": { "version": "1092492867185950853", "id": "1092492867185950852", "name": "describe", "type": 1, "options": [ { "type": 11, "name": "image", "value": 0 } ], "application_command": { "id": "1092492867185950852", "application_id": "936929561302675456", "version": "1092492867185950853", "default_member_permissions": null, "type": 1, "nsfw": false, "name": "describe", "description": "Writes a prompt based on your image.", "dm_permission": true, "options": [ { "type": 11, "name": "image", "description": "The image to describe", "required": true } ] }, "attachments": [ { "id": "0", "filename": "test.png", "uploaded_filename": "5f587d99-1adb-4a57-81c7-7037b3464d5c/9b8e453bab5435a4.png" } ] } }