Class PixelRemoveBgRequest
Utility request for removing image background using the pixel inpainting pipeline.
Inheritance
PixelRemoveBgRequest
Implements
Inherited Members
Namespace: Glitch9.AIDevKit.PixelArt
Assembly: Glitch9.AIDevKit.PixelArt.dll
Syntax
public sealed class PixelRemoveBgRequest : GenerativeRequest<PixelRemoveBgRequest, FilePrompt, IImageAsset, IPixelArtInpaintingOptions>, IGenerativeRequest
Constructors
| Edit this page View SourcePixelRemoveBgRequest(FilePrompt)
Declaration
public PixelRemoveBgRequest(FilePrompt prompt)
Parameters
| Type | Name | Description |
|---|---|---|
| FilePrompt | prompt |
Properties
| Edit this page View SourceFallbackModel
Declaration
protected override string FallbackModel { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
| Edit this page View SourceModelType
Declaration
public override ModelType ModelType { get; }
Property Value
| Type | Description |
|---|---|
| ModelType |
Overrides
| Edit this page View SourceRequestType
The endpoint type for this
Declaration
public override RequestType RequestType { get; }
Property Value
| Type | Description |
|---|---|
| RequestType |
Overrides
Methods
| Edit this page View SourceExecuteAsyncInternal()
Executes the actual task logic. Must be implemented in derived classes.
Declaration
protected override UniTask<Generated<IImageAsset>> ExecuteAsyncInternal()
Returns
| Type | Description |
|---|---|
| UniTask<Generated<IImageAsset>> |