Class TitanImageRequest
Implements
Inherited Members
Namespace: Glitch9.AIDevKit.AmazonAws
Assembly: Glitch9.AIDevKit.Provider.AmazonAws.dll
Syntax
[JsonConverter(typeof(TitanImageRequestJsonConverter))]
public class TitanImageRequest : IValidatable
Properties
| Edit this page View SourceImageGenerationConfig
Optional. Shared image generation configuration.
Declaration
public TitanImageGenerationConfig ImageGenerationConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| TitanImageGenerationConfig |
Params
Optional. Parameters specific to the selected task type.
Declaration
public ITitanImageParams Params { get; set; }
Property Value
| Type | Description |
|---|---|
| ITitanImageParams |
TaskType
Required. Task type for the image generation. Enum: TEXT_IMAGE, INPAINTING, OUTPAINTING, IMAGE_VARIATION, etc.
Declaration
public TitanTaskType TaskType { get; set; }
Property Value
| Type | Description |
|---|---|
| TitanTaskType |
Methods
| Edit this page View SourceIsValid()
Declaration
public bool IsValid()
Returns
| Type | Description |
|---|---|
| bool |
Validate()
Validates the object's parameters and throws if invalid.
Declaration
public void Validate()