Struct VideoGenerationMaskMode
Enum for the mask mode of a video generation mask.
[JsonConverter(typeof(VideoGenerationMaskModeConverter))]
public readonly record struct VideoGenerationMaskMode : IEquatable<VideoGenerationMaskMode>
- Implements
- Inherited Members
Properties
AllValues
public static IReadOnlyList<VideoGenerationMaskMode> AllValues { get; }
Property Value
Insert
The image mask contains a masked rectangular region which is applied on the first frame of the input video. The object described in the prompt is inserted into this region and will appear in subsequent frames.
public static VideoGenerationMaskMode Insert { get; }
Property Value
Outpaint
The image mask contains a masked rectangular region where the input video will go. The remaining area will be generated. Video masks are not supported.
public static VideoGenerationMaskMode Outpaint { get; }
Property Value
Remove
The image mask is used to determine an object in the first video frame to track. This object is removed from the video.
public static VideoGenerationMaskMode Remove { get; }
Property Value
RemoveStatic
The image mask is used to determine a region in the video. Objects in this region will be removed.
public static VideoGenerationMaskMode RemoveStatic { get; }
Property Value
Value
public string Value { get; }
Property Value
Methods
Equals(VideoGenerationMaskMode)
public bool Equals(VideoGenerationMaskMode other)
Parameters
otherVideoGenerationMaskMode
Returns
FromString(string)
public static VideoGenerationMaskMode FromString(string value)
Parameters
valuestring
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
implicit operator VideoGenerationMaskMode(string)
public static implicit operator VideoGenerationMaskMode(string value)
Parameters
valuestring