Adobe Photoshop · Arazzo Workflow
Adobe Photoshop Generative Fill from a Generated Mask
Version 1.0.0
Generate a subject mask with background removal, then fill the masked area with generative AI.
View Spec
View on GitHub
AI/MLCreative CloudImage EditingPhotoshopPluginsREST APIScriptingArazzoWorkflows
Provider
Workflows
generative-fill
Derive a mask via background removal and fill that region with generative AI.
Submits the image for mask-mode background removal, polls the Sensei job for the mask, then submits the image and mask to the generative fill endpoint and polls that job to completion.
1
submitMask
removeBackgroundV2
Run background removal in mask mode, which returns a grayscale mask of the detected subject rather than a cutout. That mask defines the region the generative fill step will replace.
2
awaitMask
getSenseiJobStatus
Poll the Sensei status endpoint until the mask 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 statusHref before issuing the request.
3
submitFill
fillMaskedAreas
Submit the original image together with the generated mask so the generative service synthesizes new content into the masked region.
4
awaitFill
getSenseiJobStatus
Poll the Sensei status endpoint until the generative fill job reports succeeded and the filled image is available.