Table of Contents

Class GENPixelArtGenerationTask<TSelf, TOptions, TPrompt, TResult>

Namespace
Glitch9.AIDevKit
public abstract class GENPixelArtGenerationTask<TSelf, TOptions, TPrompt, TResult> : GENTask<TSelf, TOptions, TPrompt, TResult>, IGENTask where TSelf : GENPixelArtGenerationTask<TSelf, TOptions, TPrompt, TResult> where TOptions : IGENOptions where TResult : PixelArt

Type Parameters

TSelf
TOptions
TPrompt
TResult
Inheritance
object
TaskBase<TSelf, TResult>
GENTask<TSelf, TOptions, TPrompt, TResult>
GENPixelArtGenerationTask<TSelf, TOptions, TPrompt, TResult>
Implements
Derived
Inherited Members

Constructors

GENPixelArtGenerationTask(TPrompt)

protected GENPixelArtGenerationTask(TPrompt prompt)

Parameters

prompt TPrompt

Fields

options

public TOptions options

Field Value

TOptions

seed

public uint? seed

Field Value

uint?

size

public ImageSize size

Field Value

ImageSize

Properties

Api

public override Api Api { get; }

Property Value

Api

Methods

SetSeed(uint?)

public TSelf SetSeed(uint? seed)

Parameters

seed uint?

Returns

TSelf

SetSize(Size)

public TSelf SetSize(PixelLabTypes.Size size)

Parameters

size PixelLabTypes.Size

Returns

TSelf

SetSize(ImageSize)

public TSelf SetSize(ImageSize size)

Parameters

size ImageSize

Returns

TSelf