Inspect and Edit Layers
A 4-step recipe with Adobe Photoshop. We can help you get access.
Recipe · 4 steps
Inspect and Edit Layers
with Adobe Photoshop
Resolve a PSD's layer tree and apply visibility and adjustment edits.
- Retrieve the manifest so the layer tree, layer ids, names, types, and bounds are known before any edit is applied.
- Poll the PSD service status endpoint until the manifest job completes. The submit call returns the absolute status URL in _links.self.href; the jobId this operation requires is the final path segment of that URL, so a runner takes that segm
- Edit the named layer, setting its visibility and applying a brightness and contrast adjustment, then write the modified document to the output URL.
- Poll until the document operations job reports succeeded and the edited document has been written to the output URL.
What you'll need to have ready
- documentUrl: Pre-signed GET URL of the source PSD.
- layerName: Name of the layer to edit.
- visible: Visibility to set on the target layer.
- brightness: Brightness adjustment to apply to the layer.
- contrast: Contrast adjustment to apply to the layer.
- outputUrl: Pre-signed PUT URL where the edited document is written.
- outputType: Output format, e.g. vnd.adobe.photoshop or image/jpeg.
For your developer
Arazzo workflow adobe-photoshop:layer-edit, 4 operations: getDocumentManifest → getPsdJobStatus → modifyDocument → getPsdJobStatus. Specs on APIs.io.