Base URL
All API requests are sent to:Authentication
Include your API key in theAuthorization header of every request:
Content type
SetContent-Type: application/json on all requests that include a body. Multipart file upload endpoints (audio transcription, audio translation, image edits, and image variations) use multipart/form-data instead.
Endpoints
Error codes
TokModel returns standard HTTP status codes. When a request fails, the response body contains anerror object with a message field describing the problem.
