capabilities.work

Firefly Generative Expand Image

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

Recipe · 4 steps

Firefly Generative Expand Image

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

  1. Submit the generative expand request referencing the source image by URL and the target canvas size. The API queues the job and returns a job id.
  2. Poll the expand job status, repeating while it is pending or running and branching once it succeeds or fails.
  3. Surface the expanded output image URLs from the succeeded job.
  4. Surface the error details from the failed expand job.
What you'll need to have ready
  • imageUrl: Publicly accessible URL of the source image to expand.
  • prompt: Text prompt to guide what content fills the expanded areas.
  • width: Target expanded canvas width in pixels.
  • height: Target expanded canvas height in pixels.
  • numVariations: Number of variations to generate (1 to 4).
For your developer

Arazzo workflow adobe-creative-suite:firefly-expand-image, 4 operations: expandImageAsync → getGenerationStatus → getGenerationStatus → getGenerationStatus. Specs on APIs.io.