The /audio/artwork Robot

Our /audio/artwork robot

Transloadit offers a variety of features to reduce audio size while maintaining quality, as well as add effects like loops or watermarks.

The /audio/artwork Robot extracts the embedded cover artwork from audio files and allows you to pipe it into other Steps, for example into /image/resize Steps. It can also insert images into audio files as cover artwork.

The /audio/artwork Robot's Parameters

Name Type Default Description
method String "extract" What should be done with the audio file. A value of "extract" means audio artwork will be extract. A value of "insert" means the provided image will be inserted as audio artwork.

Example use cases featuring the /audio/artwork robot

See the robot in action with some live demos and code samples right here on our website:

Extract the cover art from an audio file

Here you can see a quick example of the Assembly Instructions required to create this encoding pipeline. More information is available in the Live demo

{
 "steps": {
    "artwork": {
      "robot": "/audio/artwork",
      "use": ":original",
      "result": true
    }
  }
}

Insert cover art into an audio file

Here you can see a quick example of the Assembly Instructions required to create this encoding pipeline. More information is available in the Live demo

{
 "steps": {
    "imported_image": {
      "robot": "/http/import",
      "url": "https://transloadit.com/assets/images/robots/170x170/audio-artwork.jpg"
    },
    "insert_artwork": {
      "robot": "/audio/artwork",
      "use": {
        "steps": [
          {
            "name": ":original",
            "as": "audio"
          },
          {
            "name": "imported_image",
            "as": "image"
          }
        ],
        "bundle_steps": true
      },
      "method": "insert"
    }
  }
}


Did you know?

You can easily combine Robots to create powerful workflows, unique to your business.

This is the power of Transloadit.