AEM Assets · updated

What does a Dynamic Media with OpenAPI delivery URL look like, and which parameters does it take?

A delivery URL has the form https://delivery-pXXXX-eYYYY.adobeaemcloud.com/adobe/assets/{assetId}/as/{seoName}.{format}. The host is your author host with 'author' replaced by 'delivery'. The asset ID identifies the file, the SEO name is free text for search engines, and the format is one of gif, png, jpg, jpeg, webp or avif. Query parameters such as width, height, quality and crop change the image on request. Only approved assets are delivered.

In plain words

Instead of copying an image into every system that needs it, each system links to the one approved copy in AEM Assets. The link can ask for the size it needs. When the asset is updated or its approval is withdrawn, every link follows; Adobe says changes show within about 10 minutes because the CDN keeps a copy for that long.

The delivery endpoints

Path after /adobe/assetsWhat it returns, per Adobe's specification
/{assetId}/as/{seoName}.{format}A web-optimised image in the requested format, with optional modifiers. Adobe recommends it for all image types
/{assetId}A convenience form with defaults: quality 65 and width 1024
/{assetId}/original/as/{seoName}The file exactly as uploaded. Adobe recommends it for documents and SVG
/{assetId}/renditions/{renditionName}/as/{seoName}A rendition that already exists on the author environment
/{assetId}/metadataThe asset's metadata as JSON
/{assetId}/playA player page for a video asset, for use in an iframe
/{assetId}/manifest.{format}A playback manifest for your own HLS or DASH player

Image modifiers that are generally available

ParameterValueNotes from the specification
width, heightWhole number, 1 or moreThe shape of the original is kept. Without width, the image is at most 2048 pixels wide
quality1 to 100A fixed compression quality
max-quality1 to 100An upper limit; the service lowers quality on slow networks. Default 85. Ignored if quality is set
cropFour percentages, such as 10p,10p,50p,50pLeft, top, width, height of the region. Origin plus size must not exceed 100
rotate90, 180 or 270Clockwise
fliph, v or hvHorizontal, vertical or both
smartcropA smart crop nameThe name must be defined and applied to the asset, or the request fails
presetAn image preset nameApplies the preset's sizing and formatting
dprA number above 0Renders at a multiple of the requested size for dense screens
sharpen, blurtrue; 0 to 100A sharpening filter; a blur radius in pixels
auto-formattrue (default) or falseWhen true, the browser may get AVIF or WebP whatever format the URL asks for
attachmenttrueMakes the browser download the file

The specification also lists modifiers marked 'Limited Availability' (for example colour changes, masks, extend and fallback) and layer composition. They need a request to Adobe, so they are not covered here or in the builder.

What you need first

  • Licences for AEM Assets as a Cloud Service and AEM Dynamic Media.
  • Dynamic Media with OpenAPI enabled on the environment. Adobe enables it after a support ticket that names the programme and environment, the use case and the applications that will consume the assets.
  • Approved assets. Only the approved, latest version of an asset is available for search and delivery.
  • For restricted assets, an Authorization header with a bearer token.

Adobe notes that Dynamic Media Prime customers can use the basic modifiers (rotate, crop, flip, height, width and quality) and that Smart Imaging does not deliver AVIF for them.

A delivery URL with modifiers (our example, built from Adobe's specification; the asset ID is the example value in the specification)

https://delivery-p12345-e67890.adobeaemcloud.com/adobe/assets/urn:aaid:aem:1a034bee-ebda-4787-bad3-f924d0772b75/as/hero-banner.webp?width=1280&quality=80&crop=10p,10p,80p,80p

How to get a working URL

  1. Approve an asset in AEM Assets: set its Review Status to Approved.
  2. Copy the asset's delivery URL from AEM Assets. Adobe suggests this as the way to check that the capability is enabled.
  3. Note the host and the asset ID in the copied URL.
  4. Open the delivery URL builder on this site, paste the asset ID, choose a format and add width, quality or a crop.
  5. Test the URL in a browser, then copy the <img> tag with srcset into your page or component.

Related tools and pages on this site

Questions

Why does my delivery URL return an error for a new asset?

Check that the asset is approved. Adobe states that only approved assets, and only their latest version, are available for search and delivery.

I asked for .jpeg but the browser received WebP. Why?

Smart Imaging is on by default: the service picks AVIF or WebP when the browser supports it. Add auto-format=false to get the format in the URL.

Does the SEO name have to match the file name?

No. The specification says the SEO name has no functional effect on the image; it is there to make the URL readable. It may contain letters, digits, hyphens, dots and percent-encoded characters.

How fast do changes show?

Adobe says delivery through the CDN uses a time-to-live of 10 minutes, so updates are visible in under 10 minutes.

Is this the same as the /is/image/ URLs?

No. Those belong to Dynamic Media Image Serving (Scene7). The two have different hosts, paths and parameter names; see the page on Image Serving URLs.

Sources

Facts about Adobe's products on this page are from the linked Adobe pages, read on the date shown beside each. Explanations, steps and examples are ours unless marked as Adobe's. If Adobe's page and this one differ, Adobe's page is right.

Surge Migrate is not affiliated with Adobe and claims no Adobe partner status. Adobe product names are trademarks of Adobe.

Surge Migrate

Moving the website itself

This page answers one AEM Assets question. Surge Migrate moves a website from any CMS to any CMS. Converted automatically. Checked before you install.

  1. 1

    Scan

    Names the system behind your site, counts pages and templates, lists the blocks to build and the work no tool does, and gives an effort range with its working.

    Scan a site →
  2. 2

    Convert

    Each page becomes an Edge Delivery document, an AEM Core Component page and import files for 7 other systems. 10 pages free; 500 or 2,000 pages in one paid run.

    Convert your pages →
  3. 3

    Verify

    A download is offered only when its own format check passes. The report lists every field not found and every component kept as plain content. Compare old and new pages side by side.

    Parity check →
  4. 4

    Install

    You import with the target system's own tool, on your own environment. Each download's README gives the command. Your system changes only when you run it.

    How each import was tested →