Enum Class AiCommon.DouBaoVideo
- 所有已实现的接口:
Serializable
,Comparable<AiCommon.DouBaoVideo>
,Constable
- 封闭类:
- AiCommon
DouBao 视频生成参数
-
嵌套类概要
从类继承的嵌套类/接口 java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
枚举常量概要
枚举常量枚举常量说明生成视频时长 10秒 文生视频生成视频时长 5秒 文生视频,图生视频宽高比例 1:1 [720, 720]宽高比例 16:9 [1280, 720]宽高比例 21:9 [1280, 544]宽高比例 3:4 [960, 1280]宽高比例 4:3 [960, 720]宽高比例 9:16 [1280, 720]生成视频是否包含水印 否生成视频是否包含水印 是 -
方法概要
修饰符和类型方法说明static AiCommon.DouBaoVideo
Returns the enum constant of this class with the specified name.static AiCommon.DouBaoVideo[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.从类继承的方法 java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
枚举常量详细资料
-
RATIO_16_9
宽高比例 16:9 [1280, 720] -
RATIO_4_3
宽高比例 4:3 [960, 720] -
RATIO_1_1
宽高比例 1:1 [720, 720] -
RATIO_3_4
宽高比例 3:4 [960, 1280] -
RATIO_9_16
宽高比例 9:16 [1280, 720] -
RATIO_21_9
宽高比例 21:9 [1280, 544] -
DURATION_5
生成视频时长 5秒 文生视频,图生视频 -
DURATION_10
生成视频时长 10秒 文生视频 -
FPS_5
-
RESOLUTION_5
-
WATERMARK_TRUE
生成视频是否包含水印 是 -
WATERMARK_FALSE
生成视频是否包含水印 否
-
-
方法详细资料
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- 返回:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- 参数:
name
- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- 如果参数为空值
-