Search Results for

    Show / Hide Table of Contents

    Class TitanInPaintingParams

    Inheritance
    object
    TitanInPaintingParams
    TitanOutPaintingParams
    Implements
    ITitanImageParams
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.AmazonAws
    Assembly: Glitch9.AIDevKit.Provider.AmazonAws.dll
    Syntax
    public class TitanInPaintingParams : ITitanImageParams

    Properties

    | Edit this page View Source

    Image

    Required. The JPEG or PNG image to modify, formatted as a base64-encoded string of RGB pixels.

    Declaration
    [JsonProperty("image")]
    public string Image { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    MaskImage

    Optional. A base64-encoded string representing the mask image. Define this OR maskPrompt, not both.

    Declaration
    [JsonProperty("maskImage")]
    public string MaskImage { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    MaskPrompt

    Optional. A text prompt to describe the area to mask. Define this OR maskImage, not both.

    Declaration
    [JsonProperty("maskPrompt")]
    public string MaskPrompt { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    NegativeText

    Declaration
    [JsonProperty("negativeText")]
    public string NegativeText { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    ReturnMask

    Optional. Whether to return the mask along with the result. Default is false.

    Declaration
    [JsonProperty("returnMask")]
    public bool? ReturnMask { get; set; }
    Property Value
    Type Description
    bool?
    | Edit this page View Source

    Text

    Declaration
    [JsonProperty("text")]
    public string Text { get; set; }
    Property Value
    Type Description
    string

    Implements

    ITitanImageParams

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation