Edit images using a text prompt and optional mask with GPT Image 2.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Text prompt describing the desired edit.
1Input images to edit. Each item is a URL or Base64-encoded string.
1Output image resolution.
1024x1024, 1536x1024, 1024x1536, 2048x2048, 2048x1152, 3840x2160, 2160x3840, auto Number of edited images to generate.
1 <= x <= 4Optional mask image (URL or Base64-encoded) to specify the edit region.
Output image format.
png, jpeg, webp Accepted - Task created successfully