mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-30 03:01:53 +08:00
【优化】open ai image 测试
This commit is contained in:
parent
067fc58147
commit
9ff36e5167
@ -36,7 +36,7 @@ public class OpenAiImageClientTests {
|
||||
|
||||
@Test
|
||||
public void callTest() {
|
||||
ImageResponse call = openAiImageClient.call(new ImagePrompt("我和我的小狗,一起在北极和企鹅玩排球。"));
|
||||
ImageResponse call = openAiImageClient.call(new ImagePrompt("中国长城!"));
|
||||
System.err.println("url: " + call.getResult().getOutput().getUrl());
|
||||
System.err.println("base64: " + call.getResult().getOutput().getB64Json());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user