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
with Adobe Creative Suite
Generate images from a text prompt and poll the async job to completion.
- Submit the text-to-image generation request. The API accepts the job and returns a job id used for polling.
- Poll the generation job status. Repeats until the job leaves the pending or running state, then branches on success or failure.
- Surface the generated output images from the succeeded job.
- 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.