Table of Contents

Class PixelLabGenerationRequest

public abstract class PixelLabGenerationRequest : PixelLabRequest
Inheritance
object
RESTRequestBody
PixelLabGenerationRequest
Derived
Inherited Members
Extension Methods

Properties

Description

Required. Text description of the image to generate

public string Description { get; set; }

Property Value

string

Detail

Optional.

public PixelLabTypes.ImageDetail? Detail { get; set; }

Property Value

PixelLabTypes.ImageDetail?

Direction

Optional.

public PixelLabTypes.Direction? Direction { get; set; }

Property Value

PixelLabTypes.Direction?

InitialImage

Optional. A base64 encoded image.

public PixelLabImage InitialImage { get; set; }

Property Value

PixelLabImage

InitialImageStrength

Optional. Strength of the initial image influence Min: 1, Max: 999, Default: 300

public int? InitialImageStrength { get; set; }

Property Value

int?

NegativeDescription

Optional. Text description of what to avoid in the generated image

public string NegativeDescription { get; set; }

Property Value

string

NoBackground

Optional. Generate with transparent background

public bool? NoBackground { get; set; }

Property Value

bool?

Outline

Optional.

public PixelLabTypes.Outline? Outline { get; set; }

Property Value

PixelLabTypes.Outline?

Shading

Optional.

public PixelLabTypes.Shading? Shading { get; set; }

Property Value

PixelLabTypes.Shading?

TextGuidanceScale

Optional. How closely to follow the text description Min: 1, Max: 20, Default: 8

public float? TextGuidanceScale { get; set; }

Property Value

float?

View

Optional.

public PixelLabTypes.CameraView? View { get; set; }

Property Value

PixelLabTypes.CameraView?