Table of Contents

Class ImageParameters

Namespace
Glitch9.AIDevKit
[Serializable]
public class ImageParameters : IGenerativeParameters, IToolParameters
Inheritance
object
ImageParameters
Implements

Fields

AspectRatio

[ApiSpecificAttribute]
public GoogleTypes.AspectRatio AspectRatio

Field Value

GoogleTypes.AspectRatio

Background

[ApiSpecificAttribute]
public ImageBackground Background

Field Value

ImageBackground

InputFidelity

[ApiSpecificAttribute]
public OpenAITypes.Fidelity InputFidelity

Field Value

OpenAITypes.Fidelity

PersonGeneration

[ApiSpecificAttribute]
public GoogleTypes.PersonGeneration PersonGeneration

Field Value

GoogleTypes.PersonGeneration

Quality

[ApiSpecificAttribute]
[ImageQualitySwitchAttribute]
public string Quality

Field Value

string

Size

[ApiSpecificAttribute]
[ImageSizeSwitchAttribute]
public string Size

Field Value

string

Style

[ApiSpecificAttribute]
public OpenAITypes.ImageStyle Style

Field Value

OpenAITypes.ImageStyle

Properties

Api

public Api Api { get; }

Property Value

Api

Model

public string Model { get; }

Property Value

string

Sender

public string Sender { get; set; }

Property Value

string

Stream

public bool Stream { get; }

Property Value

bool

Type

public ToolType Type { get; }

Property Value

ToolType

Methods

AddTools(Model, ICollection<Tool>)

public Log AddTools(Model model, ICollection<Tool> tools)

Parameters

model Model
tools ICollection<Tool>

Returns

Log