增加 interactions 核心接口数据

This commit is contained in:
cherishsince 2024-04-01 22:14:38 +08:00
parent 7543875e32
commit 196b9ab39c

View File

@ -7,4 +7,11 @@ package cn.iocoder.yudao.framework.ai.Midjourney;
* *
*/ */
public class MidjourneyApi { public class MidjourneyApi {
// https://discord.com/api/v9/interactions
//
// payload_json: {"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"}
//
} }