public class FuseFaceRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
FuseFaceRequest() |
FuseFaceRequest(FuseFaceRequest 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 |
---|---|
FuseParam |
getFuseParam()
Get Fusion parameter.
|
Long |
getLogoAdd()
Get Switch indicating whether to add a synthesis logo to the fusion result image.
|
LogoParam |
getLogoParam()
Get Logo content settings
By default, the text "Synthesized by AI" is added to the bottom right corner of the fusion result image.
|
MergeInfo[] |
getMergeInfos()
Get Face position information on the user face image and material template image.
|
String |
getModelId()
Get Material ID.
|
String |
getProjectId()
Get Activity ID.
|
String |
getRspImgType()
Get Image return method (url or base64).
|
void |
setFuseParam(FuseParam FuseParam)
Set Fusion parameter.
|
void |
setLogoAdd(Long LogoAdd)
Set Switch indicating whether to add a synthesis logo to the fusion result image.
|
void |
setLogoParam(LogoParam LogoParam)
Set Logo content settings
By default, the text "Synthesized by AI" is added to the bottom right corner of the fusion result image.
|
void |
setMergeInfos(MergeInfo[] MergeInfos)
Set Face position information on the user face image and material template image.
|
void |
setModelId(String ModelId)
Set Material ID.
|
void |
setProjectId(String ProjectId)
Set Activity ID.
|
void |
setRspImgType(String RspImgType)
Set Image return method (url or base64).
|
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 FuseFaceRequest()
public FuseFaceRequest(FuseFaceRequest source)
public String getProjectId()
public void setProjectId(String ProjectId)
ProjectId
- Activity ID. Check the ID in the Face Fusion console.public String getModelId()
public void setModelId(String ModelId)
ModelId
- Material ID. Check the ID in the Face Fusion console.public String getRspImgType()
public void setRspImgType(String RspImgType)
RspImgType
- Image return method (url or base64). You cannot use both methods at the same time. The URL is valid for 7 days.public MergeInfo[] getMergeInfos()
public void setMergeInfos(MergeInfo[] MergeInfos)
MergeInfos
- Face position information on the user face image and material template image. No more than 6 entries.public Long getLogoAdd()
public void setLogoAdd(Long LogoAdd)
LogoAdd
- Switch indicating whether to add a synthesis logo to the fusion result image. Default value: 1.
1: add logo
0: do not add logo
Other values: add logo
It is recommended to use an obvious logo to indicate that the result image uses face fusion technology and is synthesized by AI.public LogoParam getLogoParam()
public void setLogoParam(LogoParam LogoParam)
LogoParam
- Logo content settings
By default, the text "Synthesized by AI" is added to the bottom right corner of the fusion result image. You can also use other texts.public FuseParam getFuseParam()
public void setFuseParam(FuseParam FuseParam)
FuseParam
- Fusion parameter.Copyright © 2024. All rights reserved.