Class DashScopeVideoModel
java.lang.Object
com.alibaba.cloud.ai.dashscope.video.DashScopeVideoModel
- All Implemented Interfaces:
VideoModel,org.springframework.ai.model.Model<VideoPrompt,VideoResponse>
DashScope Video Generation Model.
- Since:
- 1.0.0.3
- Author:
- dashscope, yuluo
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionDashScopeVideoModel(DashScopeVideoApi dashScopeVideoApi, DashScopeVideoOptions defaultOptions, org.springframework.retry.support.RetryTemplate retryTemplate) -
Method Summary
Modifier and TypeMethodDescriptionstatic DashScopeVideoModel.Builderbuilder()call(VideoPrompt prompt) Generate video from text prompt.submitGenTask(VideoPrompt prompt) Generate video from text prompt with options.
-
Constructor Details
-
DashScopeVideoModel
public DashScopeVideoModel(DashScopeVideoApi dashScopeVideoApi, DashScopeVideoOptions defaultOptions, org.springframework.retry.support.RetryTemplate retryTemplate)
-
-
Method Details
-
builder
-
call
Generate video from text prompt.- Specified by:
callin interfaceorg.springframework.ai.model.Model<VideoPrompt,VideoResponse> - Specified by:
callin interfaceVideoModel
-
submitGenTask
Generate video from text prompt with options.
-