Partager via


ITextToImageService Interface

Definition

Interface for text to image services

public interface ITextToImageService : Microsoft.SemanticKernel.Services.IAIService
type ITextToImageService = interface
    interface IAIService
Public Interface ITextToImageService
Implements IAIService
Derived
Implements

Properties

Attributes

Gets the AI service attributes.

(Inherited from IAIService)

Methods

GenerateImageAsync(String, Int32, Int32, Kernel, CancellationToken)

Generate an image matching the given description

Extension Methods

GetApiVersion(IAIService)

Gets the API version from service's Attributes

GetEndpoint(IAIService)

Gets the endpoint from service's Attributes.

GetModelId(IAIService)

Gets the model identifier from service's Attributes.

Applies to