Transcription

View as Markdown

Alias for speech-to-text. Expects multipart/form-data with an audio file.

Authentication

X-Api-Keystring

API key passed as the X-Api-Key header.

OR
AuthorizationBearer

API key passed as Authorization: Bearer token.

Path parameters

conversationstringOptionalDefaults to default
Conversation ID. Use 'default' for the main chat.

Query parameters

apikeystringRequired

User API key. Also accepted as an optional route segment (e.g. /getBalance/{apikey}) or form field. You can also use Authorization: Bearer {apikey} or X-Api-Key: {apikey}.

Request

This endpoint expects a multipart form containing an optional file.
messagestringOptional

Prompt/message

versionstringOptional

Model ID from /info

conversation_idstringOptionalDefaults to default
refstringOptional
Optional referral code
aspectRatiostringOptionalDefaults to 16:9
Image aspect ratio
filefileOptional
Optional file upload

Response

Success

Errors

402
Payment Required Error
500
Internal Server Error