Create Transcription Translate

View as Markdown

Transcribe audio and translate it to English.

Provider is resolved from the model name via model_pricing. The adapter must implement speech_to_text_translate(); unsupported providers return 422. Returns {"text": "..."} always in English.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects a multipart form containing a file.
modelstringOptionalDefaults to sarvam/saaras:v2
filefileRequired
promptstring or nullOptional

Response

Successful Response
textstring

Errors

422
Unprocessable Entity Error