public final class ImageSynthesis extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
ImageSynthesis.Models |
| 构造器和说明 |
|---|
ImageSynthesis() |
| 限定符和类型 | 方法和说明 |
|---|---|
ImageSynthesisResult |
asyncCall(ImageSynthesisParam param) |
ImageSynthesisResult |
call(ImageSynthesisParam param)
Call the server to get the result.
|
ImageSynthesisResult |
cancel(ImageSynthesisResult taskInfo,
String apiKey) |
ImageSynthesisResult |
cancel(String taskId,
String apiKey) |
ImageSynthesisResult |
fetch(ImageSynthesisResult taskInfo,
String apiKey) |
ImageSynthesisResult |
fetch(String taskId,
String apiKey) |
ImageSynthesisListResult |
list(AsyncTaskListParam param) |
ImageSynthesisListResult |
list(String startTime,
String endTime,
String modelName,
String apiKeyId,
String region,
String status,
Integer pageNo,
Integer pageSize) |
ImageSynthesisResult |
wait(ImageSynthesisResult taskInfo,
String apiKey) |
ImageSynthesisResult |
wait(String taskId,
String apiKey) |
public ImageSynthesisResult asyncCall(ImageSynthesisParam param) throws ApiException, NoApiKeyException
public ImageSynthesisResult call(ImageSynthesisParam param) throws ApiException, NoApiKeyException
param - The input param of class `ImageSynthesisParam`.NoApiKeyException - Can not find api key.ApiException - The request failed, possibly due to a network or data error.public ImageSynthesisListResult list(AsyncTaskListParam param) throws ApiException, NoApiKeyException
public ImageSynthesisListResult list(String startTime, String endTime, String modelName, String apiKeyId, String region, String status, Integer pageNo, Integer pageSize) throws ApiException, NoApiKeyException
public ImageSynthesisResult fetch(String taskId, String apiKey) throws ApiException, NoApiKeyException
public ImageSynthesisResult fetch(ImageSynthesisResult taskInfo, String apiKey) throws ApiException, NoApiKeyException
public ImageSynthesisResult cancel(String taskId, String apiKey) throws ApiException, NoApiKeyException
public ImageSynthesisResult cancel(ImageSynthesisResult taskInfo, String apiKey) throws ApiException, NoApiKeyException
public ImageSynthesisResult wait(String taskId, String apiKey) throws ApiException, NoApiKeyException
public ImageSynthesisResult wait(ImageSynthesisResult taskInfo, String apiKey) throws ApiException, NoApiKeyException
Copyright © 2023. All rights reserved.