capabilities.work

Firefly Generative Fill

A 3-step recipe with Adobe Creative Cloud. We can help you get access.

Recipe · 3 steps

Firefly Generative Fill

Upload an image and a mask and fill the masked region from a prompt.

  1. Upload the source image to Firefly temporary storage.
  2. Upload the mask image that defines the region to regenerate.
  3. Fill the masked region of the source image with AI-generated content guided by the prompt, preserving the rest of the image.
What you'll need to have ready
  • accessToken: OAuth 2.0 bearer access token from the Adobe IMS token endpoint.
  • apiKey: Client ID (x-api-key) from the Adobe Developer Console project.
  • sourceImage: Binary contents of the source image to edit.
  • maskImage: Binary contents of the mask image defining the region to regenerate.
  • contentType: MIME type of the uploaded images.
  • prompt: Text describing what to generate in the masked region.
  • numVariations: Number of fill variations to generate (1-4).
For your developer

Arazzo workflow adobe-creative-cloud:firefly-generative-fill, 3 operations: uploadImage → uploadImage → fillImage. Specs on APIs.io.