capabilities.work

Firefly Generative Fill

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

Recipe · 4 steps

Firefly Generative Fill

Submit a generative fill job and poll until it succeeds or fails.

  1. Submit the generative fill request referencing the source image and mask by URL. The API queues the job and returns a job id.
  2. Poll the fill job status, repeating while it is pending or running and branching once it succeeds or fails.
  3. Surface the filled output image URLs from the succeeded job.
  4. Surface the error details from the failed fill job.
What you'll need to have ready
  • imageUrl: Publicly accessible URL of the source image to fill.
  • maskUrl: Publicly accessible URL of the mask image defining the fill region.
  • prompt: Text prompt describing what to fill in the masked area.
  • negativePrompt: Text describing what to avoid in the filled area.
  • numVariations: Number of variations to generate (1 to 4).
For your developer

Arazzo workflow adobe-creative-suite:firefly-generative-fill, 4 operations: fillImageAsync → getGenerationStatus → getGenerationStatus → getGenerationStatus. Specs on APIs.io.