()
| 44 | } |
| 45 | |
| 46 | public static void listTask() throws ApiException, NoApiKeyException { |
| 47 | ImageSynthesis is = new ImageSynthesis(); |
| 48 | AsyncTaskListParam param = AsyncTaskListParam.builder().build(); |
| 49 | ImageSynthesisListResult result = is.list(param); |
| 50 | System.out.println(result); |
| 51 | } |
| 52 | |
| 53 | public void fetchTask() throws ApiException, NoApiKeyException { |
| 54 | String taskId = "your task id"; |