ImageGeneratorExtensions クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
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のオブジェクトを |
| GetRequiredService<TService>(IImageGenerator, Object) |
IImageGenerator型のオブジェクトを |
| GetService<TService>(IImageGenerator, Object) |
IImageGenerator型のオブジェクトを |