Commit 3cc3695ec0602f37564e6ea7362175d25c6d477a
1 parent
01552d30
【测试】测试 midjourney 提交绘画
Showing
1 changed file
with
21 additions
and
2 deletions
yudao-module-ai/yudao-module-ai-biz/src/main/resources/http/image.http
| 1 | 1 | |
| 2 | -### chat call | |
| 3 | -GET {{baseUrl}}/ai/image/dallDrawing?modal=dall-e-2&size=256x256&prompt=中国长城 | |
| 2 | +### chat dallDrawing | |
| 3 | + | |
| 4 | +POST {{baseUrl}}/ai/image/dallDrawing | |
| 5 | +Content-Type: application/json | |
| 6 | +Authorization: {{token}} | |
| 7 | + | |
| 8 | +{ | |
| 9 | + "modal": "dall-e-3", | |
| 10 | + "size": "1024x1024", | |
| 11 | + "style": "vivid", | |
| 12 | + "prompt": "中国长城" | |
| 13 | +} | |
| 14 | + | |
| 15 | + | |
| 16 | +### chat midjourney | |
| 17 | + | |
| 18 | +POST {{baseUrl}}/ai/image/midjourney | |
| 19 | +Content-Type: application/json | |
| 4 | 20 | Authorization: {{token}} |
| 5 | 21 | |
| 22 | +{ | |
| 23 | + "prompt": "Mona Lisa, eating on a seat under a tree, wearing white clothes, smiling at the sky" | |
| 24 | +} | |
| 6 | 25 | \ No newline at end of file | ... | ... |