Skip to main content
POST
GPT Image 1 Mini — Edit Image
Edit and transform existing images using OpenAI’s GPT Image 1 Mini model. Provide a reference image along with a text prompt to guide the editing process.

Request Body

string
required
Model slug. Use openai/gpt-image-1-mini/edit-image for image editing.
object
required
Input parameters for image editing.
string
HTTPS URL to receive a webhook notification when the job completes or fails.

Pricing

Base cost: 11,000 micro-cents per request ($0.011)
Fixed cost: 11,000 micro-cents ($0.011) per request. No dynamic pricing factors.

Response

string
Unique identifier for the submitted job.
string
Initial job status. Always "pending" on successful submission.
string
ISO 8601 timestamp of the estimated completion time.
number
The cost of the job in micro-cents.

Code Examples