capabilities.work

Product Photo Pipeline

A 4-step recipe with Adobe Photoshop. We can help you get access.

Recipe · 4 steps

Product Photo Pipeline

Chain background removal into product crop for a catalog-ready image.

  1. Remove the background from the raw product photograph, returning a PNG cutout with a transparent background.
  2. Poll the Sensei status endpoint until the cutout is ready. 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 sta
  3. Feed the finished cutout into the AI product crop endpoint, which finds the main subject and crops to it with the requested padding.
  4. Poll the PSD service status endpoint until the crop job reports succeeded. The jobId is the final path segment of the returned status URL.
What you'll need to have ready
  • imageUrl: Pre-signed GET URL of the raw product photograph.
  • cutoutOutputUrl: Pre-signed PUT URL where the background-removed cutout is written.
  • croppedOutputUrl: Pre-signed PUT URL where the final cropped image is written.
  • padding: Padding to leave around the detected product subject.
  • unit: Unit for the padding value, pixel or percent.
For your developer

Arazzo workflow adobe-photoshop:product-photo-pipeline, 4 operations: removeBackgroundV2 → getSenseiJobStatus → productCrop → getPsdJobStatus. Specs on APIs.io.