GPT Image 2 Edit
Authorizations
Bearer authentication using API key
Body
Request payload
Request format for image generation models
Array of input images, which can be data URL or image URL
1 - 16 elementsModel name to use for the request
openai/gpt-image-2-edit Text prompt for generation
Output size. Choose a preset, or set to "custom" to specify an arbitrary size; the width and height fields only take effect when size is "custom".
1024x1024, 512x512, 768x1024, 576x1024, 1024x768, 1024x576, auto, custom Height of the output. Only takes effect when size is "custom".
Mask image for inpainting, it can be data URL or image URL
Content moderation strategy
auto, low Number of outputs to generate
1 <= x <= 10Output format for the 3D model
jpg, png Quality option
low, medium, high Width of the output. Only takes effect when size is "custom".
