How to apply presets

Apply one or more XMP Lightroom presets to an image, by referencing preset file(s) stored on the cloud.

A preset file can be created by editing an image in Lightroom and exporting it as a .xmp file. Learn more about creating presets.

How to create an XMP file

To create an .xmp file from a set of slider values set directly by a user, start with the empty .xmp file template here and add the corresponding slider values.

In this example, the preset called "Aged Photo" is applied to automatically make the adjustments to achieve the desired effect. A small waterfall in a forest with a waterfall in the foreground and a tree in the background, before and after

What are Presets?

Presets are pre-configured sets of adjustments that can be applied to images. They allow you to:

Example implementation

Here is a detailed implementation example.

data-slots=heading, code

Request example

curl -X POST \
  https://image.adobe.io/lrService/presets \
  -H "Authorization: Bearer ${TOKEN}"  \
  -H "x-api-key: ${API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "inputs": {
        "source": {
            "href": "<SIGNED_GET_URL>",
            "storage": "<STORAGE_LOCATION>"
        },
        "presets": [
            {
                "href": "<SIGNED_GET_URL>",
                "storage": "<STORAGE_LOCATION>"
            },
            {
                "href": "<SIGNED_GET_URL>",
                "storage": "<STORAGE_LOCATION>"
            }
        ]
    },
    "outputs": [
        {
            "href": "<SIGNED_POST_URL>",
            "type": "<TYPE>",
            "storage": "<STORAGE_LOCATION>"
        }
    ]
}'
data-slots=heading, code

Response example

{
    "_links": {
        "self": {
            "href": "https://image.adobe.io/lrService/status/<JOB_ID>"
        }
    }
}