From 24479dacfdc0065cace23f26179636023c9c27bf Mon Sep 17 00:00:00 2001 From: cherishsince Date: Mon, 29 Apr 2024 14:11:03 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=9B=B4=E6=96=B0=E3=80=91=E6=9B=B4?= =?UTF-8?q?=E6=96=B0mj=E7=94=9F=E6=88=90=E5=9B=BE=E7=89=87=E6=B5=81?= =?UTF-8?q?=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../imageGenerationProcess/1.json | 156 +++++++--- .../imageGenerationProcess/10.json | 216 +++++++------ .../imageGenerationProcess/11.json | 216 +++++++------ .../imageGenerationProcess/12.json | 285 +++++++++--------- .../imageGenerationProcess/2.json | 191 ++++++------ .../imageGenerationProcess/3.json | 190 ++++++------ .../imageGenerationProcess/4.json | 190 ++++++------ .../imageGenerationProcess/5.json | 190 ++++++------ .../imageGenerationProcess/6.json | 190 ++++++------ .../imageGenerationProcess/7.json | 190 ++++++------ .../imageGenerationProcess/8.json | 203 +++++++------ .../imageGenerationProcess/9.json | 216 +++++++------ 12 files changed, 1356 insertions(+), 1077 deletions(-) diff --git a/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/1.json b/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/1.json index 156a89e68..3443d35b6 100644 --- a/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/1.json +++ b/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/1.json @@ -1,41 +1,121 @@ { - "mention_everyone": false, - "pinned": false, - "components": [], - "attachments": [], - "author": { - "global_name": "JVerbalu", - "avatar_decoration_data": null, - "public_flags": 0, - "id": "972721304891453450", - "avatar": "3646118d04fd12dfd301c4fd17afd801", - "username": "jverbalu4990", - "discriminator": "0" - }, - "flags": 0, - "type": 0, - "mention_roles": [], - "nonce": "1225630680067604480", - "edited_timestamp": null, - "content": "南极应该是什么样子?", - "tts": false, - "referenced_message": null, - "mentions": [], - "member": { - "premium_since": null, - "nick": null, - "joined_at": "2024-04-05T00:49:10.062000+00:00", - "communication_disabled_until": null, - "roles": [], - "pending": false, + "op": 0, + "s": 17, + "t": "MESSAGE_CREATE", + "d": { + "mention_everyone": false, + "pinned": false, + "components": [], + "attachments": [], + "interaction_metadata": { + "user_id": "975372485971312700", + "name": "imagine", + "authorizing_integration_owners": { + "0": "1234355413420347402" + }, + "id": "1234381513597128715", + "type": 2, + "user": { + "global_name": "禁止挂软件刷图,逮到删服务器,踢设备,永久拉黑!!!", + "avatar_decoration_data": null, + "clan": null, + "public_flags": 0, + "id": "975372485971312700", + "avatar": "90ab939feddeaea32e23d066ce66d0e6", + "username": "andrakosq9211", + "discriminator": "0" + } + }, + "author": { + "global_name": null, + "bot": true, + "avatar_decoration_data": null, + "clan": null, + "public_flags": 589824, + "id": "936929561302675456", + "avatar": "f6ce562a6b4979c4b1cbc5b436d3be76", + "username": "Midjourney Bot", + "discriminator": "9282" + }, "flags": 0, - "deaf": false, - "mute": false, - "avatar": null - }, - "guild_id": "1225608134878302329", - "id": "1225630681556586556", - "embeds": [], - "channel_id": "1225608134878302332", - "timestamp": "2024-04-05T02:18:45.600000+00:00" + "type": 20, + "mention_roles": [], + "nonce": "1784822781483888640", + "application_id": "936929561302675456", + "edited_timestamp": null, + "content": "**海贼王,在赶海! --v 6.0** - <@975372485971312700> (Waiting to start)", + "tts": false, + "webhook_id": "936929561302675456", + "mentions": [ + { + "global_name": "禁止挂软件刷图,逮到删服务器,踢设备,永久拉黑!!!", + "avatar_decoration_data": null, + "member": { + "premium_since": null, + "nick": null, + "joined_at": "2024-04-29T04:07:43.807000+00:00", + "communication_disabled_until": null, + "roles": [], + "pending": false, + "flags": 0, + "deaf": false, + "mute": false, + "avatar": null + }, + "clan": null, + "public_flags": 0, + "id": "975372485971312700", + "avatar": "90ab939feddeaea32e23d066ce66d0e6", + "username": "andrakosq9211", + "discriminator": "0" + } + ], + "member": { + "premium_since": null, + "nick": null, + "joined_at": "2024-04-29T04:09:06.489349+00:00", + "communication_disabled_until": null, + "roles": [ + "1234355760184561747" + ], + "pending": false, + "flags": 0, + "deaf": false, + "mute": false, + "avatar": null + }, + "interaction": { + "name": "imagine", + "member": { + "premium_since": null, + "nick": null, + "joined_at": "2024-04-29T04:07:43.807000+00:00", + "communication_disabled_until": null, + "roles": [], + "pending": false, + "flags": 0, + "deaf": false, + "mute": false, + "avatar": null + }, + "id": "1234381513597128715", + "type": 2, + "user": { + "global_name": "禁止挂软件刷图,逮到删服务器,踢设备,永久拉黑!!!", + "avatar_decoration_data": null, + "clan": null, + "public_flags": 0, + "id": "975372485971312700", + "avatar": "90ab939feddeaea32e23d066ce66d0e6", + "username": "andrakosq9211", + "discriminator": "0" + } + }, + "guild_id": "1234355413420347402", + "position": 0, + "id": "1234381516130357379", + "embeds": [], + "channel_id": "1234380679576424448", + "timestamp": "2024-04-29T05:51:27.145000+00:00" + } } \ No newline at end of file diff --git a/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/10.json b/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/10.json index e17f83fea..f107ede24 100644 --- a/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/10.json +++ b/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/10.json @@ -1,56 +1,107 @@ { - "mention_everyone": false, - "pinned": false, - "components": [], - "attachments": [ - { - "filename": "8f23f288-6028-468b-8056-1e4adef73985_grid_0.webp", - "size": 34624, - "content_type": "image/webp", - "width": 512, - "placeholder_version": 1, - "proxy_url": "https://media.discordapp.net/attachments/1225608134878302332/1225630835240210442/8f23f288-6028-468b-8056-1e4adef73985_grid_0.webp?ex=6621d4aa&is=660f5faa&hm=f58106ba5fa0ddf51abe68493cf460ccd70eb7ef379d2d3865d4b45e230c3037&", - "placeholder": "4CcODwJ/hotGl2iHd2iYd3h3d/kJyLQA", - "id": "1225630835240210442", - "url": "https://cdn.discordapp.com/attachments/1225608134878302332/1225630835240210442/8f23f288-6028-468b-8056-1e4adef73985_grid_0.webp?ex=6621d4aa&is=660f5faa&hm=f58106ba5fa0ddf51abe68493cf460ccd70eb7ef379d2d3865d4b45e230c3037&", - "height": 512 - } - ], - "interaction_metadata": { - "user_id": "972721304891453450", - "name": "imagine", - "authorizing_integration_owners": { - "0": "1225608134878302329" + "op": 0, + "s": 38, + "t": "MESSAGE_UPDATE", + "d": { + "mention_everyone": false, + "pinned": false, + "components": [], + "attachments": [ + { + "filename": "5d32f4e8-8d2f-4bef-82d8-bf517e3c3660_grid_0.webp", + "size": 40906, + "content_type": "image/webp", + "width": 512, + "placeholder_version": 1, + "proxy_url": "https://media.discordapp.net/attachments/1234380679576424448/1234381954301038622/5d32f4e8-8d2f-4bef-82d8-bf517e3c3660_grid_0.webp?ex=66308747&is=662f35c7&hm=5cff8b62f6c174b45a80d096eefbea9bf791ccfb50f586734efadbd96b57a114&", + "placeholder": "W/gJHwiCN4VoaZZ4ePd3aIeFCJacgqAG", + "id": "1234381954301038622", + "url": "https://cdn.discordapp.com/attachments/1234380679576424448/1234381954301038622/5d32f4e8-8d2f-4bef-82d8-bf517e3c3660_grid_0.webp?ex=66308747&is=662f35c7&hm=5cff8b62f6c174b45a80d096eefbea9bf791ccfb50f586734efadbd96b57a114&", + "height": 512 + } + ], + "interaction_metadata": { + "user_id": "975372485971312700", + "name": "imagine", + "authorizing_integration_owners": { + "0": "1234355413420347402" + }, + "id": "1234381513597128715", + "type": 2, + "user": { + "global_name": "禁止挂软件刷图,逮到删服务器,踢设备,永久拉黑!!!", + "avatar_decoration_data": null, + "clan": null, + "public_flags": 0, + "id": "975372485971312700", + "avatar": "90ab939feddeaea32e23d066ce66d0e6", + "username": "andrakosq9211", + "discriminator": "0" + } }, - "id": "1225630717426274377", - "type": 2 - }, - "author": { - "global_name": null, - "bot": true, - "avatar_decoration_data": null, - "public_flags": 589824, - "id": "936929561302675456", - "avatar": "f6ce562a6b4979c4b1cbc5b436d3be76", - "username": "Midjourney Bot", - "discriminator": "9282" - }, - "flags": 0, - "type": 20, - "mention_roles": [], - "application_id": "936929561302675456", - "edited_timestamp": "2024-04-05T02:19:22.200320+00:00", - "content": "**南极应该是什么样子? --v 6.0 --style raw** - <@972721304891453450> (55%) (fast, stealth)", - "tts": false, - "webhook_id": "936929561302675456", - "mentions": [ - { - "global_name": "JVerbalu", + "author": { + "global_name": null, + "bot": true, "avatar_decoration_data": null, + "clan": null, + "public_flags": 589824, + "id": "936929561302675456", + "avatar": "f6ce562a6b4979c4b1cbc5b436d3be76", + "username": "Midjourney Bot", + "discriminator": "9282" + }, + "flags": 0, + "type": 20, + "mention_roles": [], + "application_id": "936929561302675456", + "edited_timestamp": "2024-04-29T05:53:11.587132+00:00", + "content": "**海贼王,在赶海! --v 6.0** - <@975372485971312700> (75%) (relaxed)", + "tts": false, + "webhook_id": "936929561302675456", + "mentions": [ + { + "global_name": "禁止挂软件刷图,逮到删服务器,踢设备,永久拉黑!!!", + "avatar_decoration_data": null, + "member": { + "premium_since": null, + "nick": null, + "joined_at": "2024-04-29T04:07:43.807000+00:00", + "communication_disabled_until": null, + "roles": [], + "pending": false, + "flags": 0, + "deaf": false, + "mute": false, + "avatar": null + }, + "clan": null, + "public_flags": 0, + "id": "975372485971312700", + "avatar": "90ab939feddeaea32e23d066ce66d0e6", + "username": "andrakosq9211", + "discriminator": "0" + } + ], + "member": { + "premium_since": null, + "nick": null, + "joined_at": "2024-04-29T04:09:06.489349+00:00", + "communication_disabled_until": null, + "roles": [ + "1234355760184561747" + ], + "pending": false, + "flags": 0, + "deaf": false, + "mute": false, + "avatar": null + }, + "interaction": { + "name": "imagine", "member": { "premium_since": null, "nick": null, - "joined_at": "2024-04-05T00:49:10.062000+00:00", + "joined_at": "2024-04-29T04:07:43.807000+00:00", "communication_disabled_until": null, "roles": [], "pending": false, @@ -59,57 +110,24 @@ "mute": false, "avatar": null }, - "public_flags": 0, - "id": "972721304891453450", - "avatar": "3646118d04fd12dfd301c4fd17afd801", - "username": "jverbalu4990", - "discriminator": "0" - } - ], - "member": { - "premium_since": null, - "nick": null, - "joined_at": "2024-04-05T00:49:35.840941+00:00", - "communication_disabled_until": null, - "roles": [ - "1225608242688819214" - ], - "pending": false, - "flags": 0, - "deaf": false, - "mute": false, - "avatar": null - }, - "interaction": { - "name": "imagine", - "member": { - "premium_since": null, - "nick": null, - "joined_at": "2024-04-05T00:49:10.062000+00:00", - "communication_disabled_until": null, - "roles": [], - "pending": false, - "flags": 0, - "deaf": false, - "mute": false, - "avatar": null + "id": "1234381513597128715", + "type": 2, + "user": { + "global_name": "禁止挂软件刷图,逮到删服务器,踢设备,永久拉黑!!!", + "avatar_decoration_data": null, + "clan": null, + "public_flags": 0, + "id": "975372485971312700", + "avatar": "90ab939feddeaea32e23d066ce66d0e6", + "username": "andrakosq9211", + "discriminator": "0" + } }, - "id": "1225630717426274377", - "type": 2, - "user": { - "global_name": "JVerbalu", - "avatar_decoration_data": null, - "public_flags": 0, - "id": "972721304891453450", - "avatar": "3646118d04fd12dfd301c4fd17afd801", - "username": "jverbalu4990", - "discriminator": "0" - } - }, - "guild_id": "1225608134878302329", - "position": 0, - "id": "1225630724431024259", - "embeds": [], - "channel_id": "1225608134878302332", - "timestamp": "2024-04-05T02:18:55.822000+00:00" + "guild_id": "1234355413420347402", + "position": 0, + "id": "1234381516130357379", + "embeds": [], + "channel_id": "1234380679576424448", + "timestamp": "2024-04-29T05:51:27.145000+00:00" + } } \ No newline at end of file diff --git a/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/11.json b/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/11.json index 837c89123..f38f1a3e0 100644 --- a/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/11.json +++ b/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/11.json @@ -1,56 +1,107 @@ { - "mention_everyone": false, - "pinned": false, - "components": [], - "attachments": [ - { - "filename": "8f23f288-6028-468b-8056-1e4adef73985_grid_0.webp", - "size": 46376, - "content_type": "image/webp", - "width": 512, - "placeholder_version": 1, - "proxy_url": "https://media.discordapp.net/attachments/1225608134878302332/1225630846317498469/8f23f288-6028-468b-8056-1e4adef73985_grid_0.webp?ex=6621d4ac&is=660f5fac&hm=efe167b852efc37fe4690253697cee2b8fd350d0b724b3a99004ad36baa09c1f&", - "placeholder": "oSgOFwRvtYxVlnl2d1iIh4h3aPdnmC8F", - "id": "1225630846317498469", - "url": "https://cdn.discordapp.com/attachments/1225608134878302332/1225630846317498469/8f23f288-6028-468b-8056-1e4adef73985_grid_0.webp?ex=6621d4ac&is=660f5fac&hm=efe167b852efc37fe4690253697cee2b8fd350d0b724b3a99004ad36baa09c1f&", - "height": 512 - } - ], - "interaction_metadata": { - "user_id": "972721304891453450", - "name": "imagine", - "authorizing_integration_owners": { - "0": "1225608134878302329" + "op": 0, + "s": 39, + "t": "MESSAGE_UPDATE", + "d": { + "mention_everyone": false, + "pinned": false, + "components": [], + "attachments": [ + { + "filename": "5d32f4e8-8d2f-4bef-82d8-bf517e3c3660_grid_0.webp", + "size": 77746, + "content_type": "image/webp", + "width": 512, + "placeholder_version": 1, + "proxy_url": "https://media.discordapp.net/attachments/1234380679576424448/1234381963381444691/5d32f4e8-8d2f-4bef-82d8-bf517e3c3660_grid_0.webp?ex=66308749&is=662f35c9&hm=f87113bb4f667e56747a26812260f18b5c59f1e47991457756e77b576309534a&", + "placeholder": "3OcJDwSASHWaWZZ4eNd2eHiGJyBMgKAG", + "id": "1234381963381444691", + "url": "https://cdn.discordapp.com/attachments/1234380679576424448/1234381963381444691/5d32f4e8-8d2f-4bef-82d8-bf517e3c3660_grid_0.webp?ex=66308749&is=662f35c9&hm=f87113bb4f667e56747a26812260f18b5c59f1e47991457756e77b576309534a&", + "height": 512 + } + ], + "interaction_metadata": { + "user_id": "975372485971312700", + "name": "imagine", + "authorizing_integration_owners": { + "0": "1234355413420347402" + }, + "id": "1234381513597128715", + "type": 2, + "user": { + "global_name": "禁止挂软件刷图,逮到删服务器,踢设备,永久拉黑!!!", + "avatar_decoration_data": null, + "clan": null, + "public_flags": 0, + "id": "975372485971312700", + "avatar": "90ab939feddeaea32e23d066ce66d0e6", + "username": "andrakosq9211", + "discriminator": "0" + } }, - "id": "1225630717426274377", - "type": 2 - }, - "author": { - "global_name": null, - "bot": true, - "avatar_decoration_data": null, - "public_flags": 589824, - "id": "936929561302675456", - "avatar": "f6ce562a6b4979c4b1cbc5b436d3be76", - "username": "Midjourney Bot", - "discriminator": "9282" - }, - "flags": 0, - "type": 20, - "mention_roles": [], - "application_id": "936929561302675456", - "edited_timestamp": "2024-04-05T02:19:24.805512+00:00", - "content": "**南极应该是什么样子? --v 6.0 --style raw** - <@972721304891453450> (75%) (fast, stealth)", - "tts": false, - "webhook_id": "936929561302675456", - "mentions": [ - { - "global_name": "JVerbalu", + "author": { + "global_name": null, + "bot": true, "avatar_decoration_data": null, + "clan": null, + "public_flags": 589824, + "id": "936929561302675456", + "avatar": "f6ce562a6b4979c4b1cbc5b436d3be76", + "username": "Midjourney Bot", + "discriminator": "9282" + }, + "flags": 0, + "type": 20, + "mention_roles": [], + "application_id": "936929561302675456", + "edited_timestamp": "2024-04-29T05:53:13.745586+00:00", + "content": "**海贼王,在赶海! --v 6.0** - <@975372485971312700> (95%) (relaxed)", + "tts": false, + "webhook_id": "936929561302675456", + "mentions": [ + { + "global_name": "禁止挂软件刷图,逮到删服务器,踢设备,永久拉黑!!!", + "avatar_decoration_data": null, + "member": { + "premium_since": null, + "nick": null, + "joined_at": "2024-04-29T04:07:43.807000+00:00", + "communication_disabled_until": null, + "roles": [], + "pending": false, + "flags": 0, + "deaf": false, + "mute": false, + "avatar": null + }, + "clan": null, + "public_flags": 0, + "id": "975372485971312700", + "avatar": "90ab939feddeaea32e23d066ce66d0e6", + "username": "andrakosq9211", + "discriminator": "0" + } + ], + "member": { + "premium_since": null, + "nick": null, + "joined_at": "2024-04-29T04:09:06.489349+00:00", + "communication_disabled_until": null, + "roles": [ + "1234355760184561747" + ], + "pending": false, + "flags": 0, + "deaf": false, + "mute": false, + "avatar": null + }, + "interaction": { + "name": "imagine", "member": { "premium_since": null, "nick": null, - "joined_at": "2024-04-05T00:49:10.062000+00:00", + "joined_at": "2024-04-29T04:07:43.807000+00:00", "communication_disabled_until": null, "roles": [], "pending": false, @@ -59,57 +110,24 @@ "mute": false, "avatar": null }, - "public_flags": 0, - "id": "972721304891453450", - "avatar": "3646118d04fd12dfd301c4fd17afd801", - "username": "jverbalu4990", - "discriminator": "0" - } - ], - "member": { - "premium_since": null, - "nick": null, - "joined_at": "2024-04-05T00:49:35.840941+00:00", - "communication_disabled_until": null, - "roles": [ - "1225608242688819214" - ], - "pending": false, - "flags": 0, - "deaf": false, - "mute": false, - "avatar": null - }, - "interaction": { - "name": "imagine", - "member": { - "premium_since": null, - "nick": null, - "joined_at": "2024-04-05T00:49:10.062000+00:00", - "communication_disabled_until": null, - "roles": [], - "pending": false, - "flags": 0, - "deaf": false, - "mute": false, - "avatar": null + "id": "1234381513597128715", + "type": 2, + "user": { + "global_name": "禁止挂软件刷图,逮到删服务器,踢设备,永久拉黑!!!", + "avatar_decoration_data": null, + "clan": null, + "public_flags": 0, + "id": "975372485971312700", + "avatar": "90ab939feddeaea32e23d066ce66d0e6", + "username": "andrakosq9211", + "discriminator": "0" + } }, - "id": "1225630717426274377", - "type": 2, - "user": { - "global_name": "JVerbalu", - "avatar_decoration_data": null, - "public_flags": 0, - "id": "972721304891453450", - "avatar": "3646118d04fd12dfd301c4fd17afd801", - "username": "jverbalu4990", - "discriminator": "0" - } - }, - "guild_id": "1225608134878302329", - "position": 0, - "id": "1225630724431024259", - "embeds": [], - "channel_id": "1225608134878302332", - "timestamp": "2024-04-05T02:18:55.822000+00:00" + "guild_id": "1234355413420347402", + "position": 0, + "id": "1234381516130357379", + "embeds": [], + "channel_id": "1234380679576424448", + "timestamp": "2024-04-29T05:51:27.145000+00:00" + } } \ No newline at end of file diff --git a/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/12.json b/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/12.json index 890297b55..53a4c70cc 100644 --- a/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/12.json +++ b/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/12.json @@ -1,145 +1,152 @@ { - "mention_everyone": false, - "pinned": false, - "components": [ - { - "components": [ - { - "custom_id": "MJ::JOB::upsample::1::8f23f288-6028-468b-8056-1e4adef73985", - "style": 2, - "label": "U1", - "type": 2 - }, - { - "custom_id": "MJ::JOB::upsample::2::8f23f288-6028-468b-8056-1e4adef73985", - "style": 2, - "label": "U2", - "type": 2 - }, - { - "custom_id": "MJ::JOB::upsample::3::8f23f288-6028-468b-8056-1e4adef73985", - "style": 2, - "label": "U3", - "type": 2 - }, - { - "custom_id": "MJ::JOB::upsample::4::8f23f288-6028-468b-8056-1e4adef73985", - "style": 2, - "label": "U4", - "type": 2 - }, - { - "emoji": { - "name": "🔄" + "op": 0, + "s": 40, + "t": "MESSAGE_CREATE", + "d": { + "mention_everyone": false, + "pinned": false, + "components": [ + { + "components": [ + { + "custom_id": "MJ::JOB::upsample::1::5d32f4e8-8d2f-4bef-82d8-bf517e3c3660", + "style": 2, + "label": "U1", + "type": 2 }, - "custom_id": "MJ::JOB::reroll::0::8f23f288-6028-468b-8056-1e4adef73985::SOLO", - "style": 2, - "type": 2 - } - ], - "type": 1 - }, - { - "components": [ - { - "custom_id": "MJ::JOB::variation::1::8f23f288-6028-468b-8056-1e4adef73985", - "style": 2, - "label": "V1", - "type": 2 - }, - { - "custom_id": "MJ::JOB::variation::2::8f23f288-6028-468b-8056-1e4adef73985", - "style": 2, - "label": "V2", - "type": 2 - }, - { - "custom_id": "MJ::JOB::variation::3::8f23f288-6028-468b-8056-1e4adef73985", - "style": 2, - "label": "V3", - "type": 2 - }, - { - "custom_id": "MJ::JOB::variation::4::8f23f288-6028-468b-8056-1e4adef73985", - "style": 2, - "label": "V4", - "type": 2 - } - ], - "type": 1 - } - ], - "attachments": [ - { - "filename": "jverbalu4990__8f23f288-6028-468b-8056-1e4adef73985.png", - "size": 7092878, - "content_type": "image/png", - "width": 2048, - "placeholder_version": 1, - "proxy_url": "https://media.discordapp.net/attachments/1225608134878302332/1225630861899333652/jverbalu4990__8f23f288-6028-468b-8056-1e4adef73985.png?ex=6621d4b0&is=660f5fb0&hm=658c7766ac3df7e484ccf2e1a30b0afc266ec38e5b2da6c95f12cb7f9c204886&", - "placeholder": "YRgODwJvpY1XlXl2h0iYh4iIePkQqgkB", - "id": "1225630861899333652", - "url": "https://cdn.discordapp.com/attachments/1225608134878302332/1225630861899333652/jverbalu4990__8f23f288-6028-468b-8056-1e4adef73985.png?ex=6621d4b0&is=660f5fb0&hm=658c7766ac3df7e484ccf2e1a30b0afc266ec38e5b2da6c95f12cb7f9c204886&", - "height": 2048 - } - ], - "author": { - "global_name": null, - "bot": true, - "avatar_decoration_data": null, - "public_flags": 589824, - "id": "936929561302675456", - "avatar": "f6ce562a6b4979c4b1cbc5b436d3be76", - "username": "Midjourney Bot", - "discriminator": "9282" - }, - "flags": 0, - "type": 0, - "mention_roles": [], - "edited_timestamp": null, - "content": "**南极应该是什么样子? --v 6.0 --style raw** - <@972721304891453450> (fast, stealth)", - "tts": false, - "referenced_message": null, - "mentions": [ - { - "global_name": "JVerbalu", - "avatar_decoration_data": null, - "member": { - "premium_since": null, - "nick": null, - "joined_at": "2024-04-05T00:49:10.062000+00:00", - "communication_disabled_until": null, - "roles": [], - "pending": false, - "flags": 0, - "deaf": false, - "mute": false, - "avatar": null + { + "custom_id": "MJ::JOB::upsample::2::5d32f4e8-8d2f-4bef-82d8-bf517e3c3660", + "style": 2, + "label": "U2", + "type": 2 + }, + { + "custom_id": "MJ::JOB::upsample::3::5d32f4e8-8d2f-4bef-82d8-bf517e3c3660", + "style": 2, + "label": "U3", + "type": 2 + }, + { + "custom_id": "MJ::JOB::upsample::4::5d32f4e8-8d2f-4bef-82d8-bf517e3c3660", + "style": 2, + "label": "U4", + "type": 2 + }, + { + "emoji": { + "name": "\uD83D\uDD04" + }, + "custom_id": "MJ::JOB::reroll::0::5d32f4e8-8d2f-4bef-82d8-bf517e3c3660::SOLO", + "style": 2, + "type": 2 + } + ], + "type": 1 }, - "public_flags": 0, - "id": "972721304891453450", - "avatar": "3646118d04fd12dfd301c4fd17afd801", - "username": "jverbalu4990", - "discriminator": "0" - } - ], - "member": { - "premium_since": null, - "nick": null, - "joined_at": "2024-04-05T00:49:35.840941+00:00", - "communication_disabled_until": null, - "roles": [ - "1225608242688819214" + { + "components": [ + { + "custom_id": "MJ::JOB::variation::1::5d32f4e8-8d2f-4bef-82d8-bf517e3c3660", + "style": 2, + "label": "V1", + "type": 2 + }, + { + "custom_id": "MJ::JOB::variation::2::5d32f4e8-8d2f-4bef-82d8-bf517e3c3660", + "style": 2, + "label": "V2", + "type": 2 + }, + { + "custom_id": "MJ::JOB::variation::3::5d32f4e8-8d2f-4bef-82d8-bf517e3c3660", + "style": 2, + "label": "V3", + "type": 2 + }, + { + "custom_id": "MJ::JOB::variation::4::5d32f4e8-8d2f-4bef-82d8-bf517e3c3660", + "style": 2, + "label": "V4", + "type": 2 + } + ], + "type": 1 + } ], - "pending": false, + "attachments": [ + { + "filename": "andrakosq9211__5d32f4e8-8d2f-4bef-82d8-bf517e3c3660.png", + "size": 8327001, + "content_type": "image/png", + "width": 2048, + "placeholder_version": 1, + "proxy_url": "https://media.discordapp.net/attachments/1234380679576424448/1234381975058514001/andrakosq9211__5d32f4e8-8d2f-4bef-82d8-bf517e3c3660.png?ex=6630874c&is=662f35cc&hm=20a8bb9b10c68645c9bd09a52b181de8566802590d070965d0a4738387781bb6&", + "placeholder": "3dcJBwaASHWaWZZ4eNd2aHiGRwE+gLAH", + "id": "1234381975058514001", + "url": "https://cdn.discordapp.com/attachments/1234380679576424448/1234381975058514001/andrakosq9211__5d32f4e8-8d2f-4bef-82d8-bf517e3c3660.png?ex=6630874c&is=662f35cc&hm=20a8bb9b10c68645c9bd09a52b181de8566802590d070965d0a4738387781bb6&", + "height": 2048 + } + ], + "author": { + "global_name": null, + "bot": true, + "avatar_decoration_data": null, + "clan": null, + "public_flags": 589824, + "id": "936929561302675456", + "avatar": "f6ce562a6b4979c4b1cbc5b436d3be76", + "username": "Midjourney Bot", + "discriminator": "9282" + }, "flags": 0, - "deaf": false, - "mute": false, - "avatar": null - }, - "guild_id": "1225608134878302329", - "id": "1225630862393999442", - "embeds": [], - "channel_id": "1225608134878302332", - "timestamp": "2024-04-05T02:19:28.715000+00:00" + "type": 0, + "mention_roles": [], + "edited_timestamp": null, + "content": "**海贼王,在赶海! --v 6.0** - <@975372485971312700> (relaxed)", + "tts": false, + "referenced_message": null, + "mentions": [ + { + "global_name": "禁止挂软件刷图,逮到删服务器,踢设备,永久拉黑!!!", + "avatar_decoration_data": null, + "member": { + "premium_since": null, + "nick": null, + "joined_at": "2024-04-29T04:07:43.807000+00:00", + "communication_disabled_until": null, + "roles": [], + "pending": false, + "flags": 0, + "deaf": false, + "mute": false, + "avatar": null + }, + "clan": null, + "public_flags": 0, + "id": "975372485971312700", + "avatar": "90ab939feddeaea32e23d066ce66d0e6", + "username": "andrakosq9211", + "discriminator": "0" + } + ], + "member": { + "premium_since": null, + "nick": null, + "joined_at": "2024-04-29T04:09:06.489349+00:00", + "communication_disabled_until": null, + "roles": [ + "1234355760184561747" + ], + "pending": false, + "flags": 0, + "deaf": false, + "mute": false, + "avatar": null + }, + "guild_id": "1234355413420347402", + "id": "1234381975335342122", + "embeds": [], + "channel_id": "1234380679576424448", + "timestamp": "2024-04-29T05:53:16.628000+00:00" + } } \ No newline at end of file diff --git a/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/2.json b/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/2.json index 2643136a2..6c706557b 100644 --- a/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/2.json +++ b/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/2.json @@ -1,44 +1,94 @@ { - "mention_everyone": false, - "pinned": false, - "components": [], - "attachments": [], - "interaction_metadata": { - "user_id": "972721304891453450", - "name": "imagine", - "authorizing_integration_owners": { - "0": "1225608134878302329" + "op": 0, + "s": 30, + "t": "MESSAGE_UPDATE", + "d": { + "mention_everyone": false, + "pinned": false, + "components": [], + "attachments": [], + "interaction_metadata": { + "user_id": "975372485971312700", + "name": "imagine", + "authorizing_integration_owners": { + "0": "1234355413420347402" + }, + "id": "1234381513597128715", + "type": 2, + "user": { + "global_name": "禁止挂软件刷图,逮到删服务器,踢设备,永久拉黑!!!", + "avatar_decoration_data": null, + "clan": null, + "public_flags": 0, + "id": "975372485971312700", + "avatar": "90ab939feddeaea32e23d066ce66d0e6", + "username": "andrakosq9211", + "discriminator": "0" + } }, - "id": "1225630717426274377", - "type": 2 - }, - "author": { - "global_name": null, - "bot": true, - "avatar_decoration_data": null, - "public_flags": 589824, - "id": "936929561302675456", - "avatar": "f6ce562a6b4979c4b1cbc5b436d3be76", - "username": "Midjourney Bot", - "discriminator": "9282" - }, - "flags": 0, - "type": 20, - "mention_roles": [], - "nonce": "1225630715874377728", - "application_id": "936929561302675456", - "edited_timestamp": null, - "content": "**南极应该是什么样子? --v 6.0 --style raw** - <@972721304891453450> (Waiting to start)", - "tts": false, - "webhook_id": "936929561302675456", - "mentions": [ - { - "global_name": "JVerbalu", + "author": { + "global_name": null, + "bot": true, "avatar_decoration_data": null, + "clan": null, + "public_flags": 589824, + "id": "936929561302675456", + "avatar": "f6ce562a6b4979c4b1cbc5b436d3be76", + "username": "Midjourney Bot", + "discriminator": "9282" + }, + "flags": 0, + "type": 20, + "mention_roles": [], + "application_id": "936929561302675456", + "edited_timestamp": "2024-04-29T05:52:42.826454+00:00", + "content": "**海贼王,在赶海! --v 6.0** - <@975372485971312700> (0%) (relaxed)", + "tts": false, + "webhook_id": "936929561302675456", + "mentions": [ + { + "global_name": "禁止挂软件刷图,逮到删服务器,踢设备,永久拉黑!!!", + "avatar_decoration_data": null, + "member": { + "premium_since": null, + "nick": null, + "joined_at": "2024-04-29T04:07:43.807000+00:00", + "communication_disabled_until": null, + "roles": [], + "pending": false, + "flags": 0, + "deaf": false, + "mute": false, + "avatar": null + }, + "clan": null, + "public_flags": 0, + "id": "975372485971312700", + "avatar": "90ab939feddeaea32e23d066ce66d0e6", + "username": "andrakosq9211", + "discriminator": "0" + } + ], + "member": { + "premium_since": null, + "nick": null, + "joined_at": "2024-04-29T04:09:06.489349+00:00", + "communication_disabled_until": null, + "roles": [ + "1234355760184561747" + ], + "pending": false, + "flags": 0, + "deaf": false, + "mute": false, + "avatar": null + }, + "interaction": { + "name": "imagine", "member": { "premium_since": null, "nick": null, - "joined_at": "2024-04-05T00:49:10.062000+00:00", + "joined_at": "2024-04-29T04:07:43.807000+00:00", "communication_disabled_until": null, "roles": [], "pending": false, @@ -47,57 +97,24 @@ "mute": false, "avatar": null }, - "public_flags": 0, - "id": "972721304891453450", - "avatar": "3646118d04fd12dfd301c4fd17afd801", - "username": "jverbalu4990", - "discriminator": "0" - } - ], - "member": { - "premium_since": null, - "nick": null, - "joined_at": "2024-04-05T00:49:35.840941+00:00", - "communication_disabled_until": null, - "roles": [ - "1225608242688819214" - ], - "pending": false, - "flags": 0, - "deaf": false, - "mute": false, - "avatar": null - }, - "interaction": { - "name": "imagine", - "member": { - "premium_since": null, - "nick": null, - "joined_at": "2024-04-05T00:49:10.062000+00:00", - "communication_disabled_until": null, - "roles": [], - "pending": false, - "flags": 0, - "deaf": false, - "mute": false, - "avatar": null + "id": "1234381513597128715", + "type": 2, + "user": { + "global_name": "禁止挂软件刷图,逮到删服务器,踢设备,永久拉黑!!!", + "avatar_decoration_data": null, + "clan": null, + "public_flags": 0, + "id": "975372485971312700", + "avatar": "90ab939feddeaea32e23d066ce66d0e6", + "username": "andrakosq9211", + "discriminator": "0" + } }, - "id": "1225630717426274377", - "type": 2, - "user": { - "global_name": "JVerbalu", - "avatar_decoration_data": null, - "public_flags": 0, - "id": "972721304891453450", - "avatar": "3646118d04fd12dfd301c4fd17afd801", - "username": "jverbalu4990", - "discriminator": "0" - } - }, - "guild_id": "1225608134878302329", - "position": 0, - "id": "1225630724431024259", - "embeds": [], - "channel_id": "1225608134878302332", - "timestamp": "2024-04-05T02:18:55.822000+00:00" + "guild_id": "1234355413420347402", + "position": 0, + "id": "1234381516130357379", + "embeds": [], + "channel_id": "1234380679576424448", + "timestamp": "2024-04-29T05:51:27.145000+00:00" + } } \ No newline at end of file diff --git a/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/3.json b/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/3.json index 0f6d35cc1..f375044f9 100644 --- a/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/3.json +++ b/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/3.json @@ -1,43 +1,94 @@ { - "mention_everyone": false, - "pinned": false, - "components": [], - "attachments": [], - "interaction_metadata": { - "user_id": "972721304891453450", - "name": "imagine", - "authorizing_integration_owners": { - "0": "1225608134878302329" + "op": 0, + "s": 31, + "t": "MESSAGE_UPDATE", + "d": { + "mention_everyone": false, + "pinned": false, + "components": [], + "attachments": [], + "interaction_metadata": { + "user_id": "975372485971312700", + "name": "imagine", + "authorizing_integration_owners": { + "0": "1234355413420347402" + }, + "id": "1234381513597128715", + "type": 2, + "user": { + "global_name": "禁止挂软件刷图,逮到删服务器,踢设备,永久拉黑!!!", + "avatar_decoration_data": null, + "clan": null, + "public_flags": 0, + "id": "975372485971312700", + "avatar": "90ab939feddeaea32e23d066ce66d0e6", + "username": "andrakosq9211", + "discriminator": "0" + } }, - "id": "1225630717426274377", - "type": 2 - }, - "author": { - "global_name": null, - "bot": true, - "avatar_decoration_data": null, - "public_flags": 589824, - "id": "936929561302675456", - "avatar": "f6ce562a6b4979c4b1cbc5b436d3be76", - "username": "Midjourney Bot", - "discriminator": "9282" - }, - "flags": 0, - "type": 20, - "mention_roles": [], - "application_id": "936929561302675456", - "edited_timestamp": "2024-04-05T02:18:59.141254+00:00", - "content": "**南极应该是什么样子? --v 6.0 --style raw** - <@972721304891453450> (0%) (fast, stealth)", - "tts": false, - "webhook_id": "936929561302675456", - "mentions": [ - { - "global_name": "JVerbalu", + "author": { + "global_name": null, + "bot": true, "avatar_decoration_data": null, + "clan": null, + "public_flags": 589824, + "id": "936929561302675456", + "avatar": "f6ce562a6b4979c4b1cbc5b436d3be76", + "username": "Midjourney Bot", + "discriminator": "9282" + }, + "flags": 0, + "type": 20, + "mention_roles": [], + "application_id": "936929561302675456", + "edited_timestamp": "2024-04-29T05:52:48.793794+00:00", + "content": "**海贼王,在赶海! --v 6.0** - <@975372485971312700> (10%) (relaxed)", + "tts": false, + "webhook_id": "936929561302675456", + "mentions": [ + { + "global_name": "禁止挂软件刷图,逮到删服务器,踢设备,永久拉黑!!!", + "avatar_decoration_data": null, + "member": { + "premium_since": null, + "nick": null, + "joined_at": "2024-04-29T04:07:43.807000+00:00", + "communication_disabled_until": null, + "roles": [], + "pending": false, + "flags": 0, + "deaf": false, + "mute": false, + "avatar": null + }, + "clan": null, + "public_flags": 0, + "id": "975372485971312700", + "avatar": "90ab939feddeaea32e23d066ce66d0e6", + "username": "andrakosq9211", + "discriminator": "0" + } + ], + "member": { + "premium_since": null, + "nick": null, + "joined_at": "2024-04-29T04:09:06.489349+00:00", + "communication_disabled_until": null, + "roles": [ + "1234355760184561747" + ], + "pending": false, + "flags": 0, + "deaf": false, + "mute": false, + "avatar": null + }, + "interaction": { + "name": "imagine", "member": { "premium_since": null, "nick": null, - "joined_at": "2024-04-05T00:49:10.062000+00:00", + "joined_at": "2024-04-29T04:07:43.807000+00:00", "communication_disabled_until": null, "roles": [], "pending": false, @@ -46,57 +97,24 @@ "mute": false, "avatar": null }, - "public_flags": 0, - "id": "972721304891453450", - "avatar": "3646118d04fd12dfd301c4fd17afd801", - "username": "jverbalu4990", - "discriminator": "0" - } - ], - "member": { - "premium_since": null, - "nick": null, - "joined_at": "2024-04-05T00:49:35.840941+00:00", - "communication_disabled_until": null, - "roles": [ - "1225608242688819214" - ], - "pending": false, - "flags": 0, - "deaf": false, - "mute": false, - "avatar": null - }, - "interaction": { - "name": "imagine", - "member": { - "premium_since": null, - "nick": null, - "joined_at": "2024-04-05T00:49:10.062000+00:00", - "communication_disabled_until": null, - "roles": [], - "pending": false, - "flags": 0, - "deaf": false, - "mute": false, - "avatar": null + "id": "1234381513597128715", + "type": 2, + "user": { + "global_name": "禁止挂软件刷图,逮到删服务器,踢设备,永久拉黑!!!", + "avatar_decoration_data": null, + "clan": null, + "public_flags": 0, + "id": "975372485971312700", + "avatar": "90ab939feddeaea32e23d066ce66d0e6", + "username": "andrakosq9211", + "discriminator": "0" + } }, - "id": "1225630717426274377", - "type": 2, - "user": { - "global_name": "JVerbalu", - "avatar_decoration_data": null, - "public_flags": 0, - "id": "972721304891453450", - "avatar": "3646118d04fd12dfd301c4fd17afd801", - "username": "jverbalu4990", - "discriminator": "0" - } - }, - "guild_id": "1225608134878302329", - "position": 0, - "id": "1225630724431024259", - "embeds": [], - "channel_id": "1225608134878302332", - "timestamp": "2024-04-05T02:18:55.822000+00:00" + "guild_id": "1234355413420347402", + "position": 0, + "id": "1234381516130357379", + "embeds": [], + "channel_id": "1234380679576424448", + "timestamp": "2024-04-29T05:51:27.145000+00:00" + } } \ No newline at end of file diff --git a/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/4.json b/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/4.json index d41eb22c2..0aa8fbfed 100644 --- a/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/4.json +++ b/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/4.json @@ -1,43 +1,94 @@ { - "mention_everyone": false, - "pinned": false, - "components": [], - "attachments": [], - "interaction_metadata": { - "user_id": "972721304891453450", - "name": "imagine", - "authorizing_integration_owners": { - "0": "1225608134878302329" + "op": 0, + "s": 32, + "t": "MESSAGE_UPDATE", + "d": { + "mention_everyone": false, + "pinned": false, + "components": [], + "attachments": [], + "interaction_metadata": { + "user_id": "975372485971312700", + "name": "imagine", + "authorizing_integration_owners": { + "0": "1234355413420347402" + }, + "id": "1234381513597128715", + "type": 2, + "user": { + "global_name": "禁止挂软件刷图,逮到删服务器,踢设备,永久拉黑!!!", + "avatar_decoration_data": null, + "clan": null, + "public_flags": 0, + "id": "975372485971312700", + "avatar": "90ab939feddeaea32e23d066ce66d0e6", + "username": "andrakosq9211", + "discriminator": "0" + } }, - "id": "1225630717426274377", - "type": 2 - }, - "author": { - "global_name": null, - "bot": true, - "avatar_decoration_data": null, - "public_flags": 589824, - "id": "936929561302675456", - "avatar": "f6ce562a6b4979c4b1cbc5b436d3be76", - "username": "Midjourney Bot", - "discriminator": "9282" - }, - "flags": 0, - "type": 20, - "mention_roles": [], - "application_id": "936929561302675456", - "edited_timestamp": "2024-04-05T02:19:02.665459+00:00", - "content": "**南极应该是什么样子? --v 6.0 --style raw** - <@972721304891453450> (10%) (fast, stealth)", - "tts": false, - "webhook_id": "936929561302675456", - "mentions": [ - { - "global_name": "JVerbalu", + "author": { + "global_name": null, + "bot": true, "avatar_decoration_data": null, + "clan": null, + "public_flags": 589824, + "id": "936929561302675456", + "avatar": "f6ce562a6b4979c4b1cbc5b436d3be76", + "username": "Midjourney Bot", + "discriminator": "9282" + }, + "flags": 0, + "type": 20, + "mention_roles": [], + "application_id": "936929561302675456", + "edited_timestamp": "2024-04-29T05:52:48.976941+00:00", + "content": "**海贼王,在赶海! --v 6.0** - <@975372485971312700> (20%) (relaxed)", + "tts": false, + "webhook_id": "936929561302675456", + "mentions": [ + { + "global_name": "禁止挂软件刷图,逮到删服务器,踢设备,永久拉黑!!!", + "avatar_decoration_data": null, + "member": { + "premium_since": null, + "nick": null, + "joined_at": "2024-04-29T04:07:43.807000+00:00", + "communication_disabled_until": null, + "roles": [], + "pending": false, + "flags": 0, + "deaf": false, + "mute": false, + "avatar": null + }, + "clan": null, + "public_flags": 0, + "id": "975372485971312700", + "avatar": "90ab939feddeaea32e23d066ce66d0e6", + "username": "andrakosq9211", + "discriminator": "0" + } + ], + "member": { + "premium_since": null, + "nick": null, + "joined_at": "2024-04-29T04:09:06.489349+00:00", + "communication_disabled_until": null, + "roles": [ + "1234355760184561747" + ], + "pending": false, + "flags": 0, + "deaf": false, + "mute": false, + "avatar": null + }, + "interaction": { + "name": "imagine", "member": { "premium_since": null, "nick": null, - "joined_at": "2024-04-05T00:49:10.062000+00:00", + "joined_at": "2024-04-29T04:07:43.807000+00:00", "communication_disabled_until": null, "roles": [], "pending": false, @@ -46,57 +97,24 @@ "mute": false, "avatar": null }, - "public_flags": 0, - "id": "972721304891453450", - "avatar": "3646118d04fd12dfd301c4fd17afd801", - "username": "jverbalu4990", - "discriminator": "0" - } - ], - "member": { - "premium_since": null, - "nick": null, - "joined_at": "2024-04-05T00:49:35.840941+00:00", - "communication_disabled_until": null, - "roles": [ - "1225608242688819214" - ], - "pending": false, - "flags": 0, - "deaf": false, - "mute": false, - "avatar": null - }, - "interaction": { - "name": "imagine", - "member": { - "premium_since": null, - "nick": null, - "joined_at": "2024-04-05T00:49:10.062000+00:00", - "communication_disabled_until": null, - "roles": [], - "pending": false, - "flags": 0, - "deaf": false, - "mute": false, - "avatar": null + "id": "1234381513597128715", + "type": 2, + "user": { + "global_name": "禁止挂软件刷图,逮到删服务器,踢设备,永久拉黑!!!", + "avatar_decoration_data": null, + "clan": null, + "public_flags": 0, + "id": "975372485971312700", + "avatar": "90ab939feddeaea32e23d066ce66d0e6", + "username": "andrakosq9211", + "discriminator": "0" + } }, - "id": "1225630717426274377", - "type": 2, - "user": { - "global_name": "JVerbalu", - "avatar_decoration_data": null, - "public_flags": 0, - "id": "972721304891453450", - "avatar": "3646118d04fd12dfd301c4fd17afd801", - "username": "jverbalu4990", - "discriminator": "0" - } - }, - "guild_id": "1225608134878302329", - "position": 0, - "id": "1225630724431024259", - "embeds": [], - "channel_id": "1225608134878302332", - "timestamp": "2024-04-05T02:18:55.822000+00:00" + "guild_id": "1234355413420347402", + "position": 0, + "id": "1234381516130357379", + "embeds": [], + "channel_id": "1234380679576424448", + "timestamp": "2024-04-29T05:51:27.145000+00:00" + } } \ No newline at end of file diff --git a/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/5.json b/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/5.json index 7503abd10..5cffb7280 100644 --- a/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/5.json +++ b/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/5.json @@ -1,43 +1,94 @@ { - "mention_everyone": false, - "pinned": false, - "components": [], - "attachments": [], - "interaction_metadata": { - "user_id": "972721304891453450", - "name": "imagine", - "authorizing_integration_owners": { - "0": "1225608134878302329" + "op": 0, + "s": 33, + "t": "MESSAGE_UPDATE", + "d": { + "mention_everyone": false, + "pinned": false, + "components": [], + "attachments": [], + "interaction_metadata": { + "user_id": "975372485971312700", + "name": "imagine", + "authorizing_integration_owners": { + "0": "1234355413420347402" + }, + "id": "1234381513597128715", + "type": 2, + "user": { + "global_name": "禁止挂软件刷图,逮到删服务器,踢设备,永久拉黑!!!", + "avatar_decoration_data": null, + "clan": null, + "public_flags": 0, + "id": "975372485971312700", + "avatar": "90ab939feddeaea32e23d066ce66d0e6", + "username": "andrakosq9211", + "discriminator": "0" + } }, - "id": "1225630717426274377", - "type": 2 - }, - "author": { - "global_name": null, - "bot": true, - "avatar_decoration_data": null, - "public_flags": 589824, - "id": "936929561302675456", - "avatar": "f6ce562a6b4979c4b1cbc5b436d3be76", - "username": "Midjourney Bot", - "discriminator": "9282" - }, - "flags": 0, - "type": 20, - "mention_roles": [], - "application_id": "936929561302675456", - "edited_timestamp": "2024-04-05T02:19:05.339248+00:00", - "content": "**南极应该是什么样子? --v 6.0 --style raw** - <@972721304891453450> (17%) (fast, stealth)", - "tts": false, - "webhook_id": "936929561302675456", - "mentions": [ - { - "global_name": "JVerbalu", + "author": { + "global_name": null, + "bot": true, "avatar_decoration_data": null, + "clan": null, + "public_flags": 589824, + "id": "936929561302675456", + "avatar": "f6ce562a6b4979c4b1cbc5b436d3be76", + "username": "Midjourney Bot", + "discriminator": "9282" + }, + "flags": 0, + "type": 20, + "mention_roles": [], + "application_id": "936929561302675456", + "edited_timestamp": "2024-04-29T05:52:54.993089+00:00", + "content": "**海贼王,在赶海! --v 6.0** - <@975372485971312700> (22%) (relaxed)", + "tts": false, + "webhook_id": "936929561302675456", + "mentions": [ + { + "global_name": "禁止挂软件刷图,逮到删服务器,踢设备,永久拉黑!!!", + "avatar_decoration_data": null, + "member": { + "premium_since": null, + "nick": null, + "joined_at": "2024-04-29T04:07:43.807000+00:00", + "communication_disabled_until": null, + "roles": [], + "pending": false, + "flags": 0, + "deaf": false, + "mute": false, + "avatar": null + }, + "clan": null, + "public_flags": 0, + "id": "975372485971312700", + "avatar": "90ab939feddeaea32e23d066ce66d0e6", + "username": "andrakosq9211", + "discriminator": "0" + } + ], + "member": { + "premium_since": null, + "nick": null, + "joined_at": "2024-04-29T04:09:06.489349+00:00", + "communication_disabled_until": null, + "roles": [ + "1234355760184561747" + ], + "pending": false, + "flags": 0, + "deaf": false, + "mute": false, + "avatar": null + }, + "interaction": { + "name": "imagine", "member": { "premium_since": null, "nick": null, - "joined_at": "2024-04-05T00:49:10.062000+00:00", + "joined_at": "2024-04-29T04:07:43.807000+00:00", "communication_disabled_until": null, "roles": [], "pending": false, @@ -46,57 +97,24 @@ "mute": false, "avatar": null }, - "public_flags": 0, - "id": "972721304891453450", - "avatar": "3646118d04fd12dfd301c4fd17afd801", - "username": "jverbalu4990", - "discriminator": "0" - } - ], - "member": { - "premium_since": null, - "nick": null, - "joined_at": "2024-04-05T00:49:35.840941+00:00", - "communication_disabled_until": null, - "roles": [ - "1225608242688819214" - ], - "pending": false, - "flags": 0, - "deaf": false, - "mute": false, - "avatar": null - }, - "interaction": { - "name": "imagine", - "member": { - "premium_since": null, - "nick": null, - "joined_at": "2024-04-05T00:49:10.062000+00:00", - "communication_disabled_until": null, - "roles": [], - "pending": false, - "flags": 0, - "deaf": false, - "mute": false, - "avatar": null + "id": "1234381513597128715", + "type": 2, + "user": { + "global_name": "禁止挂软件刷图,逮到删服务器,踢设备,永久拉黑!!!", + "avatar_decoration_data": null, + "clan": null, + "public_flags": 0, + "id": "975372485971312700", + "avatar": "90ab939feddeaea32e23d066ce66d0e6", + "username": "andrakosq9211", + "discriminator": "0" + } }, - "id": "1225630717426274377", - "type": 2, - "user": { - "global_name": "JVerbalu", - "avatar_decoration_data": null, - "public_flags": 0, - "id": "972721304891453450", - "avatar": "3646118d04fd12dfd301c4fd17afd801", - "username": "jverbalu4990", - "discriminator": "0" - } - }, - "guild_id": "1225608134878302329", - "position": 0, - "id": "1225630724431024259", - "embeds": [], - "channel_id": "1225608134878302332", - "timestamp": "2024-04-05T02:18:55.822000+00:00" + "guild_id": "1234355413420347402", + "position": 0, + "id": "1234381516130357379", + "embeds": [], + "channel_id": "1234380679576424448", + "timestamp": "2024-04-29T05:51:27.145000+00:00" + } } \ No newline at end of file diff --git a/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/6.json b/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/6.json index 61dad1272..4e126e880 100644 --- a/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/6.json +++ b/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/6.json @@ -1,43 +1,94 @@ { - "mention_everyone": false, - "pinned": false, - "components": [], - "attachments": [], - "interaction_metadata": { - "user_id": "972721304891453450", - "name": "imagine", - "authorizing_integration_owners": { - "0": "1225608134878302329" + "op": 0, + "s": 34, + "t": "MESSAGE_UPDATE", + "d": { + "mention_everyone": false, + "pinned": false, + "components": [], + "attachments": [], + "interaction_metadata": { + "user_id": "975372485971312700", + "name": "imagine", + "authorizing_integration_owners": { + "0": "1234355413420347402" + }, + "id": "1234381513597128715", + "type": 2, + "user": { + "global_name": "禁止挂软件刷图,逮到删服务器,踢设备,永久拉黑!!!", + "avatar_decoration_data": null, + "clan": null, + "public_flags": 0, + "id": "975372485971312700", + "avatar": "90ab939feddeaea32e23d066ce66d0e6", + "username": "andrakosq9211", + "discriminator": "0" + } }, - "id": "1225630717426274377", - "type": 2 - }, - "author": { - "global_name": null, - "bot": true, - "avatar_decoration_data": null, - "public_flags": 589824, - "id": "936929561302675456", - "avatar": "f6ce562a6b4979c4b1cbc5b436d3be76", - "username": "Midjourney Bot", - "discriminator": "9282" - }, - "flags": 0, - "type": 20, - "mention_roles": [], - "application_id": "936929561302675456", - "edited_timestamp": "2024-04-05T02:19:08.810399+00:00", - "content": "**南极应该是什么样子? --v 6.0 --style raw** - <@972721304891453450> (25%) (fast, stealth)", - "tts": false, - "webhook_id": "936929561302675456", - "mentions": [ - { - "global_name": "JVerbalu", + "author": { + "global_name": null, + "bot": true, "avatar_decoration_data": null, + "clan": null, + "public_flags": 589824, + "id": "936929561302675456", + "avatar": "f6ce562a6b4979c4b1cbc5b436d3be76", + "username": "Midjourney Bot", + "discriminator": "9282" + }, + "flags": 0, + "type": 20, + "mention_roles": [], + "application_id": "936929561302675456", + "edited_timestamp": "2024-04-29T05:52:55.667426+00:00", + "content": "**海贼王,在赶海! --v 6.0** - <@975372485971312700> (32%) (relaxed)", + "tts": false, + "webhook_id": "936929561302675456", + "mentions": [ + { + "global_name": "禁止挂软件刷图,逮到删服务器,踢设备,永久拉黑!!!", + "avatar_decoration_data": null, + "member": { + "premium_since": null, + "nick": null, + "joined_at": "2024-04-29T04:07:43.807000+00:00", + "communication_disabled_until": null, + "roles": [], + "pending": false, + "flags": 0, + "deaf": false, + "mute": false, + "avatar": null + }, + "clan": null, + "public_flags": 0, + "id": "975372485971312700", + "avatar": "90ab939feddeaea32e23d066ce66d0e6", + "username": "andrakosq9211", + "discriminator": "0" + } + ], + "member": { + "premium_since": null, + "nick": null, + "joined_at": "2024-04-29T04:09:06.489349+00:00", + "communication_disabled_until": null, + "roles": [ + "1234355760184561747" + ], + "pending": false, + "flags": 0, + "deaf": false, + "mute": false, + "avatar": null + }, + "interaction": { + "name": "imagine", "member": { "premium_since": null, "nick": null, - "joined_at": "2024-04-05T00:49:10.062000+00:00", + "joined_at": "2024-04-29T04:07:43.807000+00:00", "communication_disabled_until": null, "roles": [], "pending": false, @@ -46,57 +97,24 @@ "mute": false, "avatar": null }, - "public_flags": 0, - "id": "972721304891453450", - "avatar": "3646118d04fd12dfd301c4fd17afd801", - "username": "jverbalu4990", - "discriminator": "0" - } - ], - "member": { - "premium_since": null, - "nick": null, - "joined_at": "2024-04-05T00:49:35.840941+00:00", - "communication_disabled_until": null, - "roles": [ - "1225608242688819214" - ], - "pending": false, - "flags": 0, - "deaf": false, - "mute": false, - "avatar": null - }, - "interaction": { - "name": "imagine", - "member": { - "premium_since": null, - "nick": null, - "joined_at": "2024-04-05T00:49:10.062000+00:00", - "communication_disabled_until": null, - "roles": [], - "pending": false, - "flags": 0, - "deaf": false, - "mute": false, - "avatar": null + "id": "1234381513597128715", + "type": 2, + "user": { + "global_name": "禁止挂软件刷图,逮到删服务器,踢设备,永久拉黑!!!", + "avatar_decoration_data": null, + "clan": null, + "public_flags": 0, + "id": "975372485971312700", + "avatar": "90ab939feddeaea32e23d066ce66d0e6", + "username": "andrakosq9211", + "discriminator": "0" + } }, - "id": "1225630717426274377", - "type": 2, - "user": { - "global_name": "JVerbalu", - "avatar_decoration_data": null, - "public_flags": 0, - "id": "972721304891453450", - "avatar": "3646118d04fd12dfd301c4fd17afd801", - "username": "jverbalu4990", - "discriminator": "0" - } - }, - "guild_id": "1225608134878302329", - "position": 0, - "id": "1225630724431024259", - "embeds": [], - "channel_id": "1225608134878302332", - "timestamp": "2024-04-05T02:18:55.822000+00:00" + "guild_id": "1234355413420347402", + "position": 0, + "id": "1234381516130357379", + "embeds": [], + "channel_id": "1234380679576424448", + "timestamp": "2024-04-29T05:51:27.145000+00:00" + } } \ No newline at end of file diff --git a/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/7.json b/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/7.json index a21f527aa..38d670093 100644 --- a/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/7.json +++ b/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/7.json @@ -1,43 +1,94 @@ { - "mention_everyone": false, - "pinned": false, - "components": [], - "attachments": [], - "interaction_metadata": { - "user_id": "972721304891453450", - "name": "imagine", - "authorizing_integration_owners": { - "0": "1225608134878302329" + "op": 0, + "s": 35, + "t": "MESSAGE_UPDATE", + "d": { + "mention_everyone": false, + "pinned": false, + "components": [], + "attachments": [], + "interaction_metadata": { + "user_id": "975372485971312700", + "name": "imagine", + "authorizing_integration_owners": { + "0": "1234355413420347402" + }, + "id": "1234381513597128715", + "type": 2, + "user": { + "global_name": "禁止挂软件刷图,逮到删服务器,踢设备,永久拉黑!!!", + "avatar_decoration_data": null, + "clan": null, + "public_flags": 0, + "id": "975372485971312700", + "avatar": "90ab939feddeaea32e23d066ce66d0e6", + "username": "andrakosq9211", + "discriminator": "0" + } }, - "id": "1225630717426274377", - "type": 2 - }, - "author": { - "global_name": null, - "bot": true, - "avatar_decoration_data": null, - "public_flags": 589824, - "id": "936929561302675456", - "avatar": "f6ce562a6b4979c4b1cbc5b436d3be76", - "username": "Midjourney Bot", - "discriminator": "9282" - }, - "flags": 0, - "type": 20, - "mention_roles": [], - "application_id": "936929561302675456", - "edited_timestamp": "2024-04-05T02:19:12.017944+00:00", - "content": "**南极应该是什么样子? --v 6.0 --style raw** - <@972721304891453450> (32%) (fast, stealth)", - "tts": false, - "webhook_id": "936929561302675456", - "mentions": [ - { - "global_name": "JVerbalu", + "author": { + "global_name": null, + "bot": true, "avatar_decoration_data": null, + "clan": null, + "public_flags": 589824, + "id": "936929561302675456", + "avatar": "f6ce562a6b4979c4b1cbc5b436d3be76", + "username": "Midjourney Bot", + "discriminator": "9282" + }, + "flags": 0, + "type": 20, + "mention_roles": [], + "application_id": "936929561302675456", + "edited_timestamp": "2024-04-29T05:53:01.235104+00:00", + "content": "**海贼王,在赶海! --v 6.0** - <@975372485971312700> (35%) (relaxed)", + "tts": false, + "webhook_id": "936929561302675456", + "mentions": [ + { + "global_name": "禁止挂软件刷图,逮到删服务器,踢设备,永久拉黑!!!", + "avatar_decoration_data": null, + "member": { + "premium_since": null, + "nick": null, + "joined_at": "2024-04-29T04:07:43.807000+00:00", + "communication_disabled_until": null, + "roles": [], + "pending": false, + "flags": 0, + "deaf": false, + "mute": false, + "avatar": null + }, + "clan": null, + "public_flags": 0, + "id": "975372485971312700", + "avatar": "90ab939feddeaea32e23d066ce66d0e6", + "username": "andrakosq9211", + "discriminator": "0" + } + ], + "member": { + "premium_since": null, + "nick": null, + "joined_at": "2024-04-29T04:09:06.489349+00:00", + "communication_disabled_until": null, + "roles": [ + "1234355760184561747" + ], + "pending": false, + "flags": 0, + "deaf": false, + "mute": false, + "avatar": null + }, + "interaction": { + "name": "imagine", "member": { "premium_since": null, "nick": null, - "joined_at": "2024-04-05T00:49:10.062000+00:00", + "joined_at": "2024-04-29T04:07:43.807000+00:00", "communication_disabled_until": null, "roles": [], "pending": false, @@ -46,57 +97,24 @@ "mute": false, "avatar": null }, - "public_flags": 0, - "id": "972721304891453450", - "avatar": "3646118d04fd12dfd301c4fd17afd801", - "username": "jverbalu4990", - "discriminator": "0" - } - ], - "member": { - "premium_since": null, - "nick": null, - "joined_at": "2024-04-05T00:49:35.840941+00:00", - "communication_disabled_until": null, - "roles": [ - "1225608242688819214" - ], - "pending": false, - "flags": 0, - "deaf": false, - "mute": false, - "avatar": null - }, - "interaction": { - "name": "imagine", - "member": { - "premium_since": null, - "nick": null, - "joined_at": "2024-04-05T00:49:10.062000+00:00", - "communication_disabled_until": null, - "roles": [], - "pending": false, - "flags": 0, - "deaf": false, - "mute": false, - "avatar": null + "id": "1234381513597128715", + "type": 2, + "user": { + "global_name": "禁止挂软件刷图,逮到删服务器,踢设备,永久拉黑!!!", + "avatar_decoration_data": null, + "clan": null, + "public_flags": 0, + "id": "975372485971312700", + "avatar": "90ab939feddeaea32e23d066ce66d0e6", + "username": "andrakosq9211", + "discriminator": "0" + } }, - "id": "1225630717426274377", - "type": 2, - "user": { - "global_name": "JVerbalu", - "avatar_decoration_data": null, - "public_flags": 0, - "id": "972721304891453450", - "avatar": "3646118d04fd12dfd301c4fd17afd801", - "username": "jverbalu4990", - "discriminator": "0" - } - }, - "guild_id": "1225608134878302329", - "position": 0, - "id": "1225630724431024259", - "embeds": [], - "channel_id": "1225608134878302332", - "timestamp": "2024-04-05T02:18:55.822000+00:00" + "guild_id": "1234355413420347402", + "position": 0, + "id": "1234381516130357379", + "embeds": [], + "channel_id": "1234380679576424448", + "timestamp": "2024-04-29T05:51:27.145000+00:00" + } } \ No newline at end of file diff --git a/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/8.json b/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/8.json index 48decf5f6..c6d1b735b 100644 --- a/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/8.json +++ b/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/8.json @@ -1,43 +1,107 @@ { - "mention_everyone": false, - "pinned": false, - "components": [], - "attachments": [], - "interaction_metadata": { - "user_id": "972721304891453450", - "name": "imagine", - "authorizing_integration_owners": { - "0": "1225608134878302329" + "op": 0, + "s": 36, + "t": "MESSAGE_UPDATE", + "d": { + "mention_everyone": false, + "pinned": false, + "components": [], + "attachments": [ + { + "filename": "5d32f4e8-8d2f-4bef-82d8-bf517e3c3660_grid_0.webp", + "size": 43912, + "content_type": "image/webp", + "width": 512, + "placeholder_version": 1, + "proxy_url": "https://media.discordapp.net/attachments/1234380679576424448/1234381927348436992/5d32f4e8-8d2f-4bef-82d8-bf517e3c3660_grid_0.webp?ex=66308741&is=662f35c1&hm=eb4abbb4ede30b588e02eba7c18203177dcea82612ee981bde696346f1d887ac&", + "placeholder": "WpcRLxZwanaXh4d4h6d2aIeG92d6hbAH", + "id": "1234381927348436992", + "url": "https://cdn.discordapp.com/attachments/1234380679576424448/1234381927348436992/5d32f4e8-8d2f-4bef-82d8-bf517e3c3660_grid_0.webp?ex=66308741&is=662f35c1&hm=eb4abbb4ede30b588e02eba7c18203177dcea82612ee981bde696346f1d887ac&", + "height": 512 + } + ], + "interaction_metadata": { + "user_id": "975372485971312700", + "name": "imagine", + "authorizing_integration_owners": { + "0": "1234355413420347402" + }, + "id": "1234381513597128715", + "type": 2, + "user": { + "global_name": "禁止挂软件刷图,逮到删服务器,踢设备,永久拉黑!!!", + "avatar_decoration_data": null, + "clan": null, + "public_flags": 0, + "id": "975372485971312700", + "avatar": "90ab939feddeaea32e23d066ce66d0e6", + "username": "andrakosq9211", + "discriminator": "0" + } }, - "id": "1225630717426274377", - "type": 2 - }, - "author": { - "global_name": null, - "bot": true, - "avatar_decoration_data": null, - "public_flags": 589824, - "id": "936929561302675456", - "avatar": "f6ce562a6b4979c4b1cbc5b436d3be76", - "username": "Midjourney Bot", - "discriminator": "9282" - }, - "flags": 0, - "type": 20, - "mention_roles": [], - "application_id": "936929561302675456", - "edited_timestamp": "2024-04-05T02:19:15.043965+00:00", - "content": "**南极应该是什么样子? --v 6.0 --style raw** - <@972721304891453450> (35%) (fast, stealth)", - "tts": false, - "webhook_id": "936929561302675456", - "mentions": [ - { - "global_name": "JVerbalu", + "author": { + "global_name": null, + "bot": true, "avatar_decoration_data": null, + "clan": null, + "public_flags": 589824, + "id": "936929561302675456", + "avatar": "f6ce562a6b4979c4b1cbc5b436d3be76", + "username": "Midjourney Bot", + "discriminator": "9282" + }, + "flags": 0, + "type": 20, + "mention_roles": [], + "application_id": "936929561302675456", + "edited_timestamp": "2024-04-29T05:53:05.164746+00:00", + "content": "**海贼王,在赶海! --v 6.0** - <@975372485971312700> (35%) (relaxed)", + "tts": false, + "webhook_id": "936929561302675456", + "mentions": [ + { + "global_name": "禁止挂软件刷图,逮到删服务器,踢设备,永久拉黑!!!", + "avatar_decoration_data": null, + "member": { + "premium_since": null, + "nick": null, + "joined_at": "2024-04-29T04:07:43.807000+00:00", + "communication_disabled_until": null, + "roles": [], + "pending": false, + "flags": 0, + "deaf": false, + "mute": false, + "avatar": null + }, + "clan": null, + "public_flags": 0, + "id": "975372485971312700", + "avatar": "90ab939feddeaea32e23d066ce66d0e6", + "username": "andrakosq9211", + "discriminator": "0" + } + ], + "member": { + "premium_since": null, + "nick": null, + "joined_at": "2024-04-29T04:09:06.489349+00:00", + "communication_disabled_until": null, + "roles": [ + "1234355760184561747" + ], + "pending": false, + "flags": 0, + "deaf": false, + "mute": false, + "avatar": null + }, + "interaction": { + "name": "imagine", "member": { "premium_since": null, "nick": null, - "joined_at": "2024-04-05T00:49:10.062000+00:00", + "joined_at": "2024-04-29T04:07:43.807000+00:00", "communication_disabled_until": null, "roles": [], "pending": false, @@ -46,57 +110,24 @@ "mute": false, "avatar": null }, - "public_flags": 0, - "id": "972721304891453450", - "avatar": "3646118d04fd12dfd301c4fd17afd801", - "username": "jverbalu4990", - "discriminator": "0" - } - ], - "member": { - "premium_since": null, - "nick": null, - "joined_at": "2024-04-05T00:49:35.840941+00:00", - "communication_disabled_until": null, - "roles": [ - "1225608242688819214" - ], - "pending": false, - "flags": 0, - "deaf": false, - "mute": false, - "avatar": null - }, - "interaction": { - "name": "imagine", - "member": { - "premium_since": null, - "nick": null, - "joined_at": "2024-04-05T00:49:10.062000+00:00", - "communication_disabled_until": null, - "roles": [], - "pending": false, - "flags": 0, - "deaf": false, - "mute": false, - "avatar": null + "id": "1234381513597128715", + "type": 2, + "user": { + "global_name": "禁止挂软件刷图,逮到删服务器,踢设备,永久拉黑!!!", + "avatar_decoration_data": null, + "clan": null, + "public_flags": 0, + "id": "975372485971312700", + "avatar": "90ab939feddeaea32e23d066ce66d0e6", + "username": "andrakosq9211", + "discriminator": "0" + } }, - "id": "1225630717426274377", - "type": 2, - "user": { - "global_name": "JVerbalu", - "avatar_decoration_data": null, - "public_flags": 0, - "id": "972721304891453450", - "avatar": "3646118d04fd12dfd301c4fd17afd801", - "username": "jverbalu4990", - "discriminator": "0" - } - }, - "guild_id": "1225608134878302329", - "position": 0, - "id": "1225630724431024259", - "embeds": [], - "channel_id": "1225608134878302332", - "timestamp": "2024-04-05T02:18:55.822000+00:00" + "guild_id": "1234355413420347402", + "position": 0, + "id": "1234381516130357379", + "embeds": [], + "channel_id": "1234380679576424448", + "timestamp": "2024-04-29T05:51:27.145000+00:00" + } } \ No newline at end of file diff --git a/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/9.json b/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/9.json index 10a28991d..4c260889b 100644 --- a/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/9.json +++ b/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/9.json @@ -1,56 +1,107 @@ { - "mention_everyone": false, - "pinned": false, - "components": [], - "attachments": [ - { - "filename": "8f23f288-6028-468b-8056-1e4adef73985_grid_0.webp", - "size": 30752, - "content_type": "image/webp", - "width": 512, - "placeholder_version": 1, - "proxy_url": "https://media.discordapp.net/attachments/1225608134878302332/1225630819515764806/8f23f288-6028-468b-8056-1e4adef73985_grid_0.webp?ex=6621d4a6&is=660f5fa6&hm=d46f487fce290539acae4e83322345b35f658c2ec40fb6f015a698dac9e84bb7&", - "placeholder": "HBgSFwJ/hYpEl3iGd3iId3h3R/k0gF4E", - "id": "1225630819515764806", - "url": "https://cdn.discordapp.com/attachments/1225608134878302332/1225630819515764806/8f23f288-6028-468b-8056-1e4adef73985_grid_0.webp?ex=6621d4a6&is=660f5fa6&hm=d46f487fce290539acae4e83322345b35f658c2ec40fb6f015a698dac9e84bb7&", - "height": 512 - } - ], - "interaction_metadata": { - "user_id": "972721304891453450", - "name": "imagine", - "authorizing_integration_owners": { - "0": "1225608134878302329" + "op": 0, + "s": 37, + "t": "MESSAGE_UPDATE", + "d": { + "mention_everyone": false, + "pinned": false, + "components": [], + "attachments": [ + { + "filename": "5d32f4e8-8d2f-4bef-82d8-bf517e3c3660_grid_0.webp", + "size": 27876, + "content_type": "image/webp", + "width": 512, + "placeholder_version": 1, + "proxy_url": "https://media.discordapp.net/attachments/1234380679576424448/1234381937288679506/5d32f4e8-8d2f-4bef-82d8-bf517e3c3660_grid_0.webp?ex=66308743&is=662f35c3&hm=ccebcb830d6e76127164767721ebf18ec3bc1e9acf8d61481b5f755e89caf8b8&", + "placeholder": "G7cJFwqCeYiHeId5h/h2eHmU9xeHc7AG", + "id": "1234381937288679506", + "url": "https://cdn.discordapp.com/attachments/1234380679576424448/1234381937288679506/5d32f4e8-8d2f-4bef-82d8-bf517e3c3660_grid_0.webp?ex=66308743&is=662f35c3&hm=ccebcb830d6e76127164767721ebf18ec3bc1e9acf8d61481b5f755e89caf8b8&", + "height": 512 + } + ], + "interaction_metadata": { + "user_id": "975372485971312700", + "name": "imagine", + "authorizing_integration_owners": { + "0": "1234355413420347402" + }, + "id": "1234381513597128715", + "type": 2, + "user": { + "global_name": "禁止挂软件刷图,逮到删服务器,踢设备,永久拉黑!!!", + "avatar_decoration_data": null, + "clan": null, + "public_flags": 0, + "id": "975372485971312700", + "avatar": "90ab939feddeaea32e23d066ce66d0e6", + "username": "andrakosq9211", + "discriminator": "0" + } }, - "id": "1225630717426274377", - "type": 2 - }, - "author": { - "global_name": null, - "bot": true, - "avatar_decoration_data": null, - "public_flags": 589824, - "id": "936929561302675456", - "avatar": "f6ce562a6b4979c4b1cbc5b436d3be76", - "username": "Midjourney Bot", - "discriminator": "9282" - }, - "flags": 0, - "type": 20, - "mention_roles": [], - "application_id": "936929561302675456", - "edited_timestamp": "2024-04-05T02:19:18.460823+00:00", - "content": "**南极应该是什么样子? --v 6.0 --style raw** - <@972721304891453450> (45%) (fast, stealth)", - "tts": false, - "webhook_id": "936929561302675456", - "mentions": [ - { - "global_name": "JVerbalu", + "author": { + "global_name": null, + "bot": true, "avatar_decoration_data": null, + "clan": null, + "public_flags": 589824, + "id": "936929561302675456", + "avatar": "f6ce562a6b4979c4b1cbc5b436d3be76", + "username": "Midjourney Bot", + "discriminator": "9282" + }, + "flags": 0, + "type": 20, + "mention_roles": [], + "application_id": "936929561302675456", + "edited_timestamp": "2024-04-29T05:53:07.496257+00:00", + "content": "**海贼王,在赶海! --v 6.0** - <@975372485971312700> (55%) (relaxed)", + "tts": false, + "webhook_id": "936929561302675456", + "mentions": [ + { + "global_name": "禁止挂软件刷图,逮到删服务器,踢设备,永久拉黑!!!", + "avatar_decoration_data": null, + "member": { + "premium_since": null, + "nick": null, + "joined_at": "2024-04-29T04:07:43.807000+00:00", + "communication_disabled_until": null, + "roles": [], + "pending": false, + "flags": 0, + "deaf": false, + "mute": false, + "avatar": null + }, + "clan": null, + "public_flags": 0, + "id": "975372485971312700", + "avatar": "90ab939feddeaea32e23d066ce66d0e6", + "username": "andrakosq9211", + "discriminator": "0" + } + ], + "member": { + "premium_since": null, + "nick": null, + "joined_at": "2024-04-29T04:09:06.489349+00:00", + "communication_disabled_until": null, + "roles": [ + "1234355760184561747" + ], + "pending": false, + "flags": 0, + "deaf": false, + "mute": false, + "avatar": null + }, + "interaction": { + "name": "imagine", "member": { "premium_since": null, "nick": null, - "joined_at": "2024-04-05T00:49:10.062000+00:00", + "joined_at": "2024-04-29T04:07:43.807000+00:00", "communication_disabled_until": null, "roles": [], "pending": false, @@ -59,57 +110,24 @@ "mute": false, "avatar": null }, - "public_flags": 0, - "id": "972721304891453450", - "avatar": "3646118d04fd12dfd301c4fd17afd801", - "username": "jverbalu4990", - "discriminator": "0" - } - ], - "member": { - "premium_since": null, - "nick": null, - "joined_at": "2024-04-05T00:49:35.840941+00:00", - "communication_disabled_until": null, - "roles": [ - "1225608242688819214" - ], - "pending": false, - "flags": 0, - "deaf": false, - "mute": false, - "avatar": null - }, - "interaction": { - "name": "imagine", - "member": { - "premium_since": null, - "nick": null, - "joined_at": "2024-04-05T00:49:10.062000+00:00", - "communication_disabled_until": null, - "roles": [], - "pending": false, - "flags": 0, - "deaf": false, - "mute": false, - "avatar": null + "id": "1234381513597128715", + "type": 2, + "user": { + "global_name": "禁止挂软件刷图,逮到删服务器,踢设备,永久拉黑!!!", + "avatar_decoration_data": null, + "clan": null, + "public_flags": 0, + "id": "975372485971312700", + "avatar": "90ab939feddeaea32e23d066ce66d0e6", + "username": "andrakosq9211", + "discriminator": "0" + } }, - "id": "1225630717426274377", - "type": 2, - "user": { - "global_name": "JVerbalu", - "avatar_decoration_data": null, - "public_flags": 0, - "id": "972721304891453450", - "avatar": "3646118d04fd12dfd301c4fd17afd801", - "username": "jverbalu4990", - "discriminator": "0" - } - }, - "guild_id": "1225608134878302329", - "position": 0, - "id": "1225630724431024259", - "embeds": [], - "channel_id": "1225608134878302332", - "timestamp": "2024-04-05T02:18:55.822000+00:00" + "guild_id": "1234355413420347402", + "position": 0, + "id": "1234381516130357379", + "embeds": [], + "channel_id": "1234380679576424448", + "timestamp": "2024-04-29T05:51:27.145000+00:00" + } } \ No newline at end of file