Edit in GitHubLog an issue

Apply XMP inline

Apply Lightroom presets inline using XMP.

The Apply XMP endpoint allows you to apply Lightroom adjustments by passing the XMP preset contents directly in your API request, rather than referencing a stored preset file. This is useful when you want to:

  • Apply adjustments without storing preset files in cloud storage
  • Dynamically generate preset values on the fly
  • Integrate preset generation into your application workflow

How it differs from applying presets

While the Apply Presets process requires you to store XMP files in cloud storage and reference them by URL, Apply XMP allows you to pass the XMP content directly inline in your API request.

Apply Presets: Reference a stored .xmp file

Copied to your clipboard
{
"preset": "https://example.com/path/to/preset.xmp"
}

Apply XMP: Pass XMP content inline

Copied to your clipboard
{
"xmp": "<xmp_content>"
}

Code implementation

Here is a detailed implementation example.

  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2025 Adobe. All rights reserved.