Encrypted Audio Translations (RVENC)
Changed onTranslate an end-to-end encrypted audio file into English text, whatever the input language. Nothing is stored: neither the audio nor the translation.
Request
- Base URLhttps://gateway.prem.io
- AuthHTTP bearer and API key in header Authorization
Headers
Maximum seconds the request may wait in the inference queue when no capacity is free (decimals allowed). 0 never queues: a saturated model answers 429 immediately. Values above the server budget (10s) are capped; the header can only shorten the wait, never extend it. Invalid values are ignored. A request that cannot be admitted in time gets 429 with Retry-After.
Request body
Example request
{
"model": "whisper-large-v3",
"encryptedInference": "encrypted_inference_payload_data",
"cipherText": "cipher_text_for_key_exchange",
"nonce": "nonce_value",
"fileNameNonce": "file_name_nonce_value",
"encryptedFileName": "encrypted_audio_file_name_data",
"fileNonce": "file_nonce_value",
"encryptedFile": "encrypted_audio_file_data"
}Response
Encrypted audio translation response. The response contains the encrypted translation result (always to English) which must be decrypted using the shared secret derived from the request's cipherText, along with the response nonce.
Example response
{
"status": 200,
"data": {
"id": "123"
},
"error": null,
"log": null,
"validator": null,
"support_id": null,
"message": "Resource created successfully",
"env": "development"
}Changes
- warning
added the new
405.00enum value to the/response property for the response status - warning
added the new
405.00enum value to the/response property for the response status - warning
added the new
405.00enum value to theresponse property for the response status - warning
added the new
409.00enum value to the/response property for the response status - warning
added the new
409.00enum value to the/response property for the response status - warning
added the new
409.00enum value to theresponse property for the response status - warning
added the new
500.00enum value to the/response property for the response status - warning
added the new
500.00enum value to the/response property for the response status - warning
added the new
500.00enum value to theresponse property for the response status - info
added the new optional
headerrequest parameterX-Queue-Timeout
- warning
- info
endpoint added
- info