mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-12-02 12:11:54 +08:00
【优化】open ai image 测试
This commit is contained in:
parent
067fc58147
commit
9ff36e5167
@ -36,7 +36,7 @@ public class OpenAiImageClientTests {
|
|||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void callTest() {
|
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("url: " + call.getResult().getOutput().getUrl());
|
||||||
System.err.println("base64: " + call.getResult().getOutput().getB64Json());
|
System.err.println("base64: " + call.getResult().getOutput().getB64Json());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user