OptionalbackgroundBackground type for the generated image.
transparent: Generate image with transparent backgroundopaque: Generate image with opaque backgroundauto: Let the model decide based on the promptOptionalinputControl how much effort the model will exert to match the style and features,
especially facial features, of input images. This parameter is only supported
for gpt-image-1. Unsupported for gpt-image-1-mini.
high: Higher fidelity to input imageslow: Lower fidelity to input imagesOptionalinputOptional mask for inpainting. Use this to specify areas of an image that should be regenerated.
OptionalmodelThe image generation model to use.
OptionalmoderationModeration level for the generated image.
auto: Standard moderationlow: Less restrictive moderationOptionaloutputCompression level for the output image (0-100). Only applies to JPEG and WebP formats.
OptionaloutputThe output format of the generated image.
OptionalpartialNumber of partial images to generate in streaming mode (0-3). When set, the model will return partial images as they are generated, providing faster visual feedback.
OptionalqualityThe quality of the generated image.
low: Faster generation, lower qualitymedium: Balanced generation time and qualityhigh: Slower generation, higher qualityauto: Let the model decide based on the promptOptionalsizeThe size of the generated image.
1024x1024: Square format1024x1536: Portrait format1536x1024: Landscape formatauto: Let the model decide based on the prompt
Options for the Image Generation tool.