Adobe Photoshop · Arazzo Workflow
Adobe Photoshop Smart Object Template Personalization
Version 1.0.0
Read a PSD template's layer tree, swap Smart Object artwork, then render a flat image.
View Spec
View on GitHub
AI/MLCreative CloudImage EditingPhotoshopPluginsREST APIScriptingArazzoWorkflows
Provider
Workflows
smart-object-template
Personalize a PSD template by replacing Smart Object content and rendering it.
Retrieves the document manifest to resolve the layer tree, replaces the named Smart Object layer with the supplied artwork, and creates a flat rendition of the resulting PSD.
1
submitManifest
getDocumentManifest
Request the manifest of the PSD template so the layer tree, layer ids, and Smart Object layers can be confirmed before any write is attempted.
2
awaitManifest
getPsdJobStatus
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 segment from statusHref before issuing the request.
3
submitSmartObjectReplace
replaceSmartObject
Replace the embedded content of the named Smart Object layer with the supplied artwork, writing the personalized document out as a PSD.
4
awaitSmartObjectReplace
getPsdJobStatus
Poll until the Smart Object replacement job reports succeeded. The jobId is the final path segment of the returned status URL.
5
submitRendition
createRendition
Render the personalized PSD to a flat JPEG at the requested width so it can be delivered to a catalog, ad slot, or email template.
6
awaitRendition
getPsdJobStatus
Poll until the rendition job reports succeeded and the flat image has been written to the output URL.