Sonna
API ReferenceGeneration

Transcribe Audio

Transcribe audio file to text.

POST
/transcribe

Request Body

multipart/form-data

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/transcribe" \  -F file="string"
{
  "text": "string",
  "duration": 0
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}