From 3cc3695ec0602f37564e6ea7362175d25c6d477a Mon Sep 17 00:00:00 2001 From: cherishsince Date: Mon, 29 Apr 2024 14:53:31 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=B5=8B=E8=AF=95=E3=80=91=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=20midjourney=20=E6=8F=90=E4=BA=A4=E7=BB=98=E7=94=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/http/image.http | 23 +++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/yudao-module-ai/yudao-module-ai-biz/src/main/resources/http/image.http b/yudao-module-ai/yudao-module-ai-biz/src/main/resources/http/image.http index 069ebf1ba..a5282df16 100644 --- a/yudao-module-ai/yudao-module-ai-biz/src/main/resources/http/image.http +++ b/yudao-module-ai/yudao-module-ai-biz/src/main/resources/http/image.http @@ -1,5 +1,24 @@ -### chat call -GET {{baseUrl}}/ai/image/dallDrawing?modal=dall-e-2&size=256x256&prompt=中国长城 +### chat dallDrawing + +POST {{baseUrl}}/ai/image/dallDrawing +Content-Type: application/json Authorization: {{token}} +{ + "modal": "dall-e-3", + "size": "1024x1024", + "style": "vivid", + "prompt": "中国长城" +} + + +### chat midjourney + +POST {{baseUrl}}/ai/image/midjourney +Content-Type: application/json +Authorization: {{token}} + +{ + "prompt": "Mona Lisa, eating on a seat under a tree, wearing white clothes, smiling at the sky" +} \ No newline at end of file