com.volcengine.service.visual.model.request.VisualFaceSwapRequest 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;
@Data
public class VisualFaceSwapRequest {
@JSONField(name = "image_base64")
String imageBase64;
@JSONField(name = "image_url")
String imageUrl;
@JSONField(name = "template_base64")
String templateBase64;
@JSONField(name = "template_url")
String templateUrl;
@JSONField(name = "action_id")
String actionId;
@JSONField(name = "version")
String version;
@JSONField(name = "do_risk")
Boolean doRisk;
@JSONField(name = "type")
String type;
@JSONField(name = "merge_infos")
String mergeInfos;;
@Data
public static class MergeInfos {
@JSONField(name = "image_base64")
String imageBase64;
@JSONField(name = "image_url")
String imageUrl;
@JSONField(name = "location")
Integer location;
@JSONField(name = "template_location")
Integer templateLocation;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy