Class ImageJobsService
java.lang.Object
com.alibaba.dashscope.resources.images.ImageJobsService
Image async-task facade (design §3):
create submits legacy models to the text2image
endpoint and multimodal-protocol models to the image-generation task endpoint; fetch /
wait / cancel / list poll /tasks either way.-
Method Summary
Modifier and TypeMethodDescriptioncancel(String taskId, RequestOptions options) create(ImageGenerateParams params) create(ImageGenerateParams params, RequestOptions options) fetch(String taskId, RequestOptions options) list(Map<String, String> query, RequestOptions options) wait(String taskId, RequestOptions options)
-
Method Details
-
create
-
create
-
fetch
-
wait
-
cancel
-
list
-