ImageGeneratorExtensions クラス

定義

IImageGeneratorの拡張メソッドを提供します。

public ref class ImageGeneratorExtensions abstract sealed
[System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")]
public static class ImageGeneratorExtensions
public static class ImageGeneratorExtensions
[<System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")>]
type ImageGeneratorExtensions = class
type ImageGeneratorExtensions = class
Public Module ImageGeneratorExtensions
継承
ImageGeneratorExtensions
属性

メソッド

名前 説明
EditImageAsync(IImageGenerator, DataContent, String, ImageGenerationOptions, CancellationToken)

元のイメージと指定したプロンプトに基づいて、1 つのイメージを編集します。

EditImageAsync(IImageGenerator, ReadOnlyMemory<Byte>, String, String, ImageGenerationOptions, CancellationToken)

バイト配列と指定したプロンプトに基づいて、1 つのイメージを編集します。

EditImagesAsync(IImageGenerator, IEnumerable<AIContent>, String, ImageGenerationOptions, CancellationToken)

元の画像とテキスト プロンプトに基づいて画像を編集します。

GenerateImagesAsync(IImageGenerator, String, ImageGenerationOptions, CancellationToken)

テキスト プロンプトに基づいて画像を生成します。

GetRequiredService(IImageGenerator, Type, Object)

指定した型IImageGeneratorのオブジェクトをserviceTypeに要求し、使用できない場合は例外をスローします。

GetRequiredService<TService>(IImageGenerator, Object)

IImageGenerator型のオブジェクトをTServiceに要求し、使用できない場合は例外をスローします。

GetService<TService>(IImageGenerator, Object)

IImageGenerator型のオブジェクトをTServiceに求めます。

適用対象