Class GENInpaintTask
Task for editing an existing image based on a text prompt and optional mask (OpenAI or Google Gemini).
Inheritance
object
GENInpaintTask
Assembly: .dll
Syntax
public class GENInpaintTask : GENTask<GENInpaintTask, InpaintPrompt, GeneratedImage>, IGENTask
Constructors
GENInpaintTask(InpaintPrompt, Object)
Declaration
public GENInpaintTask(InpaintPrompt prompt, UnityEngine.Object target = null)
Parameters
Properties
outputMimeType
Declaration
public override MIMEType outputMimeType { get; set; }
Property Value
Type |
Description |
MIMEType |
|
Overrides
Methods
ExecuteAsync()
Executes the task and returns the generated result.
Declaration
public override UniTask<GeneratedImage> ExecuteAsync()
Returns
Overrides
Implements
Extension Methods