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
@@ -102,6 +120,28 @@ Transcribes audio into the input language.
102
120
103
121
If the optional `stream` argument is true, the segments of the transcription are returned as a series of [text/event-stream](https://html.spec.whatwg.org/multipage/server-sent-events.html) events. Otherwise, the full transcription is returned in the response body.
data: {"id":0,"start":0,"end":14.2,"text":" What do you think about new media like Facebook, emails and cell phones?"}
135
+
136
+
event: segment
137
+
data: {"id":1,"start":14.2,"end":18.2,"text":" The new media make our life much easier."}
138
+
139
+
event: segment
140
+
data: {"id":2,"start":18.2,"end":23,"text":" You can get in touch with people much faster than before."}
141
+
142
+
event: ok
143
+
```
144
+
105
145
### Translation
106
146
107
147
This is the same as transcription (above) except that the `language` parameter is not optional, and should be the language to translate the audio into.
0 commit comments