Skip to content

Commit 750d48a

Browse files
committed
Update audio.rb
1 parent 1ec0bb8 commit 750d48a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/openai/audio.rb

+4
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,9 @@ def transcribe(parameters: {})
1111
def translate(parameters: {})
1212
@client.multipart_post(path: "/audio/translations", parameters: parameters)
1313
end
14+
15+
def speech(parameters: {})
16+
@client.json_post(path: "/audio/speech", parameters: parameters)
17+
end
1418
end
1519
end

0 commit comments

Comments
 (0)