public class ImageRequest
extends java.lang.Object
限定符 | 构造器和说明 |
---|---|
protected |
ImageRequest(ImageConfig config,
ImageDialect dialect,
java.lang.String prompt) |
限定符和类型 | 方法和说明 |
---|---|
ImageResponse |
call()
调用
|
ImageRequest |
options(java.util.function.Consumer<ImageOptions> optionsBuilder)
选项
|
ImageRequest |
options(ImageOptions options)
选项
|
protected ImageRequest(ImageConfig config, ImageDialect dialect, java.lang.String prompt)
public ImageRequest options(ImageOptions options)
public ImageRequest options(java.util.function.Consumer<ImageOptions> optionsBuilder)
public ImageResponse call() throws java.io.IOException
java.io.IOException