IImageGenerator Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a generator of images.
public interface class IImageGenerator : IDisposable
[System.Diagnostics.CodeAnalysis.Experimental("MEAI001")]
public interface IImageGenerator : IDisposable
public interface IImageGenerator : IDisposable
[<System.Diagnostics.CodeAnalysis.Experimental("MEAI001")>]
type IImageGenerator = interface
interface IDisposable
type IImageGenerator = interface
interface IDisposable
Public Interface IImageGenerator
Implements IDisposable
- Derived
- Attributes
- Implements
Methods
Dispose() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable) |
GenerateAsync(ImageGenerationRequest, ImageGenerationOptions, CancellationToken) |
Sends an image generation request and returns the generated image as a ImageGenerationResponse. |
GetService(Type, Object) |
Asks the IImageGenerator for an object of the specified type |