public interface ImageService
| Modifier and Type | Method and Description |
|---|---|
ImageResponse |
createImage(CreateImageRequest createImageRequest)
Creates an image based on the provided generation request.
|
AsyncImageResponse |
createImageAsync(CreateImageRequest createImageRequest)
Asynchronously creates an image based on the provided generation request.
|
AsyncImageResponse |
queryAsyncResult(String taskId)
Queries the status and result of an async image generation task.
|
ImageResponse createImage(CreateImageRequest createImageRequest)
createImageRequest - the image generation requestAsyncImageResponse createImageAsync(CreateImageRequest createImageRequest)
createImageRequest - the image generation requestAsyncImageResponse queryAsyncResult(String taskId)
taskId - the async task ID returned by createImageAsyncCopyright © 2026. All rights reserved.