Class AzureOpenAiImageOptions

java.lang.Object
org.springframework.ai.azure.openai.AzureOpenAiImageOptions
All Implemented Interfaces:
org.springframework.ai.image.ImageOptions, org.springframework.ai.model.ModelOptions

public class AzureOpenAiImageOptions extends Object implements org.springframework.ai.image.ImageOptions
The configuration information for a image generation request.
Since:
1.0.0 M1
Author:
Benoit Moussaud, Thomas Vitale, Ilayaperumal Gopinathan
  • Field Details

    • DEFAULT_IMAGE_MODEL

      public static final String DEFAULT_IMAGE_MODEL
  • Constructor Details

    • AzureOpenAiImageOptions

      public AzureOpenAiImageOptions()
  • Method Details

    • builder

      public static AzureOpenAiImageOptions.Builder builder()
    • getN

      public Integer getN()
      Specified by:
      getN in interface org.springframework.ai.image.ImageOptions
    • setN

      public void setN(Integer n)
    • getModel

      public String getModel()
      Specified by:
      getModel in interface org.springframework.ai.image.ImageOptions
    • setModel

      public void setModel(String model)
    • getWidth

      public Integer getWidth()
      Specified by:
      getWidth in interface org.springframework.ai.image.ImageOptions
    • setWidth

      public void setWidth(Integer width)
    • getHeight

      public Integer getHeight()
      Specified by:
      getHeight in interface org.springframework.ai.image.ImageOptions
    • setHeight

      public void setHeight(Integer height)
    • getResponseFormat

      public String getResponseFormat()
      Specified by:
      getResponseFormat in interface org.springframework.ai.image.ImageOptions
    • setResponseFormat

      public void setResponseFormat(String responseFormat)
    • getSize

      public String getSize()
    • setSize

      public void setSize(String size)
    • getUser

      public String getUser()
    • setUser

      public void setUser(String user)
    • getQuality

      public String getQuality()
    • setQuality

      public void setQuality(String quality)
    • getStyle

      public String getStyle()
      Specified by:
      getStyle in interface org.springframework.ai.image.ImageOptions
    • setStyle

      public void setStyle(String style)
    • getDeploymentName

      public String getDeploymentName()
    • setDeploymentName

      public void setDeploymentName(String deploymentName)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object