All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.volcengine.service.visual.model.request.VisualFaceSwapRequest Maven / Gradle / Ivy

There is a newer version: 1.0.192
Show newest version
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