Share via


AzureOpenAIClient.GetImageClient(String) Method

Definition

Gets a new OpenAI.Images.ImageClient instance configured for image operation use with the Azure OpenAI service.

public override OpenAI.Images.ImageClient GetImageClient (string deploymentName);
override this.GetImageClient : string -> OpenAI.Images.ImageClient
Public Overrides Function GetImageClient (deploymentName As String) As ImageClient

Parameters

deploymentName
String

The model deployment name to use for the new client's image operations.

Returns

OpenAI.Images.ImageClient

A new OpenAI.Images.ImageClient instance.

Applies to