@@ -53,7 +53,7 @@ Complete configuration reference for the Image Generation API.
5353
5454** ` DEFAULT_MODEL ` **
5555- Default model for generation/editing when not specified in request
56- - Example: ` gpt-image-1 ` , ` dall-e-3 `
56+ - Example: ` gpt-image-1 ` , ` gpt-image-1.5 `
5757- Optional - if not set, first available model is used
5858
5959### Response Configuration
@@ -109,27 +109,51 @@ Complete configuration reference for the Image Generation API.
109109
110110### OpenAI Models
111111
112- ** dall-e-2**
113- - Aspect Ratios: ` 1:1 ` only
112+ ** gpt-image-1.5** (latest)
113+ - Aspect Ratios: ` 1:1 ` , ` 2:3 ` , ` 3:2 `
114+ - Quality: ` auto ` , ` high ` , ` medium ` , ` low `
115+ - Max Images (n): 4
116+ - Editing: Yes (mask-based)
117+
118+ ** gpt-image-1**
119+ - Aspect Ratios: ` 1:1 ` , ` 16:9 ` , ` 9:16 `
114120- Quality: Not supported
115121- Max Images (n): 4
116122- Editing: Yes (mask-based)
117123
118- ** dall-e-3**
124+ ** gpt-image-1-mini**
125+ - Aspect Ratios: ` 1:1 ` , ` 16:9 ` , ` 9:16 `
126+ - Quality: ` low ` , ` medium ` , ` high `
127+ - Max Images (n): 4
128+ - Editing: Yes (mask-based)
129+
130+ ** dall-e-3** * (deprecated — shutting down May 12, 2026)*
119131- Aspect Ratios: ` 1:1 ` , ` 16:9 ` , ` 9:16 `
120132- Quality: ` standard ` , ` hd `
121133- Max Images (n): 1
122134- Editing: No
123135
124- ** gpt-image-1 * *
125- - Aspect Ratios: ` 1:1 ` , ` 16:9 ` , ` 9:16 `
136+ ** dall-e-2 ** * (deprecated — shutting down May 12, 2026) *
137+ - Aspect Ratios: ` 1:1 ` only
126138- Quality: Not supported
127139- Max Images (n): 4
128140- Editing: Yes (mask-based)
129141
130142### Google Gemini Models
131143
132- ** gemini-2.0-flash-preview-image-generation**
144+ ** gemini-2.5-flash-image** (recommended)
145+ - Aspect Ratios: ` 1:1 ` , ` 16:9 ` , ` 9:16 ` , ` 4:3 ` , ` 3:4 ` , ` 2:3 ` , ` 3:2 `
146+ - Quality: Not supported
147+ - Max Images (n): 4
148+ - Editing: Yes (prompt-based)
149+
150+ ** gemini-3-pro-image-preview** (preview)
151+ - Aspect Ratios: ` 1:1 ` , ` 2:3 ` , ` 3:2 ` , ` 3:4 ` , ` 4:3 ` , ` 4:5 ` , ` 5:4 ` , ` 9:16 ` , ` 16:9 ` , ` 21:9 `
152+ - Quality: Not supported
153+ - Max Images (n): 4
154+ - Editing: Yes (prompt-based)
155+
156+ ** gemini-2.0-flash-preview-image-generation** * (deprecated — shutting down March 31, 2026)*
133157- Aspect Ratios: ` 1:1 ` , ` 16:9 ` , ` 9:16 ` , ` 4:3 ` , ` 3:4 `
134158- Quality: Not supported
135159- Max Images (n): 4
@@ -187,7 +211,7 @@ Set `provider="openai"` or `provider="gemini"` in requests.
187211
188212``` json
189213{
190- "model" : " dall-e-3 " // or null for auto-select
214+ "model" : " gpt-image-1 " // or null for auto-select
191215}
192216```
193217
@@ -201,13 +225,15 @@ Leave `null` to use first available model for provider.
201225}
202226```
203227
204- Options: ` 1:1 ` , ` 16:9 ` (landscape), ` 9:16 ` (portrait), ` 4:3 ` , ` 3:4 `
228+ Options: ` 1:1 ` , ` 16:9 ` (landscape), ` 9:16 ` (portrait), ` 4:3 ` , ` 3:4 ` , ` 2:3 ` (tall portrait), ` 3:2 ` (wide landscape)
205229
206230Model compatibility:
207- - dall-e-2: ` 1:1 ` only
208- - dall-e-3: ` 1:1 ` , ` 16:9 ` , ` 9:16 `
209- - gpt-image-1: ` 1:1 ` , ` 16:9 ` , ` 9:16 `
210- - Gemini models: All ratios
231+ - gpt-image-1.5: ` 1:1 ` , ` 2:3 ` , ` 3:2 `
232+ - gpt-image-1 / gpt-image-1-mini: ` 1:1 ` , ` 16:9 ` , ` 9:16 `
233+ - gemini-2.5-flash-image: ` 1:1 ` , ` 16:9 ` , ` 9:16 ` , ` 4:3 ` , ` 3:4 ` , ` 2:3 ` , ` 3:2 `
234+ - gemini-3-pro-image-preview: All 10 ratios including ` 4:5 ` , ` 5:4 ` , ` 21:9 `
235+ - dall-e-3 (deprecated): ` 1:1 ` , ` 16:9 ` , ` 9:16 `
236+ - dall-e-2 (deprecated): ` 1:1 ` only
211237
212238### Quality
213239
@@ -217,8 +243,11 @@ Model compatibility:
217243}
218244```
219245
220- - ` standard ` : Faster generation
221- - ` hd ` : Higher detail (dall-e-3 only)
246+ Values depend on model:
247+ - dall-e-3: ` standard ` , ` hd `
248+ - gpt-image-1.5: ` auto ` , ` high ` , ` medium ` , ` low `
249+ - gpt-image-1-mini: ` low ` , ` medium ` , ` high `
250+ - Other models: quality parameter ignored
222251
223252### Number of Images
224253
@@ -230,6 +259,7 @@ Model compatibility:
230259
231260Constraints:
232261- dall-e-3: max 1
262+ - imagen-4.0-ultra: max 1
233263- Others: max 4
234264
235265## Image Editing
@@ -238,7 +268,7 @@ The `/edit` endpoint supports two editing modes:
238268
239269### Mask-based Editing (OpenAI)
240270
241- Used with ` dall-e-2 ` and ` gpt-image-1 ` . Requires:
271+ Used with ` gpt-image-1 ` , ` gpt-image-1.5 ` , ` gpt-image-1-mini ` , and ` dall-e-2 ` . Requires:
242272- ` image ` : Source image (upload or URL)
243273- ` mask ` : PNG with transparent areas marking regions to edit
244274- ` prompt ` : Description of what to generate in masked area
@@ -247,7 +277,7 @@ The mask should have transparent (alpha=0) pixels where editing should occur.
247277
248278### Prompt-based Editing (Gemini)
249279
250- Used with ` gemini-2.0 -flash-preview- image-generation ` . Requires:
280+ Used with ` gemini-2.5 -flash-image ` , ` gemini-3-pro- image-preview ` , and other Gemini models . Requires:
251281- ` image ` : Source image (upload or URL)
252282- ` prompt ` : Natural language description of the edit
253283
0 commit comments