Class VideoSynthesisParam
java.lang.Object
com.alibaba.dashscope.legacy_2x.base.HalfDuplexParamBase
com.alibaba.dashscope.legacy_2x.base.HalfDuplexServiceParam
com.alibaba.dashscope.legacy_2x.aigc.videosynthesis.VideoSynthesisParam
Deprecated.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDeprecated.static classVideoSynthesisParam.VideoSynthesisParamBuilder<C extends VideoSynthesisParam,B extends VideoSynthesisParam.VideoSynthesisParamBuilder<C, B>> Deprecated.Nested classes/interfaces inherited from class com.alibaba.dashscope.legacy_2x.base.HalfDuplexServiceParam
HalfDuplexServiceParam.HalfDuplexServiceParamBuilder<C extends HalfDuplexServiceParam,B extends HalfDuplexServiceParam.HalfDuplexServiceParamBuilder<C, B>> Nested classes/interfaces inherited from class com.alibaba.dashscope.legacy_2x.base.HalfDuplexParamBase
HalfDuplexParamBase.HalfDuplexParamBaseBuilder<C extends HalfDuplexParamBase,B extends HalfDuplexParamBase.HalfDuplexParamBaseBuilder<C, B>> -
Field Summary
FieldsModifier and TypeFieldDescriptionDeprecated.The extra parameters.Fields inherited from class com.alibaba.dashscope.legacy_2x.base.HalfDuplexParamBase
headers, parameters -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic VideoSynthesisParam.VideoSynthesisParamBuilder<?,?> builder()Deprecated.protected booleanDeprecated.voidDeprecated.booleanDeprecated.getAudio()Deprecated.Deprecated.Deprecated.The input audio url.Deprecated.The binary data of the request.Deprecated.Duration of video generation.Deprecated.The enable_overlays parameter.Deprecated.Deprecated.Deprecated.The extra parameters.Deprecated.The URL of the first frame image for generating the video.Deprecated.com.google.gson.JsonObjectDeprecated.The http body of the request.Deprecated.The input image url, Generate the URL of the image referenced by the videocom.google.gson.JsonObjectgetInput()Deprecated.The inputs of the model.Deprecated.Deprecated.The URL of the last frame image for generating the video.getMedia()Deprecated.list of media file urls uploaded by the userDeprecated.Deprecated.The negative prompt is the opposite of the prompt meaning.Deprecated.The parameters of the model.Deprecated.Deprecated.getRatio()Deprecated.Deprecated.list of character reference file url uploaded by the userDeprecated.list of character reference file urls uploaded by the userDeprecated.For the description information of the picture and sound of the reference video, corresponding to ref video, it needs to be in the order of the url.Deprecated.list of character reference video file urls uploaded by the userDeprecated.The resolution of the generated videogetSeed()Deprecated.Deprecated.getSize()Deprecated.getSteps()Deprecated.Deprecated.Deprecated.LoRa input, such as gufeng, katong, etc.Deprecated.Deprecated.inthashCode()Deprecated.voidDeprecated.voidsetAudioSetting(String audioSetting) Deprecated.voidsetAudioUrl(String audioUrl) Deprecated.The input audio url.voidsetDuration(Integer duration) Deprecated.Duration of video generation.voidsetEnableOverlays(Boolean enableOverlays) Deprecated.The enable_overlays parameter.voidsetEnableThinking(Boolean enableThinking) Deprecated.voidsetExtendPrompt(Boolean extendPrompt) Deprecated.voidsetExtraInputs(Map<String, Object> extraInputs) Deprecated.The extra parameters.voidsetFirstFrameUrl(String firstFrameUrl) Deprecated.The URL of the first frame image for generating the video.voidsetHeadFrame(String headFrame) Deprecated.voidDeprecated.The input image url, Generate the URL of the image referenced by the videovoidsetInputChecks(Map<String, String> inputChecks) Deprecated.voidsetLastFrameUrl(String lastFrameUrl) Deprecated.The URL of the last frame image for generating the video.voidsetMedia(List<VideoSynthesisParam.Media> media) Deprecated.list of media file urls uploaded by the uservoidsetNegative_prompt(String negative_prompt) Deprecated.voidsetNegativePrompt(String negativePrompt) Deprecated.The negative prompt is the opposite of the prompt meaning.voidDeprecated.voidsetPromptExtend(Boolean promptExtend) Deprecated.voidDeprecated.voidsetReferenceUrl(String referenceUrl) Deprecated.list of character reference file url uploaded by the uservoidsetReferenceUrls(List<String> referenceUrls) Deprecated.list of character reference file urls uploaded by the uservoidsetReferenceVideoDescription(List<String> referenceVideoDescription) Deprecated.For the description information of the picture and sound of the reference video, corresponding to ref video, it needs to be in the order of the url.voidsetReferenceVideoUrls(List<String> referenceVideoUrls) Deprecated.list of character reference video file urls uploaded by the uservoidsetResolution(String resolution) Deprecated.The resolution of the generated videovoidDeprecated.voidsetShotType(String shotType) Deprecated.voidDeprecated.voidDeprecated.voidsetTailFrame(String tailFrame) Deprecated.voidsetTemplate(String template) Deprecated.LoRa input, such as gufeng, katong, etc.voidsetWatermark(Boolean watermark) Deprecated.voidsetWithAudio(Boolean withAudio) Deprecated.toString()Deprecated.voidvalidate()Deprecated.Validate all parameters.Methods inherited from class com.alibaba.dashscope.legacy_2x.base.HalfDuplexServiceParam
getHeaders, getModel, getResources, putHeaderMethods inherited from class com.alibaba.dashscope.legacy_2x.base.HalfDuplexParamBase
getApiKey, getEnableEncrypt, getWorkspace, isSecurityCheck, setApiKey, setEnableEncrypt, setHeaders, setParameters, setSecurityCheck, setWorkspace, shouldSerializeExplicitNulls
-
Field Details
-
extraInputs
Deprecated.The extra parameters.
-
-
Constructor Details
-
VideoSynthesisParam
Deprecated.
-
-
Method Details
-
getInput
public com.google.gson.JsonObject getInput()Deprecated.The inputs of the model.- Specified by:
getInputin classHalfDuplexParamBase- Returns:
- The input data object.
-
getParameters
Deprecated.The parameters of the model.- Overrides:
getParametersin classHalfDuplexServiceParam- Returns:
- The parameters
-
getHttpBody
public com.google.gson.JsonObject getHttpBody()Deprecated.The http body of the request.- Specified by:
getHttpBodyin classHalfDuplexParamBase- Returns:
- The http request body
-
getBinaryData
Deprecated.The binary data of the request.- Specified by:
getBinaryDatain classHalfDuplexParamBase- Returns:
- The binary data
-
validate
Deprecated.Validate all parameters.- Specified by:
validatein classHalfDuplexParamBase- Throws:
InputRequiredException- Missing input fields.
-
checkAndUpload
Deprecated.- Throws:
NoApiKeyExceptionUploadFileException
-
builder
Deprecated. -
equals
Deprecated.- Overrides:
equalsin classHalfDuplexServiceParam
-
canEqual
Deprecated.- Overrides:
canEqualin classHalfDuplexServiceParam
-
hashCode
public int hashCode()Deprecated.- Overrides:
hashCodein classHalfDuplexServiceParam
-
getInputChecks
Deprecated. -
getSize
Deprecated. -
getSteps
Deprecated. -
getSeed
Deprecated. -
getPrompt
Deprecated. -
getNegative_prompt
Deprecated.The negative prompt is the opposite of the prompt meaning. use negativePrompt -
getNegativePrompt
Deprecated.The negative prompt is the opposite of the prompt meaning. -
getTemplate
Deprecated.LoRa input, such as gufeng, katong, etc. -
getExtendPrompt
Deprecated.use promptExtend in parameters -
getImgUrl
Deprecated.The input image url, Generate the URL of the image referenced by the video -
getAudioUrl
Deprecated.The input audio url. -
getReferenceVideoUrls
Deprecated.list of character reference video file urls uploaded by the user -
getReferenceUrls
Deprecated.list of character reference file urls uploaded by the user -
getReferenceUrl
Deprecated.list of character reference file url uploaded by the user -
getMedia
Deprecated.list of media file urls uploaded by the user -
getReferenceVideoDescription
Deprecated.For the description information of the picture and sound of the reference video, corresponding to ref video, it needs to be in the order of the url. If the quantity is different, an error will be reported -
getExtraInputs
Deprecated.The extra parameters. -
getDuration
Deprecated.Duration of video generation. The default value is 5, in seconds -
getFirstFrameUrl
Deprecated.The URL of the first frame image for generating the video. -
getLastFrameUrl
Deprecated.The URL of the last frame image for generating the video. -
getHeadFrame
Deprecated. -
getTailFrame
Deprecated. -
getWithAudio
Deprecated. -
getResolution
Deprecated.The resolution of the generated video -
getPromptExtend
Deprecated. -
getWatermark
Deprecated. -
getAudio
Deprecated. -
getShotType
Deprecated. -
getEnableOverlays
Deprecated.The enable_overlays parameter. -
getRatio
Deprecated. -
getAudioSetting
Deprecated. -
getEnableThinking
Deprecated. -
setInputChecks
Deprecated. -
setSize
Deprecated. -
setSteps
Deprecated. -
setSeed
Deprecated. -
setPrompt
Deprecated. -
setNegative_prompt
Deprecated.The negative prompt is the opposite of the prompt meaning. use negativePrompt -
setNegativePrompt
Deprecated.The negative prompt is the opposite of the prompt meaning. -
setTemplate
Deprecated.LoRa input, such as gufeng, katong, etc. -
setExtendPrompt
Deprecated.use promptExtend in parameters -
setImgUrl
Deprecated.The input image url, Generate the URL of the image referenced by the video -
setAudioUrl
Deprecated.The input audio url. -
setReferenceVideoUrls
Deprecated.list of character reference video file urls uploaded by the user -
setReferenceUrls
Deprecated.list of character reference file urls uploaded by the user -
setReferenceUrl
Deprecated.list of character reference file url uploaded by the user -
setMedia
Deprecated.list of media file urls uploaded by the user -
setReferenceVideoDescription
Deprecated.For the description information of the picture and sound of the reference video, corresponding to ref video, it needs to be in the order of the url. If the quantity is different, an error will be reported -
setExtraInputs
Deprecated.The extra parameters. -
setDuration
Deprecated.Duration of video generation. The default value is 5, in seconds -
setFirstFrameUrl
Deprecated.The URL of the first frame image for generating the video. -
setLastFrameUrl
Deprecated.The URL of the last frame image for generating the video. -
setHeadFrame
Deprecated. -
setTailFrame
Deprecated. -
setWithAudio
Deprecated. -
setResolution
Deprecated.The resolution of the generated video -
setPromptExtend
Deprecated. -
setWatermark
Deprecated. -
setAudio
Deprecated. -
setShotType
Deprecated. -
setEnableOverlays
Deprecated.The enable_overlays parameter. -
setRatio
Deprecated. -
setAudioSetting
Deprecated. -
setEnableThinking
Deprecated. -
toString
Deprecated.- Overrides:
toStringin classHalfDuplexParamBase
-