Method GenerateInpainting
GenerateInpainting(string, string, Texture2D, MaskType, TextToImageRequest, Action<TextToImageResponse, string>)
Declaration
public static UnityWebRequestAsyncOperation GenerateInpainting(string prompt, string sourceGuid, Texture2D mask, MaskType maskType, TextToImageRequest settings, Action<TextToImageResponse, string> onDone)
Parameters
Type | Name | Description |
---|---|---|
string | prompt | |
string | sourceGuid | |
Texture2D | mask | |
MaskType | maskType | |
TextToImageRequest | settings | |
Action<TextToImageResponse, string> | onDone |
Returns
Type | Description |
---|---|
UnityWebRequestAsyncOperation |