Class PixelLabGenerationRequest
Inheritance
object
RESTRequestBody
PixelLabGenerationRequest
Inherited Members
Namespace: Glitch9.AIDevKit.PixelLab
Assembly: .dll
Syntax
public abstract class PixelLabGenerationRequest : PixelLabRequest
Properties
Description
Required. Text description of the image to generate
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
Detail
Optional.
Declaration
public PixelLabTypes.ImageDetail? Detail { get; set; }
Property Value
Type | Description |
---|---|
PixelLabTypes.ImageDetail? |
Direction
Optional.
Declaration
public PixelLabTypes.Direction? Direction { get; set; }
Property Value
Type | Description |
---|---|
PixelLabTypes.Direction? |
InitialImage
Optional. A base64 encoded image.
Declaration
public PixelLabImage InitialImage { get; set; }
Property Value
Type | Description |
---|---|
PixelLabImage |
InitialImageStrength
Optional. Strength of the initial image influence Min: 1, Max: 999, Default: 300
Declaration
public int? InitialImageStrength { get; set; }
Property Value
Type | Description |
---|---|
int? |
NegativeDescription
Optional. Text description of what to avoid in the generated image
Declaration
public string NegativeDescription { get; set; }
Property Value
Type | Description |
---|---|
string |
NoBackground
Optional. Generate with transparent background
Declaration
public bool? NoBackground { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Outline
Optional.
Declaration
public PixelLabTypes.Outline? Outline { get; set; }
Property Value
Type | Description |
---|---|
PixelLabTypes.Outline? |
Shading
Optional.
Declaration
public PixelLabTypes.Shading? Shading { get; set; }
Property Value
Type | Description |
---|---|
PixelLabTypes.Shading? |
TextGuidanceScale
Optional. How closely to follow the text description Min: 1, Max: 20, Default: 8
Declaration
public float? TextGuidanceScale { get; set; }
Property Value
Type | Description |
---|---|
float? |
View
Optional.
Declaration
public PixelLabTypes.CameraView? View { get; set; }
Property Value
Type | Description |
---|---|
PixelLabTypes.CameraView? |