public abstract class
ImageGeneratorResult
Represents the image generation results generated by ImageGenerator.
Public Constructors
Public Methods
| abstract Optional<MPImage> | |
| static ImageGeneratorResult |
create(MPImage generatedImage, MPImage conditionImage, long timestampMs)
Create an
ImageGeneratorResult instance from the generated image. |
| static ImageGeneratorResult |
create(MPImage generatedImage, long timestampMs)
Create an
ImageGeneratorResult instance from the generated image. |
| abstract MPImage | |
| abstract long |
timestampMs()
Returns the timestamp that is associated with the task result object.
|
Inherited Methods
Public Constructors
public ImageGeneratorResult ()
Public Methods
public static ImageGeneratorResult create (MPImage generatedImage, MPImage conditionImage, long timestampMs)
Create an ImageGeneratorResult instance from the generated image.
Parameters
| generatedImage | |
|---|---|
| conditionImage | |
| timestampMs |
public static ImageGeneratorResult create (MPImage generatedImage, long timestampMs)
Create an ImageGeneratorResult instance from the generated image.
Parameters
| generatedImage | |
|---|---|
| timestampMs |
public abstract long timestampMs ()
Returns the timestamp that is associated with the task result object.