Share via


TextToImageServiceExtensions Class

Definition

Extension methods for ITextToImageService.

public static class TextToImageServiceExtensions
type TextToImageServiceExtensions = class
Public Module TextToImageServiceExtensions
Inheritance
TextToImageServiceExtensions

Methods

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

Given a prompt and/or an input text, the model will generate a new image.

Applies to