Create Document and Render
A 4-step recipe with Adobe Photoshop. We can help you get access.
Recipe · 4 steps
Create Document and Render
with Adobe Photoshop
Create a PSD with layers and render a flat image from it.
- Create the PSD with the requested canvas specification, an image layer carrying the supplied artwork, and a text layer carrying the headline.
- Poll the PSD service status endpoint until the document creation 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
- Render the newly created PSD to a flat JPEG sized to the document width.
- Poll until the rendition job reports succeeded and the flat image has been written to the output URL.
What you'll need to have ready
- width: Document width in pixels.
- height: Document height in pixels.
- resolution: Document resolution in PPI.
- fill: Background fill, white, transparent, or backgroundColor.
- mode: Color mode, rgb, cmyk, or grayscale.
- depth: Bit depth per channel, 8, 16, or 32.
- artworkUrl: Pre-signed GET URL of the image placed on the artwork layer.
- headline: Copy to set on the text layer.
- psdOutputUrl: Pre-signed PUT URL where the new PSD is written.
- renditionOutputUrl: Pre-signed PUT URL where the flat rendition is written.
For your developer
Arazzo workflow adobe-photoshop:document-create-and-render, 4 operations: createDocument → getPsdJobStatus → createRendition → getPsdJobStatus. Specs on APIs.io.