audio

Translate audio into English

Changed on
post/v1/audio/translations

Request

  • Base URL
    http://localhost:8080
  • URL
    http://localhost:8080/v1/audio/translations
  • Auth
    HTTP bearer

Request body multipart/form-data

filestring binary required

Audio file to translate

modelstring required

Model ID

promptstring

Optional English text to guide the model

response_formatstring

json, text, srt, verbose_json, or vtt

temperaturenumber

Sampling temperature (0-1)

Response

English translation in the requested response_format

object required

Changes

    • warning

      added the new internal_error enum value to the / response property for the response status (media type: application/json)

    • warning

      added the new internal_error enum value to the / response property for the response status (media type: text/plain)

    • warning

      added the new internal_error enum value to the / response property for the response status (media type: application/json)

    • warning

      added the new internal_error enum value to the / response property for the response status (media type: text/plain)

    • warning

      added the new internal_error enum value to the / response property for the response status (media type: application/json)

    • warning

      added the new internal_error enum value to the / response property for the response status (media type: text/plain)

    • warning

      added the new internal_error enum value to the / response property for the response status (media type: application/json)

    • warning

      added the new internal_error enum value to the / response property for the response status (media type: text/plain)

    • warning

      added the new permission_error enum value to the / response property for the response status (media type: application/json)

    • warning

      added the new permission_error enum value to the / response property for the response status (media type: text/plain)

    • warning

      added the new permission_error enum value to the / response property for the response status (media type: application/json)

    • warning

      added the new permission_error enum value to the / response property for the response status (media type: text/plain)

    • warning

      added the new permission_error enum value to the / response property for the response status (media type: application/json)

    • warning

      added the new permission_error enum value to the / response property for the response status (media type: text/plain)

    • warning

      added the new permission_error enum value to the / response property for the response status (media type: application/json)

    • warning

      added the new permission_error enum value to the / response property for the response status (media type: text/plain)