Same params as:
https://platform.openai.com/docs/api-reference/audio/createTranscription?lang=curl
Successful Response
const response = await fetch('/audio/transcriptions', { method: 'POST', headers: { "Content-Type": "multipart/form-data" }, body: JSON.stringify({ "file": "binary" }), }); const data = await response.json();
{ "detail": [ { "loc": [ "text" ], "msg": "text", "type": "text" } ] }
const response = await fetch('/v1/audio/transcriptions', { method: 'POST', headers: { "Content-Type": "multipart/form-data" }, body: JSON.stringify({ "file": "binary" }), }); const data = await response.json();