Transcriptions

Audio Transcriptions

POST/audio/transcriptions
Authorization
Body
file*File
Response

Successful Response

Body
any
Request
const response = await fetch('/audio/transcriptions', {
    method: 'POST',
    headers: {
      "Content-Type": "multipart/form-data"
    },
    body: JSON.stringify({
      "file": "binary"
    }),
});
const data = await response.json();
Response
{
  "detail": [
    {
      "loc": [
        "text"
      ],
      "msg": "text",
      "type": "text"
    }
  ]
}

Audio Transcriptions

POST/v1/audio/transcriptions
Authorization
Body
file*File
Response

Successful Response

Body
any
Request
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();
Response
{
  "detail": [
    {
      "loc": [
        "text"
      ],
      "msg": "text",
      "type": "text"
    }
  ]
}