Class VideoSynthesisParam


@Deprecated public class VideoSynthesisParam extends HalfDuplexServiceParam
Deprecated.
  • Field Details

    • extraInputs

      protected Map<String,Object> extraInputs
      Deprecated.
      The extra parameters.
  • Constructor Details

  • Method Details

    • getInput

      public com.google.gson.JsonObject getInput()
      Deprecated.
      The inputs of the model.
      Specified by:
      getInput in class HalfDuplexParamBase
      Returns:
      The input data object.
    • getParameters

      public Map<String,Object> getParameters()
      Deprecated.
      The parameters of the model.
      Overrides:
      getParameters in class HalfDuplexServiceParam
      Returns:
      The parameters
    • getHttpBody

      public com.google.gson.JsonObject getHttpBody()
      Deprecated.
      The http body of the request.
      Specified by:
      getHttpBody in class HalfDuplexParamBase
      Returns:
      The http request body
    • getBinaryData

      public ByteBuffer getBinaryData()
      Deprecated.
      The binary data of the request.
      Specified by:
      getBinaryData in class HalfDuplexParamBase
      Returns:
      The binary data
    • validate

      public void validate() throws InputRequiredException
      Deprecated.
      Validate all parameters.
      Specified by:
      validate in class HalfDuplexParamBase
      Throws:
      InputRequiredException - Missing input fields.
    • checkAndUpload

      public void checkAndUpload() throws NoApiKeyException, UploadFileException
      Deprecated.
      Throws:
      NoApiKeyException
      UploadFileException
    • builder

      public static VideoSynthesisParam.VideoSynthesisParamBuilder<?,?> builder()
      Deprecated.
    • equals

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class HalfDuplexServiceParam
    • canEqual

      protected boolean canEqual(Object other)
      Deprecated.
      Overrides:
      canEqual in class HalfDuplexServiceParam
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class HalfDuplexServiceParam
    • getInputChecks

      public Map<String,String> getInputChecks()
      Deprecated.
    • getSize

      public String getSize()
      Deprecated.
    • getSteps

      public Integer getSteps()
      Deprecated.
    • getSeed

      public Integer getSeed()
      Deprecated.
    • getPrompt

      public String getPrompt()
      Deprecated.
    • getNegative_prompt

      @Deprecated public String getNegative_prompt()
      Deprecated.
      The negative prompt is the opposite of the prompt meaning. use negativePrompt
    • getNegativePrompt

      public String getNegativePrompt()
      Deprecated.
      The negative prompt is the opposite of the prompt meaning.
    • getTemplate

      public String getTemplate()
      Deprecated.
      LoRa input, such as gufeng, katong, etc.
    • getExtendPrompt

      @Deprecated public Boolean getExtendPrompt()
      Deprecated.
      use promptExtend in parameters
    • getImgUrl

      public String getImgUrl()
      Deprecated.
      The input image url, Generate the URL of the image referenced by the video
    • getAudioUrl

      public String getAudioUrl()
      Deprecated.
      The input audio url.
    • getReferenceVideoUrls

      public List<String> getReferenceVideoUrls()
      Deprecated.
      list of character reference video file urls uploaded by the user
    • getReferenceUrls

      public List<String> getReferenceUrls()
      Deprecated.
      list of character reference file urls uploaded by the user
    • getReferenceUrl

      public String getReferenceUrl()
      Deprecated.
      list of character reference file url uploaded by the user
    • getMedia

      public List<VideoSynthesisParam.Media> getMedia()
      Deprecated.
      list of media file urls uploaded by the user
    • getReferenceVideoDescription

      public List<String> 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

      public Map<String,Object> getExtraInputs()
      Deprecated.
      The extra parameters.
    • getDuration

      public Integer getDuration()
      Deprecated.
      Duration of video generation. The default value is 5, in seconds
    • getFirstFrameUrl

      public String getFirstFrameUrl()
      Deprecated.
      The URL of the first frame image for generating the video.
    • getLastFrameUrl

      public String getLastFrameUrl()
      Deprecated.
      The URL of the last frame image for generating the video.
    • getHeadFrame

      public String getHeadFrame()
      Deprecated.
    • getTailFrame

      public String getTailFrame()
      Deprecated.
    • getWithAudio

      public Boolean getWithAudio()
      Deprecated.
    • getResolution

      public String getResolution()
      Deprecated.
      The resolution of the generated video
    • getPromptExtend

      public Boolean getPromptExtend()
      Deprecated.
    • getWatermark

      public Boolean getWatermark()
      Deprecated.
    • getAudio

      public Boolean getAudio()
      Deprecated.
    • getShotType

      public String getShotType()
      Deprecated.
    • getEnableOverlays

      public Boolean getEnableOverlays()
      Deprecated.
      The enable_overlays parameter.
    • getRatio

      public String getRatio()
      Deprecated.
    • getAudioSetting

      public String getAudioSetting()
      Deprecated.
    • getEnableThinking

      public Boolean getEnableThinking()
      Deprecated.
    • setInputChecks

      public void setInputChecks(Map<String,String> inputChecks)
      Deprecated.
    • setSize

      public void setSize(String size)
      Deprecated.
    • setSteps

      public void setSteps(Integer steps)
      Deprecated.
    • setSeed

      public void setSeed(Integer seed)
      Deprecated.
    • setPrompt

      public void setPrompt(String prompt)
      Deprecated.
    • setNegative_prompt

      @Deprecated public void setNegative_prompt(String negative_prompt)
      Deprecated.
      The negative prompt is the opposite of the prompt meaning. use negativePrompt
    • setNegativePrompt

      public void setNegativePrompt(String negativePrompt)
      Deprecated.
      The negative prompt is the opposite of the prompt meaning.
    • setTemplate

      public void setTemplate(String template)
      Deprecated.
      LoRa input, such as gufeng, katong, etc.
    • setExtendPrompt

      @Deprecated public void setExtendPrompt(Boolean extendPrompt)
      Deprecated.
      use promptExtend in parameters
    • setImgUrl

      public void setImgUrl(String imgUrl)
      Deprecated.
      The input image url, Generate the URL of the image referenced by the video
    • setAudioUrl

      public void setAudioUrl(String audioUrl)
      Deprecated.
      The input audio url.
    • setReferenceVideoUrls

      public void setReferenceVideoUrls(List<String> referenceVideoUrls)
      Deprecated.
      list of character reference video file urls uploaded by the user
    • setReferenceUrls

      public void setReferenceUrls(List<String> referenceUrls)
      Deprecated.
      list of character reference file urls uploaded by the user
    • setReferenceUrl

      public void setReferenceUrl(String referenceUrl)
      Deprecated.
      list of character reference file url uploaded by the user
    • setMedia

      public void setMedia(List<VideoSynthesisParam.Media> media)
      Deprecated.
      list of media file urls uploaded by the user
    • setReferenceVideoDescription

      public void setReferenceVideoDescription(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. If the quantity is different, an error will be reported
    • setExtraInputs

      public void setExtraInputs(Map<String,Object> extraInputs)
      Deprecated.
      The extra parameters.
    • setDuration

      public void setDuration(Integer duration)
      Deprecated.
      Duration of video generation. The default value is 5, in seconds
    • setFirstFrameUrl

      public void setFirstFrameUrl(String firstFrameUrl)
      Deprecated.
      The URL of the first frame image for generating the video.
    • setLastFrameUrl

      public void setLastFrameUrl(String lastFrameUrl)
      Deprecated.
      The URL of the last frame image for generating the video.
    • setHeadFrame

      public void setHeadFrame(String headFrame)
      Deprecated.
    • setTailFrame

      public void setTailFrame(String tailFrame)
      Deprecated.
    • setWithAudio

      public void setWithAudio(Boolean withAudio)
      Deprecated.
    • setResolution

      public void setResolution(String resolution)
      Deprecated.
      The resolution of the generated video
    • setPromptExtend

      public void setPromptExtend(Boolean promptExtend)
      Deprecated.
    • setWatermark

      public void setWatermark(Boolean watermark)
      Deprecated.
    • setAudio

      public void setAudio(Boolean audio)
      Deprecated.
    • setShotType

      public void setShotType(String shotType)
      Deprecated.
    • setEnableOverlays

      public void setEnableOverlays(Boolean enableOverlays)
      Deprecated.
      The enable_overlays parameter.
    • setRatio

      public void setRatio(String ratio)
      Deprecated.
    • setAudioSetting

      public void setAudioSetting(String audioSetting)
      Deprecated.
    • setEnableThinking

      public void setEnableThinking(Boolean enableThinking)
      Deprecated.
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class HalfDuplexParamBase