Skip to content
StudyFetch API

Chat

Transcribe audio to text

Transcribes audio file to text using OpenAI Whisper. Supports various audio formats.

OpenAPI specification
POST/api/v1/chat/transcribe

Authentication

x-api-key

Request

curl --globoff --request POST \
  --url 'https://api.example.com/api/v1/chat/transcribe' \
  --header 'x-api-key: <API_KEY>'

Replace credential and <field> placeholders with your own values. URL placeholders appear as %3Cfield%3E. Review the example values before sending your request.

Replace https://api.example.com with the API server URL.

Responses

200Successfully transcribed audio
{
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "description": "Transcribed text"
    }
  }
}
400No audio file provided
500Transcription failed