From e91e7355dc437420780f00ad10d4c1e21c9a4a1f Mon Sep 17 00:00:00 2001 From: cherishsince Date: Tue, 2 Apr 2024 00:43:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E9=80=81=E6=B6=88=E6=81=AF=20type2=20?= =?UTF-8?q?=E5=92=8C=20type3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ai/Midjourney/interactions_type2.json | 48 +++++++++++++++++++ .../ai/Midjourney/interactions_type3.json | 14 ++++++ 2 files changed, 62 insertions(+) create mode 100644 yudao-module-ai/yudao-spring-boot-starter-ai/src/main/java/cn/iocoder/yudao/framework/ai/Midjourney/interactions_type2.json create mode 100644 yudao-module-ai/yudao-spring-boot-starter-ai/src/main/java/cn/iocoder/yudao/framework/ai/Midjourney/interactions_type3.json diff --git a/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/java/cn/iocoder/yudao/framework/ai/Midjourney/interactions_type2.json b/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/java/cn/iocoder/yudao/framework/ai/Midjourney/interactions_type2.json new file mode 100644 index 000000000..da4858dd1 --- /dev/null +++ b/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/java/cn/iocoder/yudao/framework/ai/Midjourney/interactions_type2.json @@ -0,0 +1,48 @@ +{ + "type": 2, + "application_id": "936929561302675456", + "guild_id": "1224337694918971392", + "channel_id": "1224337694918971396", + "session_id": "696318caed5180a2210e358e44801449", + "data": { + "version": "1166847114203123795", + "id": "938956540159881230", + "name": "imagine", + "type": 1, + "options": [ + { + "type": 3, + "name": "prompt", + "value": "中国的是什么样子" + } + ], + "application_command": { + "id": "938956540159881230", + "type": 1, + "application_id": "936929561302675456", + "version": "1166847114203123795", + "name": "imagine", + "description": "Create images with Midjourney", + "options": [ + { + "type": 3, + "name": "prompt", + "description": "The prompt to imagine", + "required": true, + "description_localized": "The prompt to imagine", + "name_localized": "prompt" + } + ], + "dm_permission": true, + "integration_types": [ + 0 + ], + "global_popularity_rank": 1, + "description_localized": "Create images with Midjourney", + "name_localized": "imagine" + }, + "attachments": [] + }, + "nonce": "1224342266261274624", + "analytics_location": "slash_ui" +} \ No newline at end of file diff --git a/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/java/cn/iocoder/yudao/framework/ai/Midjourney/interactions_type3.json b/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/java/cn/iocoder/yudao/framework/ai/Midjourney/interactions_type3.json new file mode 100644 index 000000000..4d85c1cc9 --- /dev/null +++ b/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/java/cn/iocoder/yudao/framework/ai/Midjourney/interactions_type3.json @@ -0,0 +1,14 @@ +{ + "type": 3, + "nonce": "1224397626158350336", + "guild_id": "1224337694918971392", + "channel_id": "1224337694918971396", + "message_flags": 64, + "message_id": "1224397599197368330", + "application_id": "936929561302675456", + "session_id": "0d9ae3c799f2fb55ff435df5e6deb121", + "data": { + "component_type": 2, + "custom_id": "MJ::ModMsg::Ack::2744093999977583880" + } +} \ No newline at end of file