OptionalcontentOptionalmaskSelected areas of a background image that Firefly uses to fill the source image.
Optional Minimum MaximumnumGenerate this number of variations. Defaults to the number of seed images, or to 1 if you do not specify seeds. 1 4
OptionalplacementThe position of the source image after Firefly adjusts it. The value describes the horizontal and vertical placement and dimensions of the image in the output. Note you cannot use placement for source images when you also apply a mask image.
Min Length Max LengthpromptA text prompt up to 1024 characters. The longer the prompt the better Firefly performs. 1 1024
Optional Min Items Max ItemsseedsArray of seed image IDs. These reference images help ensure consistent image generation across multiple API calls.
If specified along with numVariations, the number of seeds must equal numVariations.
1
4
OptionalsizeThe desired width and height for the final image in pixels. The supported sizes for the output images are:
Optionalstyle
The image to expand. Use a URL or an
uploadIDas the source for the image. Firefly only allows these listed domains for input URLs in the request:
.amazonaws.comwindows.netdropboxusercontent.comstorage.googleapis.com