Uses of Class
com.azure.ai.openai.models.ImageGenerationOptions
Packages that use ImageGenerationOptions
Package
Description
Package containing the classes for OpenAI.
Package containing the data models for OpenAI.
-
Uses of ImageGenerationOptions in com.azure.ai.openai
Methods in com.azure.ai.openai with parameters of type ImageGenerationOptionsModifier and TypeMethodDescriptionOpenAIAsyncClient.getImageGenerations(String deploymentOrModelName, ImageGenerationOptions imageGenerationOptions) Creates an image given a prompt.OpenAIClient.getImageGenerations(String deploymentOrModelName, ImageGenerationOptions imageGenerationOptions) Creates an image given a prompt.Mono<com.azure.core.http.rest.Response<ImageGenerations>> OpenAIAsyncClient.getImageGenerationsWithResponse(String deploymentOrModelName, ImageGenerationOptions imageGenerationOptions, com.azure.core.http.rest.RequestOptions requestOptions) Creates an image given a prompt.com.azure.core.http.rest.Response<ImageGenerations> OpenAIClient.getImageGenerationsWithResponse(String deploymentOrModelName, ImageGenerationOptions imageGenerationOptions, com.azure.core.http.rest.RequestOptions requestOptions) Creates an image given a prompt. -
Uses of ImageGenerationOptions in com.azure.ai.openai.models
Methods in com.azure.ai.openai.models that return ImageGenerationOptionsModifier and TypeMethodDescriptionstatic ImageGenerationOptionsImageGenerationOptions.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ImageGenerationOptions from the JsonReader.Set the model property: The model name or Azure OpenAI model deployment name to use for image generation.Set the n property: The number of images to generate.ImageGenerationOptions.setQuality(ImageGenerationQuality quality) Set the quality property: The desired image generation quality level to use.ImageGenerationOptions.setResponseFormat(ImageGenerationResponseFormat responseFormat) Set the responseFormat property: The format in which image generation response items should be presented.Set the size property: The desired dimensions for generated images.ImageGenerationOptions.setStyle(ImageGenerationStyle style) Set the style property: The desired image generation style to use.Set the user property: A unique identifier representing your end-user, which can help to monitor and detect abuse.