-
Sets the Azure OpenAI API key.
Sets the deployment name in Azure OpenAI.
Sets the Azure OpenAI endpoint.
Used to authenticate with the OpenAI service, instead of Azure OpenAI.
AzureOpenAiImageModel.Builder.openAIClient(com.azure.ai.openai.OpenAIClient openAIClient)
AzureOpenAiImageModel.Builder.proxyOptions(com.azure.core.http.ProxyOptions proxyOptions)
AzureOpenAiImageModel.Builder.quality(com.azure.ai.openai.models.ImageGenerationQuality imageGenerationQuality)
Sets the quality of the image, using the ImageGenerationQuality enum.
Sets the quality of the image.
AzureOpenAiImageModel.Builder.responseFormat(com.azure.ai.openai.models.ImageGenerationResponseFormat imageGenerationResponseFormat)
Sets the response format of the image, using the ImageGenerationResponseFormat enum.
Sets the response format of the image.
Sets the Azure OpenAI API service version.
AzureOpenAiImageModel.Builder.size(com.azure.ai.openai.models.ImageSize imageSize)
Sets the size of the image, using the ImageSize enum.
Sets the size of the image.
AzureOpenAiImageModel.Builder.style(com.azure.ai.openai.models.ImageGenerationStyle imageGenerationStyle)
Sets the style of the image, using the ImageGenerationStyle enum.
Sets the style of the image.
AzureOpenAiImageModel.Builder.tokenCredential(com.azure.core.credential.TokenCredential tokenCredential)
Used to authenticate to Azure OpenAI with Azure Active Directory credentials.
Sets the user of the image.