OptionalcontentOptionalcustomInclude the specific custom model ID when a custom model type is designated in the x-model-version header parameter.
Optional Max LengthnegativeA negative prompt of things Firefly will try to avoid generating in the image. Not supported for Firefly Custom Models on Image Model 3 or Firefly Custom Models on Image Model 4. 1024
Optional Minimum MaximumnumThe number of variations to generate. numVariations defaults to the number of seed images, or to 1 if you do not specify seeds.
1
4
Min Length Max LengthpromptA text prompt to support the generation of an image. 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 (like en-US). When a locale is set, the prompt will be biased to generate more relevant content for that region. If not specified, the locale will be auto-detected based on your profile and the accepted language header.
Optional Min Items Max ItemsseedsAn array of seed image IDs. These reference images help ensure consistent image generation across multiple API calls. For example, use the same seed to generate a similar image in different styles. If specified along with numVariations, the number of seeds provided must equal numVariations.
1
4
OptionalsizeThe desired width and height for the final image, in pixels. Supported sizes for the output images with image3 are:
image4 are: OptionalstructureAn object with the reference image details for structure.
OptionalstyleAn object with the reference image details for style.
OptionalupsamplerOnly supported with the model version image4_custom. The default setting upscales generated images to 2k. The low_creativity setting refines the image generation by removing distortions, smoothing textures, and sometimes adding details (like freckles to faces in close-up). This setting is recommended for generating images with human subjects.
Optional Minimum MaximumvisualAdjust the overall intensity of your photo's characteristics, such as contrast, shadow, and hue. This is not supported with the model version image4_custom.
2
10
Directs the style of a generated image to be photographic or like fine art.