- Authentication:
Authorization: Bearer namu_sk_... - Text in: a JSON body with
Content-Type: application/json - Audio in: a
multipart/form-databody with the recording in a field namedfile, or the raw bytes as the body with options in the query string
curl
The raw request
What goes over the wire for a transcription, if your language has only a basic HTTP client:Content-Type of raw audio does not matter: the API reads the format from the bytes.
PHP
Many sites in the region run PHP. With cURL:Generate a client from OpenAPI
The whole API is described in OpenAPI 3.1. Generate a typed client for Go, Java, Kotlin, Dart, C# or another language with OpenAPI Generator:openapi.yaml
Download the OpenAPI description.