Class TitanInPaintingParams
Inheritance
TitanInPaintingParams
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
|
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
|
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
|
Edit this page
View Source
NegativeText
Declaration
[JsonProperty("negativeText")]
public string NegativeText { get; set; }
Property Value
|
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
|
Edit this page
View Source
Text
Declaration
[JsonProperty("text")]
public string Text { get; set; }
Property Value
Implements
Extension Methods