You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Some parameter documentations has been truncated, see
56
+
# {OpenAI::Models::Audio::SpeechCreateParams} for more details.
57
+
#
58
+
# @param input [String] The text to generate audio for. The maximum length is 4096 characters.
59
+
#
60
+
# @param model [String, Symbol, OpenAI::Models::Audio::SpeechModel] One of the available [TTS models](https://platform.openai.com/docs/models#tts):
61
+
# ...
62
+
#
63
+
# @param voice [String, Symbol, OpenAI::Models::Audio::SpeechCreateParams::Voice] The voice to use when generating the audio. Supported voices are `alloy`, `ash`,
64
+
# ...
65
+
#
66
+
# @param instructions [String] Control the voice of your generated audio with additional instructions. Does not
67
+
# ...
68
+
#
69
+
# @param response_format [Symbol, OpenAI::Models::Audio::SpeechCreateParams::ResponseFormat] The format to audio in. Supported formats are `mp3`, `opus`, `aac`, `flac`, `wav
70
+
# ...
71
+
#
72
+
# @param speed [Float] The speed of the generated audio. Select a value from `0.25` to `4.0`. `1.0` is
# @param logprobs [Array<OpenAI::Models::Audio::Transcription::Logprob>] The log probabilities of the tokens in the transcription. Only returned with the
31
+
# ...
27
32
28
33
classLogprob < OpenAI::Internal::Type::BaseModel
29
34
# @!attribute token
@@ -45,9 +50,11 @@ class Logprob < OpenAI::Internal::Type::BaseModel
# Some parameter documentations has been truncated, see
87
+
# {OpenAI::Models::Audio::TranscriptionCreateParams} for more details.
88
+
#
89
+
# @param file [Pathname, StringIO] The audio file object (not file name) to transcribe, in one of these formats: fl
90
+
# ...
91
+
#
92
+
# @param model [String, Symbol, OpenAI::Models::AudioModel] ID of the model to use. The options are `gpt-4o-transcribe`, `gpt-4o-mini-transc
93
+
# ...
94
+
#
95
+
# @param include [Array<Symbol, OpenAI::Models::Audio::TranscriptionInclude>] Additional information to include in the transcription response. ...
96
+
#
97
+
# @param language [String] The language of the input audio. Supplying the input language in [ISO-639-1](htt
98
+
# ...
99
+
#
100
+
# @param prompt [String] An optional text to guide the model's style or continue a previous audio segment
101
+
# ...
102
+
#
103
+
# @param response_format [Symbol, OpenAI::Models::AudioResponseFormat] The format of the output, in one of these options: `json`, `text`, `srt`, `verbo
104
+
# ...
105
+
#
106
+
# @param temperature [Float] The sampling temperature, between 0 and 1. Higher values like 0.8 will make the
107
+
# ...
108
+
#
109
+
# @param timestamp_granularities [Array<Symbol, OpenAI::Models::Audio::TranscriptionCreateParams::TimestampGranularity>] The timestamp granularities to populate for this transcription. `response_format
# @param delta [String] The text delta that was additionally transcribed. ...
38
+
#
39
+
# @param logprobs [Array<OpenAI::Models::Audio::TranscriptionTextDeltaEvent::Logprob>] The log probabilities of the delta. Only included if you [create a transcription
40
+
# ...
41
+
#
42
+
# @param type [Symbol, :"transcript.text.delta"] The type of the event. Always `transcript.text.delta`. ...
37
43
38
44
classLogprob < OpenAI::Internal::Type::BaseModel
39
45
# @!attribute token
@@ -55,9 +61,14 @@ class Logprob < OpenAI::Internal::Type::BaseModel
# @param text [String] The text that was transcribed. ...
39
+
#
40
+
# @param logprobs [Array<OpenAI::Models::Audio::TranscriptionTextDoneEvent::Logprob>] The log probabilities of the individual tokens in the transcription. Only includ
41
+
# ...
42
+
#
43
+
# @param type [Symbol, :"transcript.text.done"] The type of the event. Always `transcript.text.done`. ...
38
44
39
45
classLogprob < OpenAI::Internal::Type::BaseModel
40
46
# @!attribute token
@@ -56,9 +62,14 @@ class Logprob < OpenAI::Internal::Type::BaseModel
# Some parameter documentations has been truncated, see
53
+
# {OpenAI::Models::Audio::TranslationCreateParams} for more details.
54
+
#
55
+
# @param file [Pathname, StringIO] The audio file object (not file name) translate, in one of these formats: flac,
56
+
# ...
57
+
#
58
+
# @param model [String, Symbol, OpenAI::Models::AudioModel] ID of the model to use. Only `whisper-1` (which is powered by our open source Wh
59
+
# ...
60
+
#
61
+
# @param prompt [String] An optional text to guide the model's style or continue a previous audio segment
62
+
# ...
63
+
#
64
+
# @param response_format [Symbol, OpenAI::Models::Audio::TranslationCreateParams::ResponseFormat] The format of the output, in one of these options: `json`, `text`, `srt`, `verbo
65
+
# ...
66
+
#
67
+
# @param temperature [Float] The sampling temperature, between 0 and 1. Higher values like 0.8 will make the
0 commit comments