Class GENPixelArtGenerationTask<TSelf, TOptions, TPrompt, TResult>
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
TSelfTOptionsTPromptTResult
- Inheritance
-
objectTaskBase<TSelf, TResult>GENTask<TSelf, TOptions, TPrompt, TResult>GENPixelArtGenerationTask<TSelf, TOptions, TPrompt, TResult>
- Implements
- Derived
- Inherited Members
Constructors
GENPixelArtGenerationTask(TPrompt)
protected GENPixelArtGenerationTask(TPrompt prompt)
Parameters
promptTPrompt
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
Methods
SetSeed(uint?)
public TSelf SetSeed(uint? seed)
Parameters
seeduint?
Returns
- TSelf
SetSize(Size)
public TSelf SetSize(PixelLabTypes.Size size)
Parameters
sizePixelLabTypes.Size
Returns
- TSelf
SetSize(ImageSize)
public TSelf SetSize(ImageSize size)
Parameters
sizeImageSize
Returns
- TSelf