v1
audio

Create Translation

Changed on

Translate audio into English.

Translates audio files in any supported language to English text using OpenAI's Whisper model. Supports the same audio formats as transcription. Maximum file size is 25 MB.

Args: file: Audio file to translate (required) model: Model ID to use (e.g., "openai/whisper-1") prompt: Optional text to guide the model's style response_format: Format of the output (json, text, srt, verbose_json, vtt) temperature: Sampling temperature between 0 and 1

Returns: Translation object with the English translation

post/v1/audio/translations

Request

  • Base URL
    https://api.dedaluslabs.ai
  • Auth
    HTTP bearer

Request body multipart/form-data

filestring binary required
modelstring required
promptstring nullable
response_formatstring nullable
temperaturenumber nullable

Response

Successful Response

OR

Changes

    • breaking

      the response's body type changed from object to no type for status

    • breaking

      removed the required property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      added to the response body anyOf list for the response status

    • info

      endpoint added