Class DashScopeVideoApi
java.lang.Object
com.alibaba.cloud.ai.dashscope.api.DashScopeVideoApi
DashScope Video Generation API client.
- Since:
- 1.0.0.3
- Author:
- windWheel, yuluo
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionDashScopeVideoApi(String baseUrl, org.springframework.ai.model.ApiKey apiKey, String videoPath, String queryTaskPath, org.springframework.web.client.RestClient.Builder restClientBuilder, org.springframework.web.client.ResponseErrorHandler responseErrorHandler) -
Method Summary
Modifier and TypeMethodDescriptionstatic DashScopeVideoApi.Builderbuilder()clone()mutate()org.springframework.http.ResponseEntity<DashScopeVideoResponse>queryVideoGenTask(String taskId) Query video generation task status.org.springframework.http.ResponseEntity<DashScopeVideoResponse>submitVideoGenTask(DashScopeVideoRequest request) Submit video generation task.
-
Constructor Details
-
DashScopeVideoApi
-
-
Method Details
-
clone
-
mutate
-
builder
-
submitVideoGenTask
public org.springframework.http.ResponseEntity<DashScopeVideoResponse> submitVideoGenTask(DashScopeVideoRequest request) Submit video generation task. -
queryVideoGenTask
public org.springframework.http.ResponseEntity<DashScopeVideoResponse> queryVideoGenTask(String taskId) Query video generation task status.
-