AzureOpenAITextToImageService Class
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.
Azure OpenAI text to image service.
public class AzureOpenAITextToImageService : Microsoft.SemanticKernel.TextToImage.ITextToImageService
type AzureOpenAITextToImageService = class
interface ITextToImageService
interface IAIService
Public Class AzureOpenAITextToImageService
Implements ITextToImageService
- Inheritance
-
AzureOpenAITextToImageService
- Implements
Constructors
AzureOpenAITextToImageService(String, AzureOpenAIClient, String, ILoggerFactory) |
Initializes a new instance of the AzureOpenAITextToImageService class. |
AzureOpenAITextToImageService(String, String, String, String, HttpClient, ILoggerFactory, String) |
Initializes a new instance of the AzureOpenAITextToImageService class. |
AzureOpenAITextToImageService(String, String, TokenCredential, String, HttpClient, ILoggerFactory, String) |
Initializes a new instance of the AzureOpenAITextToImageService class. |
Properties
Attributes |
Gets the AI service attributes. |
Methods
GenerateImageAsync(String, Int32, Int32, Kernel, CancellationToken) |
Generate an image matching the given description |
Extension Methods
GetApiVersion(IAIService) |
Gets the API version from |
GetEndpoint(IAIService) |
Gets the endpoint from |
GetModelId(IAIService) |
Gets the model identifier from |