Class VideosService
java.lang.Object
com.alibaba.dashscope.resources.videos.VideosService
videos resource (design §3): generate is the blocking sugar — submit the task and
wait for its terminal state; the finished Job's getVideoUrl() reads the same for
both input protocols.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerate(VideoGenerateParams params) Blocks until a terminal state; equivalent to jobs().create + jobs().wait.generate(VideoGenerateParams params, RequestOptions options) Blocks until a terminal state; equivalent to jobs().create + jobs().wait.jobs()The async-job handle: create/fetch/wait/cancel/list.
-
Constructor Details
-
VideosService
-
-
Method Details
-
jobs
The async-job handle: create/fetch/wait/cancel/list. -
generate
Blocks until a terminal state; equivalent to jobs().create + jobs().wait. -
generate
Blocks until a terminal state; equivalent to jobs().create + jobs().wait.
-