Required. Selected areas of a background image that Firefly uses to fill the source image.
Optional Max LengthnegativeAn optional text prompt up to 1024 characters. Avoid these characteristics in the generated image. Not supported for Firefly Custom Models on Image Model 3 or Firefly Custom Models on Image Model 4. 1024
Optional Minimum MaximumnumGenerate this number of variations. numVariations defaults to the number of seed images, or to 1 if you do not specify seeds.
1
4
Optional Min Length Max LengthpromptAn optional text prompt up to 1024 characters. The longer the prompt the better Firefly performs. 1 1024
OptionalpromptA hyphen-separated string combining the ISO 639-1 language code and the ISO 3166-1 region, such as en-US. When a locale is set, the prompt will be biased to generate more relevant content for that region. The locale will be auto-detected if not specified based on your profile and the accepted language header.
Optional Min Items Max ItemsseedsArray of seed image IDs. These reference images help ensure consistent image generation across multiple API calls. For example, you can use the same seed to generate a similar image with different styles. If specified along with numVariations, the number of seeds must equal numVariations.
1
4
OptionalsizeThe desired width and height for the final expanded image in pixels. The supported sizes for the output images are:
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