com.volcengine.service.visual.model.request.VisualFaceSwapV2Request Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of volc-sdk-java Show documentation
Show all versions of volc-sdk-java Show documentation
The VOLC Engine SDK for Java
package com.volcengine.service.visual.model.request;
import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import java.util.ArrayList;
@Data
public class VisualFaceSwapV2Request {
@JSONField(name = "req_key")
String reqKey;
@JSONField(name = "binary_data_base64")
ArrayList binaryDataBase64;
@JSONField(name = "image_urls")
ArrayList imageUrls;
@JSONField(name = "face_type")
String faceType="area";
@JSONField(name = "merge_infos")
ArrayList mergeInfos;
@JSONField(name = "logo_info")
LogoInfo logoInfo;
@JSONField(name = "do_risk")
Boolean doRisk=false;
@JSONField(name = "source_similarity")
String sourceSimilarity="1";
@JSONField(name = "gpen")
Double gpen;
@Data
public static class MergeInfos {
@JSONField(name = "location")
int location;
@JSONField(name = "template_location")
int template_location;
}
@Data
public static class LogoInfo{
@JSONField(name = "add_logo")
boolean addlogo;
@JSONField(name = "position")
int position;
@JSONField(name = "language")
int language;
@JSONField(name = "opacity")
double opacity;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy