public class SubmitImageAnimateJobRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
SubmitImageAnimateJobRequest() |
SubmitImageAnimateJobRequest(SubmitImageAnimateJobRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Boolean |
getEnableAudio()
Get Whether the generated video retains the audio in the template.
|
Boolean |
getEnableBodyJoins()
Get Whether to detect 12 body parts in the input image (head, neck, right shoulder, right elbow, right wrist, left shoulder, left elbow, left wrist, right hip, left hip, left knee, and right knee).
|
Boolean |
getEnableSegment()
Get Whether the final video retains the background of the original image.
|
String |
getImageBase64()
Get Image information after Base64 encoding.
|
String |
getImageUrl()
Get Image format: PNG, JPG, and JPEG formats are supported.
|
Long |
getLogoAdd()
Get Whether to add a mark to the generated video.
|
LogoParam |
getLogoParam()
Get Mark text settings.
|
String |
getTemplateId()
Get Action template ID.
|
void |
setEnableAudio(Boolean EnableAudio)
Set Whether the generated video retains the audio in the template.
|
void |
setEnableBodyJoins(Boolean EnableBodyJoins)
Set Whether to detect 12 body parts in the input image (head, neck, right shoulder, right elbow, right wrist, left shoulder, left elbow, left wrist, right hip, left hip, left knee, and right knee).
|
void |
setEnableSegment(Boolean EnableSegment)
Set Whether the final video retains the background of the original image.
|
void |
setImageBase64(String ImageBase64)
Set Image information after Base64 encoding.
|
void |
setImageUrl(String ImageUrl)
Set Image format: PNG, JPG, and JPEG formats are supported.
|
void |
setLogoAdd(Long LogoAdd)
Set Whether to add a mark to the generated video.
|
void |
setLogoParam(LogoParam LogoParam)
Set Mark text settings.
|
void |
setTemplateId(String TemplateId)
Set Action template ID.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public SubmitImageAnimateJobRequest()
public SubmitImageAnimateJobRequest(SubmitImageAnimateJobRequest source)
public String getImageUrl()
public void setImageUrl(String ImageUrl)
ImageUrl
- Image format: PNG, JPG, and JPEG formats are supported.
Image resolution: The long edge resolution should not exceed 2056.
Image size: The size should not exceed 10 MB.
Image aspect ratio: The ratio of width to height should be in the range of 1:2 to 1:1.2.public String getImageBase64()
public void setImageBase64(String ImageBase64)
ImageBase64
- Image information after Base64 encoding. Image format: PNG, JPG, and JPEG formats are supported. Image resolution: The long side resolution should not exceed 2056. Image size: The size should not exceed 10 MB. Image aspect ratio: The ratio of width to height should be in the range of 1:2 to 1:1.2.public String getTemplateId()
public void setTemplateId(String TemplateId)
TemplateId
- Action template ID. ke3: kemusan; tuziwu: rabbit dance; huajiangwu: paddling dance.public Boolean getEnableAudio()
public void setEnableAudio(Boolean EnableAudio)
EnableAudio
- Whether the generated video retains the audio in the template. The default value is true.public Boolean getEnableBodyJoins()
public void setEnableBodyJoins(Boolean EnableBodyJoins)
EnableBodyJoins
- Whether to detect 12 body parts in the input image (head, neck, right shoulder, right elbow, right wrist, left shoulder, left elbow, left wrist, right hip, left hip, left knee, and right knee). They are not detected by default.public Boolean getEnableSegment()
public void setEnableSegment(Boolean EnableSegment)
EnableSegment
- Whether the final video retains the background of the original image. (This parameter does not take effect when TemplateId is set to tuziwu or huajiangwu.)public Long getLogoAdd()
public void setLogoAdd(Long LogoAdd)
LogoAdd
- Whether to add a mark to the generated video. The default value is 0.
1: A mark is added.
0: No mark is added.
Other values: A mark is added by default.
It is recommended to use an obvious mark to indicate that the video is synthesized by AI.public LogoParam getLogoParam()
public void setLogoParam(LogoParam LogoParam)
LogoParam
- Mark text settings.
By default, the text "Synthesized by AI" is added to the bottom right corner of the generated video. You can also use other text images.Copyright © 2024. All rights reserved.