Translate Audio (v0)

Create a 'translate-audio' job

Changed on

Deprecated: use POST /robots/v1/jobs/translate-audio instead. Creates a new job that translates the audio track of a Mux Video asset to another language.

post/robots/v0/jobs/translate-audio

Request

  • Base URL
    https://api.mux.com
  • Auth
    • HTTP basic
    • or HTTP bearer

Request body

passthroughstring

Arbitrary string stored with the job and returned in responses. Useful for correlating jobs with your own systems.

Example request

{
  "parameters": {
    "asset_id": "mux_asset_123abc",
    "to_language_code": "es",
    "upload_to_mux": true,
    "replace_existing_tracks": "fail"
  }
}

Response

Audio translation job queued

Example response

{
  "data": {
    "parameters": {
      "asset_id": "mux_asset_123abc",
      "to_language_code": "es",
      "upload_to_mux": true,
      "replace_existing_tracks": "fail"
    },
    "resources": {
      "assets": [
        {
          "id": "abc123asset",
          "meta": {
            "title": "My Video",
            "creator_id": "user123",
            "external_id": "ext456"
          },
          "_links": {
            "self": {
              "href": "/video/v1/assets/abc123asset"
            }
          }
        }
      ]
    },
    "outputs": {
      "uploaded_track_id": "esabc123def456",
      "temporary_audio_url": "https://storage.example.com/dubs/es/audio.flac?token=abc123"
    }
  }
}

Changes