capabilities.work

Firefly Text-to-Image Generation

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

Recipe · 4 steps

Firefly Text-to-Image Generation

Generate images from a text prompt and poll the async job to completion.

  1. Submit the text-to-image generation request. The API accepts the job and returns a job id used for polling.
  2. Poll the generation job status. Repeats until the job leaves the pending or running state, then branches on success or failure.
  3. Surface the generated output images from the succeeded job.
  4. Surface the error details from the failed generation job.
What you'll need to have ready
  • prompt: Text description of the image to generate.
  • negativePrompt: Text description of elements to avoid in the generated image.
  • contentClass: Broad content category to guide generation (photo or art).
  • numVariations: Number of image variations to generate (1 to 4).
  • width: Output image width in pixels.
  • height: Output image height in pixels.
For your developer

Arazzo workflow adobe-creative-suite:firefly-text-to-image, 4 operations: generateImagesAsync → getGenerationStatus → getGenerationStatus → getGenerationStatus. Specs on APIs.io.