Class StabilityRemoveBgRequest
Request body for POST /v2beta/stable-image/edit/remove-background. Segments the foreground and removes the background from an image. No prompt required.
Implements
Inherited Members
Namespace: Glitch9.AIDevKit.Stability
Assembly: Glitch9.AIDevKit.Provider.Stability.dll
Syntax
public class StabilityRemoveBgRequest : StabilityRequest, IMultipartFormRequest
Properties
| Edit this page View SourceImage
Required. Raw bytes of the source image. Formats: jpeg, png, webp. Minimum 64 pixels per side.
Declaration
[JsonProperty("image")]
public byte[] Image { get; set; }
Property Value
| Type | Description |
|---|---|
| byte[] |