Class ImagesService
java.lang.Object
com.alibaba.dashscope.resources.images.ImagesService
images resource (design §3): generate is the blocking sugar — legacy models
submit an async task and wait; multimodal-protocol models (wan2.6-t2i / wan2.6-image) answer
synchronously in one request. Both return the unified Job — getImageUrls() reads
the same for both output shapes.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerate(ImageGenerateParams params) Blocks until a terminal state; equivalent to jobs().create + jobs().wait (multimodal-protocol models answer in one synchronous request).generate(ImageGenerateParams params, RequestOptions options) Blocks until a terminal state; equivalent to jobs().create + jobs().wait (multimodal-protocol models answer in one synchronous request).jobs()The async-job handle: create/fetch/wait/cancel/list.
-
Constructor Details
-
ImagesService
-
-
Method Details
-
jobs
The async-job handle: create/fetch/wait/cancel/list. -
generate
Blocks until a terminal state; equivalent to jobs().create + jobs().wait (multimodal-protocol models answer in one synchronous request). -
generate
Blocks until a terminal state; equivalent to jobs().create + jobs().wait (multimodal-protocol models answer in one synchronous request).
-