Class OpenAiAudioSpeechProperties

java.lang.Object
org.springframework.ai.autoconfigure.openai.OpenAiAudioSpeechProperties

@ConfigurationProperties("spring.ai.openai.audio.speech") public class OpenAiAudioSpeechProperties extends Object
Configuration properties for OpenAI audio speech. Default values for required options are model = tts_1, response format = mp3, voice = alloy, and speed = 1.
Author:
Ahmed Yousri, Stefan Vassilev
  • Field Details

  • Constructor Details

    • OpenAiAudioSpeechProperties

      public OpenAiAudioSpeechProperties()
  • Method Details

    • getOptions

      public OpenAiAudioSpeechOptions getOptions()
    • setOptions

      public void setOptions(OpenAiAudioSpeechOptions options)
    • isEnabled

      public boolean isEnabled()
    • setEnabled

      public void setEnabled(boolean enabled)
    • getApiKey

      public String getApiKey()
    • setApiKey

      public void setApiKey(String apiKey)
    • getBaseUrl

      public String getBaseUrl()
    • setBaseUrl

      public void setBaseUrl(String baseUrl)
    • getProjectId

      public String getProjectId()
    • setProjectId

      public void setProjectId(String projectId)
    • getOrganizationId

      public String getOrganizationId()
    • setOrganizationId

      public void setOrganizationId(String organizationId)