com.volcengine.model.imagex.v2.GetImageTemplateResResultAnimation 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.model.imagex.v2;
import com.alibaba.fastjson.JSON;
/**
* GetImageTemplateResResultAnimation
*/
@lombok.Data
public final class GetImageTemplateResResultAnimation {
/**
* 动图起始时间戳(ms)
*/
@com.alibaba.fastjson.annotation.JSONField(name = "StartTime")
private Integer startTime;
/**
* 动图时长(ms)
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Duration")
private Integer duration;
/**
* 抽帧策略: fps:frame per second,1秒X帧 spf:second per frame,X秒1帧 key:抽取关键帧
*/
@com.alibaba.fastjson.annotation.JSONField(name = "SelectFrameMode")
private String selectFrameMode;
/**
* 帧率,1秒X帧
*/
@com.alibaba.fastjson.annotation.JSONField(name = "FramePerSecond")
private Integer framePerSecond;
/**
* X秒1帧
*/
@com.alibaba.fastjson.annotation.JSONField(name = "SecondPerFrame")
private Integer secondPerFrame;
/**
* 同步等待时长(s),超时未完成则根据DemotionType降级
*/
@com.alibaba.fastjson.annotation.JSONField(name = "WaitTime")
private Integer waitTime;
/**
* 降级类型: image:抽取一帧降级返回 video:直接返回原视频降级
*/
@com.alibaba.fastjson.annotation.JSONField(name = "DemotionType")
private String demotionType;
@Override
public String toString() {
return JSON.toJSONString(this);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy