Class GenerativeAIBackend
Inheritance
GenerativeAIBackend
Assembly: solution.dll
Syntax
public class GenerativeAIBackend
Fields
Properties
Methods
Name |
Description |
ControlNetGenerate(string, string, string, ImageVariationSettingsRequest, Action<TextToImageResponse, string>)
|
|
DownloadArtifact<TArtifactType>(Artifact<TArtifactType>, Action<object, string>)
|
Download texture image from the Cloud
|
GenerateInpainting(string, string, Texture2D, MaskType, TextToImageRequest, Action<TextToImageResponse, string>)
|
|
GetArtifactStatus<TArtifactType>(Artifact<TArtifactType>, ArtifactProgressCallback, bool)
|
Starts polling for the status of artifact generation. Will return the status through the supplied callback.
This is not cancellable as many chained web requests can be generated by polling until copleted.
TODO: Don't do that.
|
RequestStyleTrain(string, string, string[], Action<StyleTrainResponse, string>)
|
Train a style using a set of textures
|
RequestStyleTrainStatus(string, Action<StyleTrainStatusResponse, string>)
|
|
SendJSONRequest(string, object, Action<object, string>)
|
|
SendRequest(UnityWebRequest, Action<object, string>)
|
|
VariateImage(string, string, string, ImageVariationSettingsRequest, Action<TextToImageResponse, string>)
|
Initiate Image variation generation on Cloud. It only allocates texture ids and actual generation occurs in background.
Use RequestStatus to query progress and DownloadImage to download intermediate or final result.
|