SpyBara
Go Premium

Reference 2026-08-19 21:01 UTC to 2026-08-20 23:59 UTC

23 files changed +1,337 −430. View all changes and history on the product overview
2026
Mon 31 23:00 Sat 29 07:02 Fri 28 08:02 Thu 27 21:01 Wed 26 22:57 Tue 25 21:02 Mon 24 23:01 Fri 21 21:58 Thu 20 23:59 Wed 19 21:01 Sun 16 16:58 Sat 15 02:02 Fri 14 23:57 Thu 13 22:00 Wed 12 16:01 Mon 10 22:00 Sat 8 00:59 Fri 7 21:59 Thu 6 18:59 Wed 5 02:01 Mon 3 21:58
Details

2190 2190 

2191 - `background: optional "transparent" or "opaque" or "auto"`2191 - `background: optional "transparent" or "opaque" or "auto"`

2192 2192 

2193 Background type for the generated image. One of `transparent`,2193 Set the background of the generated image. One of `transparent`,

2194 `opaque`, or `auto`. Default: `auto`.2194 `opaque`, or `auto`. Transparent backgrounds are available for

2195 supported GPT Image models. For `gpt-image-2` and

2196 `gpt-image-2-2026-04-21`, this support is in preview. When using

2197 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

2195 2198 

2196 - `"transparent"`2199 - `"transparent"`

2197 2200 


2220 2223 

2221 Base64-encoded mask image.2224 Base64-encoded mask image.

2222 2225 

2223 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`2226 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

2224 2227 

2225 The image generation model to use. Default: `gpt-image-1`.2228 The image generation model to use. One of `gpt-image-1`,

2229 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

2230 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

2231 `gpt-image-1`.

2226 2232 

2227 - `string`2233 - `string`

2228 2234 

2229 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`2235 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

2230 2236 

2231 The image generation model to use. Default: `gpt-image-1`.2237 The image generation model to use. One of `gpt-image-1`,

2238 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

2239 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

2240 `gpt-image-1`.

2232 2241 

2233 - `"gpt-image-1"`2242 - `"gpt-image-1"`

2234 2243 


2236 2245 

2237 - `"gpt-image-1.5"`2246 - `"gpt-image-1.5"`

2238 2247 

2248 - `"gpt-image-2"`

2249 

2250 - `"gpt-image-2-2026-04-21"`

2251 

2239 - `moderation: optional "auto" or "low"`2252 - `moderation: optional "auto" or "low"`

2240 2253 

2241 Moderation level for the generated image. Default: `auto`.2254 Moderation level for the generated image. Default: `auto`.


3353 3366 

3354 - `background: optional "transparent" or "opaque" or "auto"`3367 - `background: optional "transparent" or "opaque" or "auto"`

3355 3368 

3356 Background type for the generated image. One of `transparent`,3369 Set the background of the generated image. One of `transparent`,

3357 `opaque`, or `auto`. Default: `auto`.3370 `opaque`, or `auto`. Transparent backgrounds are available for

3371 supported GPT Image models. For `gpt-image-2` and

3372 `gpt-image-2-2026-04-21`, this support is in preview. When using

3373 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

3358 3374 

3359 - `"transparent"`3375 - `"transparent"`

3360 3376 


3383 3399 

3384 Base64-encoded mask image.3400 Base64-encoded mask image.

3385 3401 

3386 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`3402 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

3387 3403 

3388 The image generation model to use. Default: `gpt-image-1`.3404 The image generation model to use. One of `gpt-image-1`,

3405 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

3406 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

3407 `gpt-image-1`.

3389 3408 

3390 - `string`3409 - `string`

3391 3410 

3392 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`3411 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

3393 3412 

3394 The image generation model to use. Default: `gpt-image-1`.3413 The image generation model to use. One of `gpt-image-1`,

3414 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

3415 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

3416 `gpt-image-1`.

3395 3417 

3396 - `"gpt-image-1"`3418 - `"gpt-image-1"`

3397 3419 


3399 3421 

3400 - `"gpt-image-1.5"`3422 - `"gpt-image-1.5"`

3401 3423 

3424 - `"gpt-image-2"`

3425 

3426 - `"gpt-image-2-2026-04-21"`

3427 

3402 - `moderation: optional "auto" or "low"`3428 - `moderation: optional "auto" or "low"`

3403 3429 

3404 Moderation level for the generated image. Default: `auto`.3430 Moderation level for the generated image. Default: `auto`.


6678 6704 

6679 - `background: optional "transparent" or "opaque" or "auto"`6705 - `background: optional "transparent" or "opaque" or "auto"`

6680 6706 

6681 Background type for the generated image. One of `transparent`,6707 Set the background of the generated image. One of `transparent`,

6682 `opaque`, or `auto`. Default: `auto`.6708 `opaque`, or `auto`. Transparent backgrounds are available for

6709 supported GPT Image models. For `gpt-image-2` and

6710 `gpt-image-2-2026-04-21`, this support is in preview. When using

6711 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

6683 6712 

6684 - `"transparent"`6713 - `"transparent"`

6685 6714 


6708 6737 

6709 Base64-encoded mask image.6738 Base64-encoded mask image.

6710 6739 

6711 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`6740 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

6712 6741 

6713 The image generation model to use. Default: `gpt-image-1`.6742 The image generation model to use. One of `gpt-image-1`,

6743 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

6744 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

6745 `gpt-image-1`.

6714 6746 

6715 - `string`6747 - `string`

6716 6748 

6717 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`6749 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

6718 6750 

6719 The image generation model to use. Default: `gpt-image-1`.6751 The image generation model to use. One of `gpt-image-1`,

6752 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

6753 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

6754 `gpt-image-1`.

6720 6755 

6721 - `"gpt-image-1"`6756 - `"gpt-image-1"`

6722 6757 


6724 6759 

6725 - `"gpt-image-1.5"`6760 - `"gpt-image-1.5"`

6726 6761 

6762 - `"gpt-image-2"`

6763 

6764 - `"gpt-image-2-2026-04-21"`

6765 

6727 - `moderation: optional "auto" or "low"`6766 - `moderation: optional "auto" or "low"`

6728 6767 

6729 Moderation level for the generated image. Default: `auto`.6768 Moderation level for the generated image. Default: `auto`.


7719 7758 

7720 - `background: optional "transparent" or "opaque" or "auto"`7759 - `background: optional "transparent" or "opaque" or "auto"`

7721 7760 

7722 Background type for the generated image. One of `transparent`,7761 Set the background of the generated image. One of `transparent`,

7723 `opaque`, or `auto`. Default: `auto`.7762 `opaque`, or `auto`. Transparent backgrounds are available for

7763 supported GPT Image models. For `gpt-image-2` and

7764 `gpt-image-2-2026-04-21`, this support is in preview. When using

7765 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

7724 7766 

7725 - `"transparent"`7767 - `"transparent"`

7726 7768 


7749 7791 

7750 Base64-encoded mask image.7792 Base64-encoded mask image.

7751 7793 

7752 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`7794 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

7753 7795 

7754 The image generation model to use. Default: `gpt-image-1`.7796 The image generation model to use. One of `gpt-image-1`,

7797 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

7798 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

7799 `gpt-image-1`.

7755 7800 

7756 - `string`7801 - `string`

7757 7802 

7758 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`7803 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

7759 7804 

7760 The image generation model to use. Default: `gpt-image-1`.7805 The image generation model to use. One of `gpt-image-1`,

7806 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

7807 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

7808 `gpt-image-1`.

7761 7809 

7762 - `"gpt-image-1"`7810 - `"gpt-image-1"`

7763 7811 


7765 7813 

7766 - `"gpt-image-1.5"`7814 - `"gpt-image-1.5"`

7767 7815 

7816 - `"gpt-image-2"`

7817 

7818 - `"gpt-image-2-2026-04-21"`

7819 

7768 - `moderation: optional "auto" or "low"`7820 - `moderation: optional "auto" or "low"`

7769 7821 

7770 Moderation level for the generated image. Default: `auto`.7822 Moderation level for the generated image. Default: `auto`.


9879 9931 

9880 - `background: optional "transparent" or "opaque" or "auto"`9932 - `background: optional "transparent" or "opaque" or "auto"`

9881 9933 

9882 Background type for the generated image. One of `transparent`,9934 Set the background of the generated image. One of `transparent`,

9883 `opaque`, or `auto`. Default: `auto`.9935 `opaque`, or `auto`. Transparent backgrounds are available for

9936 supported GPT Image models. For `gpt-image-2` and

9937 `gpt-image-2-2026-04-21`, this support is in preview. When using

9938 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

9884 9939 

9885 - `"transparent"`9940 - `"transparent"`

9886 9941 


9909 9964 

9910 Base64-encoded mask image.9965 Base64-encoded mask image.

9911 9966 

9912 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`9967 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

9913 9968 

9914 The image generation model to use. Default: `gpt-image-1`.9969 The image generation model to use. One of `gpt-image-1`,

9970 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

9971 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

9972 `gpt-image-1`.

9915 9973 

9916 - `string`9974 - `string`

9917 9975 

9918 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`9976 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

9919 9977 

9920 The image generation model to use. Default: `gpt-image-1`.9978 The image generation model to use. One of `gpt-image-1`,

9979 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

9980 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

9981 `gpt-image-1`.

9921 9982 

9922 - `"gpt-image-1"`9983 - `"gpt-image-1"`

9923 9984 


9925 9986 

9926 - `"gpt-image-1.5"`9987 - `"gpt-image-1.5"`

9927 9988 

9989 - `"gpt-image-2"`

9990 

9991 - `"gpt-image-2-2026-04-21"`

9992 

9928 - `moderation: optional "auto" or "low"`9993 - `moderation: optional "auto" or "low"`

9929 9994 

9930 Moderation level for the generated image. Default: `auto`.9995 Moderation level for the generated image. Default: `auto`.

Details

2320 2320 

2321 - `background: optional "transparent" or "opaque" or "auto"`2321 - `background: optional "transparent" or "opaque" or "auto"`

2322 2322 

2323 Background type for the generated image. One of `transparent`,2323 Set the background of the generated image. One of `transparent`,

2324 `opaque`, or `auto`. Default: `auto`.2324 `opaque`, or `auto`. Transparent backgrounds are available for

2325 supported GPT Image models. For `gpt-image-2` and

2326 `gpt-image-2-2026-04-21`, this support is in preview. When using

2327 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

2325 2328 

2326 - `"transparent"`2329 - `"transparent"`

2327 2330 


2350 2353 

2351 Base64-encoded mask image.2354 Base64-encoded mask image.

2352 2355 

2353 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`2356 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

2354 2357 

2355 The image generation model to use. Default: `gpt-image-1`.2358 The image generation model to use. One of `gpt-image-1`,

2359 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

2360 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

2361 `gpt-image-1`.

2356 2362 

2357 - `string`2363 - `string`

2358 2364 

2359 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`2365 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

2360 2366 

2361 The image generation model to use. Default: `gpt-image-1`.2367 The image generation model to use. One of `gpt-image-1`,

2368 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

2369 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

2370 `gpt-image-1`.

2362 2371 

2363 - `"gpt-image-1"`2372 - `"gpt-image-1"`

2364 2373 


2366 2375 

2367 - `"gpt-image-1.5"`2376 - `"gpt-image-1.5"`

2368 2377 

2378 - `"gpt-image-2"`

2379 

2380 - `"gpt-image-2-2026-04-21"`

2381 

2369 - `moderation: optional "auto" or "low"`2382 - `moderation: optional "auto" or "low"`

2370 2383 

2371 Moderation level for the generated image. Default: `auto`.2384 Moderation level for the generated image. Default: `auto`.


3483 3496 

3484 - `background: optional "transparent" or "opaque" or "auto"`3497 - `background: optional "transparent" or "opaque" or "auto"`

3485 3498 

3486 Background type for the generated image. One of `transparent`,3499 Set the background of the generated image. One of `transparent`,

3487 `opaque`, or `auto`. Default: `auto`.3500 `opaque`, or `auto`. Transparent backgrounds are available for

3501 supported GPT Image models. For `gpt-image-2` and

3502 `gpt-image-2-2026-04-21`, this support is in preview. When using

3503 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

3488 3504 

3489 - `"transparent"`3505 - `"transparent"`

3490 3506 


3513 3529 

3514 Base64-encoded mask image.3530 Base64-encoded mask image.

3515 3531 

3516 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`3532 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

3517 3533 

3518 The image generation model to use. Default: `gpt-image-1`.3534 The image generation model to use. One of `gpt-image-1`,

3535 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

3536 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

3537 `gpt-image-1`.

3519 3538 

3520 - `string`3539 - `string`

3521 3540 

3522 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`3541 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

3523 3542 

3524 The image generation model to use. Default: `gpt-image-1`.3543 The image generation model to use. One of `gpt-image-1`,

3544 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

3545 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

3546 `gpt-image-1`.

3525 3547 

3526 - `"gpt-image-1"`3548 - `"gpt-image-1"`

3527 3549 


3529 3551 

3530 - `"gpt-image-1.5"`3552 - `"gpt-image-1.5"`

3531 3553 

3554 - `"gpt-image-2"`

3555 

3556 - `"gpt-image-2-2026-04-21"`

3557 

3532 - `moderation: optional "auto" or "low"`3558 - `moderation: optional "auto" or "low"`

3533 3559 

3534 Moderation level for the generated image. Default: `auto`.3560 Moderation level for the generated image. Default: `auto`.


6455 6481 

6456 - `background: optional "transparent" or "opaque" or "auto"`6482 - `background: optional "transparent" or "opaque" or "auto"`

6457 6483 

6458 Background type for the generated image. One of `transparent`,6484 Set the background of the generated image. One of `transparent`,

6459 `opaque`, or `auto`. Default: `auto`.6485 `opaque`, or `auto`. Transparent backgrounds are available for

6486 supported GPT Image models. For `gpt-image-2` and

6487 `gpt-image-2-2026-04-21`, this support is in preview. When using

6488 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

6460 6489 

6461 - `"transparent"`6490 - `"transparent"`

6462 6491 


6485 6514 

6486 Base64-encoded mask image.6515 Base64-encoded mask image.

6487 6516 

6488 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`6517 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

6489 6518 

6490 The image generation model to use. Default: `gpt-image-1`.6519 The image generation model to use. One of `gpt-image-1`,

6520 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

6521 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

6522 `gpt-image-1`.

6491 6523 

6492 - `string`6524 - `string`

6493 6525 

6494 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`6526 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

6495 6527 

6496 The image generation model to use. Default: `gpt-image-1`.6528 The image generation model to use. One of `gpt-image-1`,

6529 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

6530 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

6531 `gpt-image-1`.

6497 6532 

6498 - `"gpt-image-1"`6533 - `"gpt-image-1"`

6499 6534 


6501 6536 

6502 - `"gpt-image-1.5"`6537 - `"gpt-image-1.5"`

6503 6538 

6539 - `"gpt-image-2"`

6540 

6541 - `"gpt-image-2-2026-04-21"`

6542 

6504 - `moderation: optional "auto" or "low"`6543 - `moderation: optional "auto" or "low"`

6505 6544 

6506 Moderation level for the generated image. Default: `auto`.6545 Moderation level for the generated image. Default: `auto`.


7614 7653 

7615 - `background: optional "transparent" or "opaque" or "auto"`7654 - `background: optional "transparent" or "opaque" or "auto"`

7616 7655 

7617 Background type for the generated image. One of `transparent`,7656 Set the background of the generated image. One of `transparent`,

7618 `opaque`, or `auto`. Default: `auto`.7657 `opaque`, or `auto`. Transparent backgrounds are available for

7658 supported GPT Image models. For `gpt-image-2` and

7659 `gpt-image-2-2026-04-21`, this support is in preview. When using

7660 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

7619 7661 

7620 - `"transparent"`7662 - `"transparent"`

7621 7663 


7644 7686 

7645 Base64-encoded mask image.7687 Base64-encoded mask image.

7646 7688 

7647 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`7689 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

7648 7690 

7649 The image generation model to use. Default: `gpt-image-1`.7691 The image generation model to use. One of `gpt-image-1`,

7692 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

7693 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

7694 `gpt-image-1`.

7650 7695 

7651 - `string`7696 - `string`

7652 7697 

7653 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`7698 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

7654 7699 

7655 The image generation model to use. Default: `gpt-image-1`.7700 The image generation model to use. One of `gpt-image-1`,

7701 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

7702 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

7703 `gpt-image-1`.

7656 7704 

7657 - `"gpt-image-1"`7705 - `"gpt-image-1"`

7658 7706 


7660 7708 

7661 - `"gpt-image-1.5"`7709 - `"gpt-image-1.5"`

7662 7710 

7711 - `"gpt-image-2"`

7712 

7713 - `"gpt-image-2-2026-04-21"`

7714 

7663 - `moderation: optional "auto" or "low"`7715 - `moderation: optional "auto" or "low"`

7664 7716 

7665 Moderation level for the generated image. Default: `auto`.7717 Moderation level for the generated image. Default: `auto`.

Details

2182 2182 

2183 - `background: optional "transparent" or "opaque" or "auto"`2183 - `background: optional "transparent" or "opaque" or "auto"`

2184 2184 

2185 Background type for the generated image. One of `transparent`,2185 Set the background of the generated image. One of `transparent`,

2186 `opaque`, or `auto`. Default: `auto`.2186 `opaque`, or `auto`. Transparent backgrounds are available for

2187 supported GPT Image models. For `gpt-image-2` and

2188 `gpt-image-2-2026-04-21`, this support is in preview. When using

2189 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

2187 2190 

2188 - `"transparent"`2191 - `"transparent"`

2189 2192 


2212 2215 

2213 Base64-encoded mask image.2216 Base64-encoded mask image.

2214 2217 

2215 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`2218 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

2216 2219 

2217 The image generation model to use. Default: `gpt-image-1`.2220 The image generation model to use. One of `gpt-image-1`,

2221 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

2222 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

2223 `gpt-image-1`.

2218 2224 

2219 - `string`2225 - `string`

2220 2226 

2221 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`2227 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

2222 2228 

2223 The image generation model to use. Default: `gpt-image-1`.2229 The image generation model to use. One of `gpt-image-1`,

2230 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

2231 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

2232 `gpt-image-1`.

2224 2233 

2225 - `"gpt-image-1"`2234 - `"gpt-image-1"`

2226 2235 


2228 2237 

2229 - `"gpt-image-1.5"`2238 - `"gpt-image-1.5"`

2230 2239 

2240 - `"gpt-image-2"`

2241 

2242 - `"gpt-image-2-2026-04-21"`

2243 

2231 - `moderation: optional "auto" or "low"`2244 - `moderation: optional "auto" or "low"`

2232 2245 

2233 Moderation level for the generated image. Default: `auto`.2246 Moderation level for the generated image. Default: `auto`.


3345 3358 

3346 - `background: optional "transparent" or "opaque" or "auto"`3359 - `background: optional "transparent" or "opaque" or "auto"`

3347 3360 

3348 Background type for the generated image. One of `transparent`,3361 Set the background of the generated image. One of `transparent`,

3349 `opaque`, or `auto`. Default: `auto`.3362 `opaque`, or `auto`. Transparent backgrounds are available for

3363 supported GPT Image models. For `gpt-image-2` and

3364 `gpt-image-2-2026-04-21`, this support is in preview. When using

3365 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

3350 3366 

3351 - `"transparent"`3367 - `"transparent"`

3352 3368 


3375 3391 

3376 Base64-encoded mask image.3392 Base64-encoded mask image.

3377 3393 

3378 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`3394 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

3379 3395 

3380 The image generation model to use. Default: `gpt-image-1`.3396 The image generation model to use. One of `gpt-image-1`,

3397 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

3398 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

3399 `gpt-image-1`.

3381 3400 

3382 - `string`3401 - `string`

3383 3402 

3384 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`3403 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

3385 3404 

3386 The image generation model to use. Default: `gpt-image-1`.3405 The image generation model to use. One of `gpt-image-1`,

3406 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

3407 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

3408 `gpt-image-1`.

3387 3409 

3388 - `"gpt-image-1"`3410 - `"gpt-image-1"`

3389 3411 


3391 3413 

3392 - `"gpt-image-1.5"`3414 - `"gpt-image-1.5"`

3393 3415 

3416 - `"gpt-image-2"`

3417 

3418 - `"gpt-image-2-2026-04-21"`

3419 

3394 - `moderation: optional "auto" or "low"`3420 - `moderation: optional "auto" or "low"`

3395 3421 

3396 Moderation level for the generated image. Default: `auto`.3422 Moderation level for the generated image. Default: `auto`.


6299 6325 

6300 - `background: optional "transparent" or "opaque" or "auto"`6326 - `background: optional "transparent" or "opaque" or "auto"`

6301 6327 

6302 Background type for the generated image. One of `transparent`,6328 Set the background of the generated image. One of `transparent`,

6303 `opaque`, or `auto`. Default: `auto`.6329 `opaque`, or `auto`. Transparent backgrounds are available for

6330 supported GPT Image models. For `gpt-image-2` and

6331 `gpt-image-2-2026-04-21`, this support is in preview. When using

6332 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

6304 6333 

6305 - `"transparent"`6334 - `"transparent"`

6306 6335 


6329 6358 

6330 Base64-encoded mask image.6359 Base64-encoded mask image.

6331 6360 

6332 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`6361 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

6333 6362 

6334 The image generation model to use. Default: `gpt-image-1`.6363 The image generation model to use. One of `gpt-image-1`,

6364 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

6365 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

6366 `gpt-image-1`.

6335 6367 

6336 - `string`6368 - `string`

6337 6369 

6338 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`6370 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

6339 6371 

6340 The image generation model to use. Default: `gpt-image-1`.6372 The image generation model to use. One of `gpt-image-1`,

6373 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

6374 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

6375 `gpt-image-1`.

6341 6376 

6342 - `"gpt-image-1"`6377 - `"gpt-image-1"`

6343 6378 


6345 6380 

6346 - `"gpt-image-1.5"`6381 - `"gpt-image-1.5"`

6347 6382 

6383 - `"gpt-image-2"`

6384 

6385 - `"gpt-image-2-2026-04-21"`

6386 

6348 - `moderation: optional "auto" or "low"`6387 - `moderation: optional "auto" or "low"`

6349 6388 

6350 Moderation level for the generated image. Default: `auto`.6389 Moderation level for the generated image. Default: `auto`.


8933 8972 

8934 - `background: optional "transparent" or "opaque" or "auto"`8973 - `background: optional "transparent" or "opaque" or "auto"`

8935 8974 

8936 Background type for the generated image. One of `transparent`,8975 Set the background of the generated image. One of `transparent`,

8937 `opaque`, or `auto`. Default: `auto`.8976 `opaque`, or `auto`. Transparent backgrounds are available for

8977 supported GPT Image models. For `gpt-image-2` and

8978 `gpt-image-2-2026-04-21`, this support is in preview. When using

8979 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

8938 8980 

8939 - `"transparent"`8981 - `"transparent"`

8940 8982 


8963 9005 

8964 Base64-encoded mask image.9006 Base64-encoded mask image.

8965 9007 

8966 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`9008 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

8967 9009 

8968 The image generation model to use. Default: `gpt-image-1`.9010 The image generation model to use. One of `gpt-image-1`,

9011 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

9012 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

9013 `gpt-image-1`.

8969 9014 

8970 - `string`9015 - `string`

8971 9016 

8972 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`9017 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

8973 9018 

8974 The image generation model to use. Default: `gpt-image-1`.9019 The image generation model to use. One of `gpt-image-1`,

9020 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

9021 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

9022 `gpt-image-1`.

8975 9023 

8976 - `"gpt-image-1"`9024 - `"gpt-image-1"`

8977 9025 


8979 9027 

8980 - `"gpt-image-1.5"`9028 - `"gpt-image-1.5"`

8981 9029 

9030 - `"gpt-image-2"`

9031 

9032 - `"gpt-image-2-2026-04-21"`

9033 

8982 - `moderation: optional "auto" or "low"`9034 - `moderation: optional "auto" or "low"`

8983 9035 

8984 Moderation level for the generated image. Default: `auto`.9036 Moderation level for the generated image. Default: `auto`.


10096 10148 

10097 - `background: optional "transparent" or "opaque" or "auto"`10149 - `background: optional "transparent" or "opaque" or "auto"`

10098 10150 

10099 Background type for the generated image. One of `transparent`,10151 Set the background of the generated image. One of `transparent`,

10100 `opaque`, or `auto`. Default: `auto`.10152 `opaque`, or `auto`. Transparent backgrounds are available for

10153 supported GPT Image models. For `gpt-image-2` and

10154 `gpt-image-2-2026-04-21`, this support is in preview. When using

10155 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

10101 10156 

10102 - `"transparent"`10157 - `"transparent"`

10103 10158 


10126 10181 

10127 Base64-encoded mask image.10182 Base64-encoded mask image.

10128 10183 

10129 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`10184 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

10130 10185 

10131 The image generation model to use. Default: `gpt-image-1`.10186 The image generation model to use. One of `gpt-image-1`,

10187 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

10188 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

10189 `gpt-image-1`.

10132 10190 

10133 - `string`10191 - `string`

10134 10192 

10135 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`10193 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

10136 10194 

10137 The image generation model to use. Default: `gpt-image-1`.10195 The image generation model to use. One of `gpt-image-1`,

10196 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

10197 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

10198 `gpt-image-1`.

10138 10199 

10139 - `"gpt-image-1"`10200 - `"gpt-image-1"`

10140 10201 


10142 10203 

10143 - `"gpt-image-1.5"`10204 - `"gpt-image-1.5"`

10144 10205 

10206 - `"gpt-image-2"`

10207 

10208 - `"gpt-image-2-2026-04-21"`

10209 

10145 - `moderation: optional "auto" or "low"`10210 - `moderation: optional "auto" or "low"`

10146 10211 

10147 Moderation level for the generated image. Default: `auto`.10212 Moderation level for the generated image. Default: `auto`.


13421 13486 

13422 - `background: optional "transparent" or "opaque" or "auto"`13487 - `background: optional "transparent" or "opaque" or "auto"`

13423 13488 

13424 Background type for the generated image. One of `transparent`,13489 Set the background of the generated image. One of `transparent`,

13425 `opaque`, or `auto`. Default: `auto`.13490 `opaque`, or `auto`. Transparent backgrounds are available for

13491 supported GPT Image models. For `gpt-image-2` and

13492 `gpt-image-2-2026-04-21`, this support is in preview. When using

13493 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

13426 13494 

13427 - `"transparent"`13495 - `"transparent"`

13428 13496 


13451 13519 

13452 Base64-encoded mask image.13520 Base64-encoded mask image.

13453 13521 

13454 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`13522 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

13455 13523 

13456 The image generation model to use. Default: `gpt-image-1`.13524 The image generation model to use. One of `gpt-image-1`,

13525 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

13526 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

13527 `gpt-image-1`.

13457 13528 

13458 - `string`13529 - `string`

13459 13530 

13460 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`13531 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

13461 13532 

13462 The image generation model to use. Default: `gpt-image-1`.13533 The image generation model to use. One of `gpt-image-1`,

13534 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

13535 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

13536 `gpt-image-1`.

13463 13537 

13464 - `"gpt-image-1"`13538 - `"gpt-image-1"`

13465 13539 


13467 13541 

13468 - `"gpt-image-1.5"`13542 - `"gpt-image-1.5"`

13469 13543 

13544 - `"gpt-image-2"`

13545 

13546 - `"gpt-image-2-2026-04-21"`

13547 

13470 - `moderation: optional "auto" or "low"`13548 - `moderation: optional "auto" or "low"`

13471 13549 

13472 Moderation level for the generated image. Default: `auto`.13550 Moderation level for the generated image. Default: `auto`.


14462 14540 

14463 - `background: optional "transparent" or "opaque" or "auto"`14541 - `background: optional "transparent" or "opaque" or "auto"`

14464 14542 

14465 Background type for the generated image. One of `transparent`,14543 Set the background of the generated image. One of `transparent`,

14466 `opaque`, or `auto`. Default: `auto`.14544 `opaque`, or `auto`. Transparent backgrounds are available for

14545 supported GPT Image models. For `gpt-image-2` and

14546 `gpt-image-2-2026-04-21`, this support is in preview. When using

14547 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

14467 14548 

14468 - `"transparent"`14549 - `"transparent"`

14469 14550 


14492 14573 

14493 Base64-encoded mask image.14574 Base64-encoded mask image.

14494 14575 

14495 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`14576 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

14496 14577 

14497 The image generation model to use. Default: `gpt-image-1`.14578 The image generation model to use. One of `gpt-image-1`,

14579 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

14580 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

14581 `gpt-image-1`.

14498 14582 

14499 - `string`14583 - `string`

14500 14584 

14501 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`14585 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

14502 14586 

14503 The image generation model to use. Default: `gpt-image-1`.14587 The image generation model to use. One of `gpt-image-1`,

14588 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

14589 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

14590 `gpt-image-1`.

14504 14591 

14505 - `"gpt-image-1"`14592 - `"gpt-image-1"`

14506 14593 


14508 14595 

14509 - `"gpt-image-1.5"`14596 - `"gpt-image-1.5"`

14510 14597 

14598 - `"gpt-image-2"`

14599 

14600 - `"gpt-image-2-2026-04-21"`

14601 

14511 - `moderation: optional "auto" or "low"`14602 - `moderation: optional "auto" or "low"`

14512 14603 

14513 Moderation level for the generated image. Default: `auto`.14604 Moderation level for the generated image. Default: `auto`.


16622 16713 

16623 - `background: optional "transparent" or "opaque" or "auto"`16714 - `background: optional "transparent" or "opaque" or "auto"`

16624 16715 

16625 Background type for the generated image. One of `transparent`,16716 Set the background of the generated image. One of `transparent`,

16626 `opaque`, or `auto`. Default: `auto`.16717 `opaque`, or `auto`. Transparent backgrounds are available for

16718 supported GPT Image models. For `gpt-image-2` and

16719 `gpt-image-2-2026-04-21`, this support is in preview. When using

16720 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

16627 16721 

16628 - `"transparent"`16722 - `"transparent"`

16629 16723 


16652 16746 

16653 Base64-encoded mask image.16747 Base64-encoded mask image.

16654 16748 

16655 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`16749 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

16656 16750 

16657 The image generation model to use. Default: `gpt-image-1`.16751 The image generation model to use. One of `gpt-image-1`,

16752 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

16753 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

16754 `gpt-image-1`.

16658 16755 

16659 - `string`16756 - `string`

16660 16757 

16661 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`16758 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

16662 16759 

16663 The image generation model to use. Default: `gpt-image-1`.16760 The image generation model to use. One of `gpt-image-1`,

16761 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

16762 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

16763 `gpt-image-1`.

16664 16764 

16665 - `"gpt-image-1"`16765 - `"gpt-image-1"`

16666 16766 


16668 16768 

16669 - `"gpt-image-1.5"`16769 - `"gpt-image-1.5"`

16670 16770 

16771 - `"gpt-image-2"`

16772 

16773 - `"gpt-image-2-2026-04-21"`

16774 

16671 - `moderation: optional "auto" or "low"`16775 - `moderation: optional "auto" or "low"`

16672 16776 

16673 Moderation level for the generated image. Default: `auto`.16777 Moderation level for the generated image. Default: `auto`.

Details

2234 2234 

2235 - `background: optional "transparent" or "opaque" or "auto"`2235 - `background: optional "transparent" or "opaque" or "auto"`

2236 2236 

2237 Background type for the generated image. One of `transparent`,2237 Set the background of the generated image. One of `transparent`,

2238 `opaque`, or `auto`. Default: `auto`.2238 `opaque`, or `auto`. Transparent backgrounds are available for

2239 supported GPT Image models. For `gpt-image-2` and

2240 `gpt-image-2-2026-04-21`, this support is in preview. When using

2241 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

2239 2242 

2240 - `"transparent"`2243 - `"transparent"`

2241 2244 


2264 2267 

2265 Base64-encoded mask image.2268 Base64-encoded mask image.

2266 2269 

2267 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`2270 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

2268 2271 

2269 The image generation model to use. Default: `gpt-image-1`.2272 The image generation model to use. One of `gpt-image-1`,

2273 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

2274 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

2275 `gpt-image-1`.

2270 2276 

2271 - `string`2277 - `string`

2272 2278 

2273 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`2279 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

2274 2280 

2275 The image generation model to use. Default: `gpt-image-1`.2281 The image generation model to use. One of `gpt-image-1`,

2282 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

2283 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

2284 `gpt-image-1`.

2276 2285 

2277 - `"gpt-image-1"`2286 - `"gpt-image-1"`

2278 2287 


2280 2289 

2281 - `"gpt-image-1.5"`2290 - `"gpt-image-1.5"`

2282 2291 

2292 - `"gpt-image-2"`

2293 

2294 - `"gpt-image-2-2026-04-21"`

2295 

2283 - `moderation: optional "auto" or "low"`2296 - `moderation: optional "auto" or "low"`

2284 2297 

2285 Moderation level for the generated image. Default: `auto`.2298 Moderation level for the generated image. Default: `auto`.


3397 3410 

3398 - `background: optional "transparent" or "opaque" or "auto"`3411 - `background: optional "transparent" or "opaque" or "auto"`

3399 3412 

3400 Background type for the generated image. One of `transparent`,3413 Set the background of the generated image. One of `transparent`,

3401 `opaque`, or `auto`. Default: `auto`.3414 `opaque`, or `auto`. Transparent backgrounds are available for

3415 supported GPT Image models. For `gpt-image-2` and

3416 `gpt-image-2-2026-04-21`, this support is in preview. When using

3417 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

3402 3418 

3403 - `"transparent"`3419 - `"transparent"`

3404 3420 


3427 3443 

3428 Base64-encoded mask image.3444 Base64-encoded mask image.

3429 3445 

3430 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`3446 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

3431 3447 

3432 The image generation model to use. Default: `gpt-image-1`.3448 The image generation model to use. One of `gpt-image-1`,

3449 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

3450 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

3451 `gpt-image-1`.

3433 3452 

3434 - `string`3453 - `string`

3435 3454 

3436 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`3455 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

3437 3456 

3438 The image generation model to use. Default: `gpt-image-1`.3457 The image generation model to use. One of `gpt-image-1`,

3458 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

3459 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

3460 `gpt-image-1`.

3439 3461 

3440 - `"gpt-image-1"`3462 - `"gpt-image-1"`

3441 3463 


3443 3465 

3444 - `"gpt-image-1.5"`3466 - `"gpt-image-1.5"`

3445 3467 

3468 - `"gpt-image-2"`

3469 

3470 - `"gpt-image-2-2026-04-21"`

3471 

3446 - `moderation: optional "auto" or "low"`3472 - `moderation: optional "auto" or "low"`

3447 3473 

3448 Moderation level for the generated image. Default: `auto`.3474 Moderation level for the generated image. Default: `auto`.


6722 6748 

6723 - `background: optional "transparent" or "opaque" or "auto"`6749 - `background: optional "transparent" or "opaque" or "auto"`

6724 6750 

6725 Background type for the generated image. One of `transparent`,6751 Set the background of the generated image. One of `transparent`,

6726 `opaque`, or `auto`. Default: `auto`.6752 `opaque`, or `auto`. Transparent backgrounds are available for

6753 supported GPT Image models. For `gpt-image-2` and

6754 `gpt-image-2-2026-04-21`, this support is in preview. When using

6755 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

6727 6756 

6728 - `"transparent"`6757 - `"transparent"`

6729 6758 


6752 6781 

6753 Base64-encoded mask image.6782 Base64-encoded mask image.

6754 6783 

6755 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`6784 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

6756 6785 

6757 The image generation model to use. Default: `gpt-image-1`.6786 The image generation model to use. One of `gpt-image-1`,

6787 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

6788 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

6789 `gpt-image-1`.

6758 6790 

6759 - `string`6791 - `string`

6760 6792 

6761 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`6793 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

6762 6794 

6763 The image generation model to use. Default: `gpt-image-1`.6795 The image generation model to use. One of `gpt-image-1`,

6796 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

6797 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

6798 `gpt-image-1`.

6764 6799 

6765 - `"gpt-image-1"`6800 - `"gpt-image-1"`

6766 6801 


6768 6803 

6769 - `"gpt-image-1.5"`6804 - `"gpt-image-1.5"`

6770 6805 

6806 - `"gpt-image-2"`

6807 

6808 - `"gpt-image-2-2026-04-21"`

6809 

6771 - `moderation: optional "auto" or "low"`6810 - `moderation: optional "auto" or "low"`

6772 6811 

6773 Moderation level for the generated image. Default: `auto`.6812 Moderation level for the generated image. Default: `auto`.


7763 7802 

7764 - `background: optional "transparent" or "opaque" or "auto"`7803 - `background: optional "transparent" or "opaque" or "auto"`

7765 7804 

7766 Background type for the generated image. One of `transparent`,7805 Set the background of the generated image. One of `transparent`,

7767 `opaque`, or `auto`. Default: `auto`.7806 `opaque`, or `auto`. Transparent backgrounds are available for

7807 supported GPT Image models. For `gpt-image-2` and

7808 `gpt-image-2-2026-04-21`, this support is in preview. When using

7809 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

7768 7810 

7769 - `"transparent"`7811 - `"transparent"`

7770 7812 


7793 7835 

7794 Base64-encoded mask image.7836 Base64-encoded mask image.

7795 7837 

7796 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`7838 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

7797 7839 

7798 The image generation model to use. Default: `gpt-image-1`.7840 The image generation model to use. One of `gpt-image-1`,

7841 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

7842 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

7843 `gpt-image-1`.

7799 7844 

7800 - `string`7845 - `string`

7801 7846 

7802 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`7847 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

7803 7848 

7804 The image generation model to use. Default: `gpt-image-1`.7849 The image generation model to use. One of `gpt-image-1`,

7850 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

7851 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

7852 `gpt-image-1`.

7805 7853 

7806 - `"gpt-image-1"`7854 - `"gpt-image-1"`

7807 7855 


7809 7857 

7810 - `"gpt-image-1.5"`7858 - `"gpt-image-1.5"`

7811 7859 

7860 - `"gpt-image-2"`

7861 

7862 - `"gpt-image-2-2026-04-21"`

7863 

7812 - `moderation: optional "auto" or "low"`7864 - `moderation: optional "auto" or "low"`

7813 7865 

7814 Moderation level for the generated image. Default: `auto`.7866 Moderation level for the generated image. Default: `auto`.


9923 9975 

9924 - `background: optional "transparent" or "opaque" or "auto"`9976 - `background: optional "transparent" or "opaque" or "auto"`

9925 9977 

9926 Background type for the generated image. One of `transparent`,9978 Set the background of the generated image. One of `transparent`,

9927 `opaque`, or `auto`. Default: `auto`.9979 `opaque`, or `auto`. Transparent backgrounds are available for

9980 supported GPT Image models. For `gpt-image-2` and

9981 `gpt-image-2-2026-04-21`, this support is in preview. When using

9982 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

9928 9983 

9929 - `"transparent"`9984 - `"transparent"`

9930 9985 


9953 10008 

9954 Base64-encoded mask image.10009 Base64-encoded mask image.

9955 10010 

9956 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`10011 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

9957 10012 

9958 The image generation model to use. Default: `gpt-image-1`.10013 The image generation model to use. One of `gpt-image-1`,

10014 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

10015 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

10016 `gpt-image-1`.

9959 10017 

9960 - `string`10018 - `string`

9961 10019 

9962 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`10020 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

9963 10021 

9964 The image generation model to use. Default: `gpt-image-1`.10022 The image generation model to use. One of `gpt-image-1`,

10023 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

10024 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

10025 `gpt-image-1`.

9965 10026 

9966 - `"gpt-image-1"`10027 - `"gpt-image-1"`

9967 10028 


9969 10030 

9970 - `"gpt-image-1.5"`10031 - `"gpt-image-1.5"`

9971 10032 

10033 - `"gpt-image-2"`

10034 

10035 - `"gpt-image-2-2026-04-21"`

10036 

9972 - `moderation: optional "auto" or "low"`10037 - `moderation: optional "auto" or "low"`

9973 10038 

9974 Moderation level for the generated image. Default: `auto`.10039 Moderation level for the generated image. Default: `auto`.

Details

2055 2055 

2056 - `background: optional "transparent" or "opaque" or "auto"`2056 - `background: optional "transparent" or "opaque" or "auto"`

2057 2057 

2058 Background type for the generated image. One of `transparent`,2058 Set the background of the generated image. One of `transparent`,

2059 `opaque`, or `auto`. Default: `auto`.2059 `opaque`, or `auto`. Transparent backgrounds are available for

2060 supported GPT Image models. For `gpt-image-2` and

2061 `gpt-image-2-2026-04-21`, this support is in preview. When using

2062 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

2060 2063 

2061 - `"transparent"`2064 - `"transparent"`

2062 2065 


2085 2088 

2086 Base64-encoded mask image.2089 Base64-encoded mask image.

2087 2090 

2088 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`2091 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

2089 2092 

2090 The image generation model to use. Default: `gpt-image-1`.2093 The image generation model to use. One of `gpt-image-1`,

2094 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

2095 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

2096 `gpt-image-1`.

2091 2097 

2092 - `string`2098 - `string`

2093 2099 

2094 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`2100 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

2095 2101 

2096 The image generation model to use. Default: `gpt-image-1`.2102 The image generation model to use. One of `gpt-image-1`,

2103 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

2104 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

2105 `gpt-image-1`.

2097 2106 

2098 - `"gpt-image-1"`2107 - `"gpt-image-1"`

2099 2108 


2101 2110 

2102 - `"gpt-image-1.5"`2111 - `"gpt-image-1.5"`

2103 2112 

2113 - `"gpt-image-2"`

2114 

2115 - `"gpt-image-2-2026-04-21"`

2116 

2104 - `moderation: optional "auto" or "low"`2117 - `moderation: optional "auto" or "low"`

2105 2118 

2106 Moderation level for the generated image. Default: `auto`.2119 Moderation level for the generated image. Default: `auto`.


3214 3227 

3215 - `background: optional "transparent" or "opaque" or "auto"`3228 - `background: optional "transparent" or "opaque" or "auto"`

3216 3229 

3217 Background type for the generated image. One of `transparent`,3230 Set the background of the generated image. One of `transparent`,

3218 `opaque`, or `auto`. Default: `auto`.3231 `opaque`, or `auto`. Transparent backgrounds are available for

3232 supported GPT Image models. For `gpt-image-2` and

3233 `gpt-image-2-2026-04-21`, this support is in preview. When using

3234 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

3219 3235 

3220 - `"transparent"`3236 - `"transparent"`

3221 3237 


3244 3260 

3245 Base64-encoded mask image.3261 Base64-encoded mask image.

3246 3262 

3247 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`3263 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

3248 3264 

3249 The image generation model to use. Default: `gpt-image-1`.3265 The image generation model to use. One of `gpt-image-1`,

3266 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

3267 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

3268 `gpt-image-1`.

3250 3269 

3251 - `string`3270 - `string`

3252 3271 

3253 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`3272 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

3254 3273 

3255 The image generation model to use. Default: `gpt-image-1`.3274 The image generation model to use. One of `gpt-image-1`,

3275 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

3276 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

3277 `gpt-image-1`.

3256 3278 

3257 - `"gpt-image-1"`3279 - `"gpt-image-1"`

3258 3280 


3260 3282 

3261 - `"gpt-image-1.5"`3283 - `"gpt-image-1.5"`

3262 3284 

3285 - `"gpt-image-2"`

3286 

3287 - `"gpt-image-2-2026-04-21"`

3288 

3263 - `moderation: optional "auto" or "low"`3289 - `moderation: optional "auto" or "low"`

3264 3290 

3265 Moderation level for the generated image. Default: `auto`.3291 Moderation level for the generated image. Default: `auto`.

Details

2123 2123 

2124 - `background: optional "transparent" or "opaque" or "auto"`2124 - `background: optional "transparent" or "opaque" or "auto"`

2125 2125 

2126 Background type for the generated image. One of `transparent`,2126 Set the background of the generated image. One of `transparent`,

2127 `opaque`, or `auto`. Default: `auto`.2127 `opaque`, or `auto`. Transparent backgrounds are available for

2128 supported GPT Image models. For `gpt-image-2` and

2129 `gpt-image-2-2026-04-21`, this support is in preview. When using

2130 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

2128 2131 

2129 - `"transparent"`2132 - `"transparent"`

2130 2133 


2153 2156 

2154 Base64-encoded mask image.2157 Base64-encoded mask image.

2155 2158 

2156 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`2159 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

2157 2160 

2158 The image generation model to use. Default: `gpt-image-1`.2161 The image generation model to use. One of `gpt-image-1`,

2162 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

2163 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

2164 `gpt-image-1`.

2159 2165 

2160 - `string`2166 - `string`

2161 2167 

2162 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`2168 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

2163 2169 

2164 The image generation model to use. Default: `gpt-image-1`.2170 The image generation model to use. One of `gpt-image-1`,

2171 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

2172 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

2173 `gpt-image-1`.

2165 2174 

2166 - `"gpt-image-1"`2175 - `"gpt-image-1"`

2167 2176 


2169 2178 

2170 - `"gpt-image-1.5"`2179 - `"gpt-image-1.5"`

2171 2180 

2181 - `"gpt-image-2"`

2182 

2183 - `"gpt-image-2-2026-04-21"`

2184 

2172 - `moderation: optional "auto" or "low"`2185 - `moderation: optional "auto" or "low"`

2173 2186 

2174 Moderation level for the generated image. Default: `auto`.2187 Moderation level for the generated image. Default: `auto`.


3286 3299 

3287 - `background: optional "transparent" or "opaque" or "auto"`3300 - `background: optional "transparent" or "opaque" or "auto"`

3288 3301 

3289 Background type for the generated image. One of `transparent`,3302 Set the background of the generated image. One of `transparent`,

3290 `opaque`, or `auto`. Default: `auto`.3303 `opaque`, or `auto`. Transparent backgrounds are available for

3304 supported GPT Image models. For `gpt-image-2` and

3305 `gpt-image-2-2026-04-21`, this support is in preview. When using

3306 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

3291 3307 

3292 - `"transparent"`3308 - `"transparent"`

3293 3309 


3316 3332 

3317 Base64-encoded mask image.3333 Base64-encoded mask image.

3318 3334 

3319 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`3335 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

3320 3336 

3321 The image generation model to use. Default: `gpt-image-1`.3337 The image generation model to use. One of `gpt-image-1`,

3338 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

3339 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

3340 `gpt-image-1`.

3322 3341 

3323 - `string`3342 - `string`

3324 3343 

3325 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`3344 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

3326 3345 

3327 The image generation model to use. Default: `gpt-image-1`.3346 The image generation model to use. One of `gpt-image-1`,

3347 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

3348 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

3349 `gpt-image-1`.

3328 3350 

3329 - `"gpt-image-1"`3351 - `"gpt-image-1"`

3330 3352 


3332 3354 

3333 - `"gpt-image-1.5"`3355 - `"gpt-image-1.5"`

3334 3356 

3357 - `"gpt-image-2"`

3358 

3359 - `"gpt-image-2-2026-04-21"`

3360 

3335 - `moderation: optional "auto" or "low"`3361 - `moderation: optional "auto" or "low"`

3336 3362 

3337 Moderation level for the generated image. Default: `auto`.3363 Moderation level for the generated image. Default: `auto`.


5813 5839 

5814 - `background: optional "transparent" or "opaque" or "auto"`5840 - `background: optional "transparent" or "opaque" or "auto"`

5815 5841 

5816 Background type for the generated image. One of `transparent`,5842 Set the background of the generated image. One of `transparent`,

5817 `opaque`, or `auto`. Default: `auto`.5843 `opaque`, or `auto`. Transparent backgrounds are available for

5844 supported GPT Image models. For `gpt-image-2` and

5845 `gpt-image-2-2026-04-21`, this support is in preview. When using

5846 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

5818 5847 

5819 - `"transparent"`5848 - `"transparent"`

5820 5849 


5843 5872 

5844 Base64-encoded mask image.5873 Base64-encoded mask image.

5845 5874 

5846 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`5875 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

5847 5876 

5848 The image generation model to use. Default: `gpt-image-1`.5877 The image generation model to use. One of `gpt-image-1`,

5878 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

5879 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

5880 `gpt-image-1`.

5849 5881 

5850 - `string`5882 - `string`

5851 5883 

5852 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`5884 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

5853 5885 

5854 The image generation model to use. Default: `gpt-image-1`.5886 The image generation model to use. One of `gpt-image-1`,

5887 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

5888 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

5889 `gpt-image-1`.

5855 5890 

5856 - `"gpt-image-1"`5891 - `"gpt-image-1"`

5857 5892 


5859 5894 

5860 - `"gpt-image-1.5"`5895 - `"gpt-image-1.5"`

5861 5896 

5897 - `"gpt-image-2"`

5898 

5899 - `"gpt-image-2-2026-04-21"`

5900 

5862 - `moderation: optional "auto" or "low"`5901 - `moderation: optional "auto" or "low"`

5863 5902 

5864 Moderation level for the generated image. Default: `auto`.5903 Moderation level for the generated image. Default: `auto`.

Details

1739 1739 

1740 - `background: optional "transparent" or "opaque" or "auto"`1740 - `background: optional "transparent" or "opaque" or "auto"`

1741 1741 

1742 Background type for the generated image. One of `transparent`,1742 Set the background of the generated image. One of `transparent`,

1743 `opaque`, or `auto`. Default: `auto`.1743 `opaque`, or `auto`. Transparent backgrounds are available for

1744 supported GPT Image models. For `gpt-image-2` and

1745 `gpt-image-2-2026-04-21`, this support is in preview. When using

1746 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

1744 1747 

1745 - `"transparent"`1748 - `"transparent"`

1746 1749 


1769 1772 

1770 Base64-encoded mask image.1773 Base64-encoded mask image.

1771 1774 

1772 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`1775 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

1773 1776 

1774 The image generation model to use. Default: `gpt-image-1`.1777 The image generation model to use. One of `gpt-image-1`,

1778 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

1779 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

1780 `gpt-image-1`.

1775 1781 

1776 - `string`1782 - `string`

1777 1783 

1778 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`1784 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

1779 1785 

1780 The image generation model to use. Default: `gpt-image-1`.1786 The image generation model to use. One of `gpt-image-1`,

1787 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

1788 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

1789 `gpt-image-1`.

1781 1790 

1782 - `"gpt-image-1"`1791 - `"gpt-image-1"`

1783 1792 


1785 1794 

1786 - `"gpt-image-1.5"`1795 - `"gpt-image-1.5"`

1787 1796 

1797 - `"gpt-image-2"`

1798 

1799 - `"gpt-image-2-2026-04-21"`

1800 

1788 - `moderation: optional "auto" or "low"`1801 - `moderation: optional "auto" or "low"`

1789 1802 

1790 Moderation level for the generated image. Default: `auto`.1803 Moderation level for the generated image. Default: `auto`.


2746 2759 

2747 - `background: optional "transparent" or "opaque" or "auto"`2760 - `background: optional "transparent" or "opaque" or "auto"`

2748 2761 

2749 Background type for the generated image. One of `transparent`,2762 Set the background of the generated image. One of `transparent`,

2750 `opaque`, or `auto`. Default: `auto`.2763 `opaque`, or `auto`. Transparent backgrounds are available for

2764 supported GPT Image models. For `gpt-image-2` and

2765 `gpt-image-2-2026-04-21`, this support is in preview. When using

2766 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

2751 2767 

2752 - `"transparent"`2768 - `"transparent"`

2753 2769 


2776 2792 

2777 Base64-encoded mask image.2793 Base64-encoded mask image.

2778 2794 

2779 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`2795 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

2780 2796 

2781 The image generation model to use. Default: `gpt-image-1`.2797 The image generation model to use. One of `gpt-image-1`,

2798 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

2799 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

2800 `gpt-image-1`.

2782 2801 

2783 - `string`2802 - `string`

2784 2803 

2785 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`2804 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

2786 2805 

2787 The image generation model to use. Default: `gpt-image-1`.2806 The image generation model to use. One of `gpt-image-1`,

2807 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

2808 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

2809 `gpt-image-1`.

2788 2810 

2789 - `"gpt-image-1"`2811 - `"gpt-image-1"`

2790 2812 


2792 2814 

2793 - `"gpt-image-1.5"`2815 - `"gpt-image-1.5"`

2794 2816 

2817 - `"gpt-image-2"`

2818 

2819 - `"gpt-image-2-2026-04-21"`

2820 

2795 - `moderation: optional "auto" or "low"`2821 - `moderation: optional "auto" or "low"`

2796 2822 

2797 Moderation level for the generated image. Default: `auto`.2823 Moderation level for the generated image. Default: `auto`.

Details

1766 1766 

1767 - `background: optional "transparent" or "opaque" or "auto"`1767 - `background: optional "transparent" or "opaque" or "auto"`

1768 1768 

1769 Background type for the generated image. One of `transparent`,1769 Set the background of the generated image. One of `transparent`,

1770 `opaque`, or `auto`. Default: `auto`.1770 `opaque`, or `auto`. Transparent backgrounds are available for

1771 supported GPT Image models. For `gpt-image-2` and

1772 `gpt-image-2-2026-04-21`, this support is in preview. When using

1773 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

1771 1774 

1772 - `"transparent"`1775 - `"transparent"`

1773 1776 


1796 1799 

1797 Base64-encoded mask image.1800 Base64-encoded mask image.

1798 1801 

1799 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`1802 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

1800 1803 

1801 The image generation model to use. Default: `gpt-image-1`.1804 The image generation model to use. One of `gpt-image-1`,

1805 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

1806 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

1807 `gpt-image-1`.

1802 1808 

1803 - `string`1809 - `string`

1804 1810 

1805 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`1811 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

1806 1812 

1807 The image generation model to use. Default: `gpt-image-1`.1813 The image generation model to use. One of `gpt-image-1`,

1814 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

1815 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

1816 `gpt-image-1`.

1808 1817 

1809 - `"gpt-image-1"`1818 - `"gpt-image-1"`

1810 1819 


1812 1821 

1813 - `"gpt-image-1.5"`1822 - `"gpt-image-1.5"`

1814 1823 

1824 - `"gpt-image-2"`

1825 

1826 - `"gpt-image-2-2026-04-21"`

1827 

1815 - `moderation: optional "auto" or "low"`1828 - `moderation: optional "auto" or "low"`

1816 1829 

1817 Moderation level for the generated image. Default: `auto`.1830 Moderation level for the generated image. Default: `auto`.


2773 2786 

2774 - `background: optional "transparent" or "opaque" or "auto"`2787 - `background: optional "transparent" or "opaque" or "auto"`

2775 2788 

2776 Background type for the generated image. One of `transparent`,2789 Set the background of the generated image. One of `transparent`,

2777 `opaque`, or `auto`. Default: `auto`.2790 `opaque`, or `auto`. Transparent backgrounds are available for

2791 supported GPT Image models. For `gpt-image-2` and

2792 `gpt-image-2-2026-04-21`, this support is in preview. When using

2793 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

2778 2794 

2779 - `"transparent"`2795 - `"transparent"`

2780 2796 


2803 2819 

2804 Base64-encoded mask image.2820 Base64-encoded mask image.

2805 2821 

2806 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`2822 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

2807 2823 

2808 The image generation model to use. Default: `gpt-image-1`.2824 The image generation model to use. One of `gpt-image-1`,

2825 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

2826 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

2827 `gpt-image-1`.

2809 2828 

2810 - `string`2829 - `string`

2811 2830 

2812 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`2831 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

2813 2832 

2814 The image generation model to use. Default: `gpt-image-1`.2833 The image generation model to use. One of `gpt-image-1`,

2834 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

2835 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

2836 `gpt-image-1`.

2815 2837 

2816 - `"gpt-image-1"`2838 - `"gpt-image-1"`

2817 2839 


2819 2841 

2820 - `"gpt-image-1.5"`2842 - `"gpt-image-1.5"`

2821 2843 

2844 - `"gpt-image-2"`

2845 

2846 - `"gpt-image-2-2026-04-21"`

2847 

2822 - `moderation: optional "auto" or "low"`2848 - `moderation: optional "auto" or "low"`

2823 2849 

2824 Moderation level for the generated image. Default: `auto`.2850 Moderation level for the generated image. Default: `auto`.


5824 5850 

5825 - `background: optional "transparent" or "opaque" or "auto"`5851 - `background: optional "transparent" or "opaque" or "auto"`

5826 5852 

5827 Background type for the generated image. One of `transparent`,5853 Set the background of the generated image. One of `transparent`,

5828 `opaque`, or `auto`. Default: `auto`.5854 `opaque`, or `auto`. Transparent backgrounds are available for

5855 supported GPT Image models. For `gpt-image-2` and

5856 `gpt-image-2-2026-04-21`, this support is in preview. When using

5857 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

5829 5858 

5830 - `"transparent"`5859 - `"transparent"`

5831 5860 


5854 5883 

5855 Base64-encoded mask image.5884 Base64-encoded mask image.

5856 5885 

5857 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`5886 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

5858 5887 

5859 The image generation model to use. Default: `gpt-image-1`.5888 The image generation model to use. One of `gpt-image-1`,

5889 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

5890 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

5891 `gpt-image-1`.

5860 5892 

5861 - `string`5893 - `string`

5862 5894 

5863 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`5895 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

5864 5896 

5865 The image generation model to use. Default: `gpt-image-1`.5897 The image generation model to use. One of `gpt-image-1`,

5898 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

5899 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

5900 `gpt-image-1`.

5866 5901 

5867 - `"gpt-image-1"`5902 - `"gpt-image-1"`

5868 5903 


5870 5905 

5871 - `"gpt-image-1.5"`5906 - `"gpt-image-1.5"`

5872 5907 

5908 - `"gpt-image-2"`

5909 

5910 - `"gpt-image-2-2026-04-21"`

5911 

5873 - `moderation: optional "auto" or "low"`5912 - `moderation: optional "auto" or "low"`

5874 5913 

5875 Moderation level for the generated image. Default: `auto`.5914 Moderation level for the generated image. Default: `auto`.


6827 6866 

6828 - `background: optional "transparent" or "opaque" or "auto"`6867 - `background: optional "transparent" or "opaque" or "auto"`

6829 6868 

6830 Background type for the generated image. One of `transparent`,6869 Set the background of the generated image. One of `transparent`,

6831 `opaque`, or `auto`. Default: `auto`.6870 `opaque`, or `auto`. Transparent backgrounds are available for

6871 supported GPT Image models. For `gpt-image-2` and

6872 `gpt-image-2-2026-04-21`, this support is in preview. When using

6873 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

6832 6874 

6833 - `"transparent"`6875 - `"transparent"`

6834 6876 


6857 6899 

6858 Base64-encoded mask image.6900 Base64-encoded mask image.

6859 6901 

6860 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`6902 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

6861 6903 

6862 The image generation model to use. Default: `gpt-image-1`.6904 The image generation model to use. One of `gpt-image-1`,

6905 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

6906 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

6907 `gpt-image-1`.

6863 6908 

6864 - `string`6909 - `string`

6865 6910 

6866 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`6911 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

6867 6912 

6868 The image generation model to use. Default: `gpt-image-1`.6913 The image generation model to use. One of `gpt-image-1`,

6914 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

6915 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

6916 `gpt-image-1`.

6869 6917 

6870 - `"gpt-image-1"`6918 - `"gpt-image-1"`

6871 6919 


6873 6921 

6874 - `"gpt-image-1.5"`6922 - `"gpt-image-1.5"`

6875 6923 

6924 - `"gpt-image-2"`

6925 

6926 - `"gpt-image-2-2026-04-21"`

6927 

6876 - `moderation: optional "auto" or "low"`6928 - `moderation: optional "auto" or "low"`

6877 6929 

6878 Moderation level for the generated image. Default: `auto`.6930 Moderation level for the generated image. Default: `auto`.

Details

1770 1770 

1771 - `background: optional "transparent" or "opaque" or "auto"`1771 - `background: optional "transparent" or "opaque" or "auto"`

1772 1772 

1773 Background type for the generated image. One of `transparent`,1773 Set the background of the generated image. One of `transparent`,

1774 `opaque`, or `auto`. Default: `auto`.1774 `opaque`, or `auto`. Transparent backgrounds are available for

1775 supported GPT Image models. For `gpt-image-2` and

1776 `gpt-image-2-2026-04-21`, this support is in preview. When using

1777 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

1775 1778 

1776 - `"transparent"`1779 - `"transparent"`

1777 1780 


1800 1803 

1801 Base64-encoded mask image.1804 Base64-encoded mask image.

1802 1805 

1803 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`1806 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

1804 1807 

1805 The image generation model to use. Default: `gpt-image-1`.1808 The image generation model to use. One of `gpt-image-1`,

1809 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

1810 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

1811 `gpt-image-1`.

1806 1812 

1807 - `string`1813 - `string`

1808 1814 

1809 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`1815 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

1810 1816 

1811 The image generation model to use. Default: `gpt-image-1`.1817 The image generation model to use. One of `gpt-image-1`,

1818 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

1819 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

1820 `gpt-image-1`.

1812 1821 

1813 - `"gpt-image-1"`1822 - `"gpt-image-1"`

1814 1823 


1816 1825 

1817 - `"gpt-image-1.5"`1826 - `"gpt-image-1.5"`

1818 1827 

1828 - `"gpt-image-2"`

1829 

1830 - `"gpt-image-2-2026-04-21"`

1831 

1819 - `moderation: optional "auto" or "low"`1832 - `moderation: optional "auto" or "low"`

1820 1833 

1821 Moderation level for the generated image. Default: `auto`.1834 Moderation level for the generated image. Default: `auto`.


2773 2786 

2774 - `background: optional "transparent" or "opaque" or "auto"`2787 - `background: optional "transparent" or "opaque" or "auto"`

2775 2788 

2776 Background type for the generated image. One of `transparent`,2789 Set the background of the generated image. One of `transparent`,

2777 `opaque`, or `auto`. Default: `auto`.2790 `opaque`, or `auto`. Transparent backgrounds are available for

2791 supported GPT Image models. For `gpt-image-2` and

2792 `gpt-image-2-2026-04-21`, this support is in preview. When using

2793 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

2778 2794 

2779 - `"transparent"`2795 - `"transparent"`

2780 2796 


2803 2819 

2804 Base64-encoded mask image.2820 Base64-encoded mask image.

2805 2821 

2806 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`2822 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

2807 2823 

2808 The image generation model to use. Default: `gpt-image-1`.2824 The image generation model to use. One of `gpt-image-1`,

2825 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

2826 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

2827 `gpt-image-1`.

2809 2828 

2810 - `string`2829 - `string`

2811 2830 

2812 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`2831 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

2813 2832 

2814 The image generation model to use. Default: `gpt-image-1`.2833 The image generation model to use. One of `gpt-image-1`,

2834 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

2835 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

2836 `gpt-image-1`.

2815 2837 

2816 - `"gpt-image-1"`2838 - `"gpt-image-1"`

2817 2839 


2819 2841 

2820 - `"gpt-image-1.5"`2842 - `"gpt-image-1.5"`

2821 2843 

2844 - `"gpt-image-2"`

2845 

2846 - `"gpt-image-2-2026-04-21"`

2847 

2822 - `moderation: optional "auto" or "low"`2848 - `moderation: optional "auto" or "low"`

2823 2849 

2824 Moderation level for the generated image. Default: `auto`.2850 Moderation level for the generated image. Default: `auto`.

Details

1741 1741 

1742 - `background: optional "transparent" or "opaque" or "auto"`1742 - `background: optional "transparent" or "opaque" or "auto"`

1743 1743 

1744 Background type for the generated image. One of `transparent`,1744 Set the background of the generated image. One of `transparent`,

1745 `opaque`, or `auto`. Default: `auto`.1745 `opaque`, or `auto`. Transparent backgrounds are available for

1746 supported GPT Image models. For `gpt-image-2` and

1747 `gpt-image-2-2026-04-21`, this support is in preview. When using

1748 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

1746 1749 

1747 - `"transparent"`1750 - `"transparent"`

1748 1751 


1771 1774 

1772 Base64-encoded mask image.1775 Base64-encoded mask image.

1773 1776 

1774 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`1777 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

1775 1778 

1776 The image generation model to use. Default: `gpt-image-1`.1779 The image generation model to use. One of `gpt-image-1`,

1780 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

1781 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

1782 `gpt-image-1`.

1777 1783 

1778 - `string`1784 - `string`

1779 1785 

1780 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`1786 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

1781 1787 

1782 The image generation model to use. Default: `gpt-image-1`.1788 The image generation model to use. One of `gpt-image-1`,

1789 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

1790 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

1791 `gpt-image-1`.

1783 1792 

1784 - `"gpt-image-1"`1793 - `"gpt-image-1"`

1785 1794 


1787 1796 

1788 - `"gpt-image-1.5"`1797 - `"gpt-image-1.5"`

1789 1798 

1799 - `"gpt-image-2"`

1800 

1801 - `"gpt-image-2-2026-04-21"`

1802 

1790 - `moderation: optional "auto" or "low"`1803 - `moderation: optional "auto" or "low"`

1791 1804 

1792 Moderation level for the generated image. Default: `auto`.1805 Moderation level for the generated image. Default: `auto`.


2744 2757 

2745 - `background: optional "transparent" or "opaque" or "auto"`2758 - `background: optional "transparent" or "opaque" or "auto"`

2746 2759 

2747 Background type for the generated image. One of `transparent`,2760 Set the background of the generated image. One of `transparent`,

2748 `opaque`, or `auto`. Default: `auto`.2761 `opaque`, or `auto`. Transparent backgrounds are available for

2762 supported GPT Image models. For `gpt-image-2` and

2763 `gpt-image-2-2026-04-21`, this support is in preview. When using

2764 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

2749 2765 

2750 - `"transparent"`2766 - `"transparent"`

2751 2767 


2774 2790 

2775 Base64-encoded mask image.2791 Base64-encoded mask image.

2776 2792 

2777 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`2793 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

2778 2794 

2779 The image generation model to use. Default: `gpt-image-1`.2795 The image generation model to use. One of `gpt-image-1`,

2796 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

2797 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

2798 `gpt-image-1`.

2780 2799 

2781 - `string`2800 - `string`

2782 2801 

2783 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`2802 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

2784 2803 

2785 The image generation model to use. Default: `gpt-image-1`.2804 The image generation model to use. One of `gpt-image-1`,

2805 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

2806 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

2807 `gpt-image-1`.

2786 2808 

2787 - `"gpt-image-1"`2809 - `"gpt-image-1"`

2788 2810 


2790 2812 

2791 - `"gpt-image-1.5"`2813 - `"gpt-image-1.5"`

2792 2814 

2815 - `"gpt-image-2"`

2816 

2817 - `"gpt-image-2-2026-04-21"`

2818 

2793 - `moderation: optional "auto" or "low"`2819 - `moderation: optional "auto" or "low"`

2794 2820 

2795 Moderation level for the generated image. Default: `auto`.2821 Moderation level for the generated image. Default: `auto`.

Details

1507 1507 

1508 - `background: optional "transparent" or "opaque" or "auto"`1508 - `background: optional "transparent" or "opaque" or "auto"`

1509 1509 

1510 Background type for the generated image. One of `transparent`,1510 Set the background of the generated image. One of `transparent`,

1511 `opaque`, or `auto`. Default: `auto`.1511 `opaque`, or `auto`. Transparent backgrounds are available for

1512 supported GPT Image models. For `gpt-image-2` and

1513 `gpt-image-2-2026-04-21`, this support is in preview. When using

1514 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

1512 1515 

1513 - `"transparent"`1516 - `"transparent"`

1514 1517 


1537 1540 

1538 Base64-encoded mask image.1541 Base64-encoded mask image.

1539 1542 

1540 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`1543 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

1541 1544 

1542 The image generation model to use. Default: `gpt-image-1`.1545 The image generation model to use. One of `gpt-image-1`,

1546 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

1547 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

1548 `gpt-image-1`.

1543 1549 

1544 - `string`1550 - `string`

1545 1551 

1546 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`1552 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

1547 1553 

1548 The image generation model to use. Default: `gpt-image-1`.1554 The image generation model to use. One of `gpt-image-1`,

1555 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

1556 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

1557 `gpt-image-1`.

1549 1558 

1550 - `"gpt-image-1"`1559 - `"gpt-image-1"`

1551 1560 


1553 1562 

1554 - `"gpt-image-1.5"`1563 - `"gpt-image-1.5"`

1555 1564 

1565 - `"gpt-image-2"`

1566 

1567 - `"gpt-image-2-2026-04-21"`

1568 

1556 - `moderation: optional "auto" or "low"`1569 - `moderation: optional "auto" or "low"`

1557 1570 

1558 Moderation level for the generated image. Default: `auto`.1571 Moderation level for the generated image. Default: `auto`.

Details

1497 1497 

1498 - `background: optional "transparent" or "opaque" or "auto"`1498 - `background: optional "transparent" or "opaque" or "auto"`

1499 1499 

1500 Background type for the generated image. One of `transparent`,1500 Set the background of the generated image. One of `transparent`,

1501 `opaque`, or `auto`. Default: `auto`.1501 `opaque`, or `auto`. Transparent backgrounds are available for

1502 supported GPT Image models. For `gpt-image-2` and

1503 `gpt-image-2-2026-04-21`, this support is in preview. When using

1504 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

1502 1505 

1503 - `"transparent"`1506 - `"transparent"`

1504 1507 


1527 1530 

1528 Base64-encoded mask image.1531 Base64-encoded mask image.

1529 1532 

1530 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`1533 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

1531 1534 

1532 The image generation model to use. Default: `gpt-image-1`.1535 The image generation model to use. One of `gpt-image-1`,

1536 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

1537 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

1538 `gpt-image-1`.

1533 1539 

1534 - `string`1540 - `string`

1535 1541 

1536 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`1542 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

1537 1543 

1538 The image generation model to use. Default: `gpt-image-1`.1544 The image generation model to use. One of `gpt-image-1`,

1545 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

1546 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

1547 `gpt-image-1`.

1539 1548 

1540 - `"gpt-image-1"`1549 - `"gpt-image-1"`

1541 1550 


1543 1552 

1544 - `"gpt-image-1.5"`1553 - `"gpt-image-1.5"`

1545 1554 

1555 - `"gpt-image-2"`

1556 

1557 - `"gpt-image-2-2026-04-21"`

1558 

1546 - `moderation: optional "auto" or "low"`1559 - `moderation: optional "auto" or "low"`

1547 1560 

1548 Moderation level for the generated image. Default: `auto`.1561 Moderation level for the generated image. Default: `auto`.


3521 3534 

3522 - `background: optional "transparent" or "opaque" or "auto"`3535 - `background: optional "transparent" or "opaque" or "auto"`

3523 3536 

3524 Background type for the generated image. One of `transparent`,3537 Set the background of the generated image. One of `transparent`,

3525 `opaque`, or `auto`. Default: `auto`.3538 `opaque`, or `auto`. Transparent backgrounds are available for

3539 supported GPT Image models. For `gpt-image-2` and

3540 `gpt-image-2-2026-04-21`, this support is in preview. When using

3541 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

3526 3542 

3527 - `"transparent"`3543 - `"transparent"`

3528 3544 


3551 3567 

3552 Base64-encoded mask image.3568 Base64-encoded mask image.

3553 3569 

3554 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`3570 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

3555 3571 

3556 The image generation model to use. Default: `gpt-image-1`.3572 The image generation model to use. One of `gpt-image-1`,

3573 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

3574 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

3575 `gpt-image-1`.

3557 3576 

3558 - `string`3577 - `string`

3559 3578 

3560 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`3579 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

3561 3580 

3562 The image generation model to use. Default: `gpt-image-1`.3581 The image generation model to use. One of `gpt-image-1`,

3582 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

3583 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

3584 `gpt-image-1`.

3563 3585 

3564 - `"gpt-image-1"`3586 - `"gpt-image-1"`

3565 3587 


3567 3589 

3568 - `"gpt-image-1.5"`3590 - `"gpt-image-1.5"`

3569 3591 

3592 - `"gpt-image-2"`

3593 

3594 - `"gpt-image-2-2026-04-21"`

3595 

3570 - `moderation: optional "auto" or "low"`3596 - `moderation: optional "auto" or "low"`

3571 3597 

3572 Moderation level for the generated image. Default: `auto`.3598 Moderation level for the generated image. Default: `auto`.

Details

1541 1541 

1542 - `background: optional "transparent" or "opaque" or "auto"`1542 - `background: optional "transparent" or "opaque" or "auto"`

1543 1543 

1544 Background type for the generated image. One of `transparent`,1544 Set the background of the generated image. One of `transparent`,

1545 `opaque`, or `auto`. Default: `auto`.1545 `opaque`, or `auto`. Transparent backgrounds are available for

1546 supported GPT Image models. For `gpt-image-2` and

1547 `gpt-image-2-2026-04-21`, this support is in preview. When using

1548 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

1546 1549 

1547 - `"transparent"`1550 - `"transparent"`

1548 1551 


1571 1574 

1572 Base64-encoded mask image.1575 Base64-encoded mask image.

1573 1576 

1574 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`1577 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

1575 1578 

1576 The image generation model to use. Default: `gpt-image-1`.1579 The image generation model to use. One of `gpt-image-1`,

1580 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

1581 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

1582 `gpt-image-1`.

1577 1583 

1578 - `string`1584 - `string`

1579 1585 

1580 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`1586 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

1581 1587 

1582 The image generation model to use. Default: `gpt-image-1`.1588 The image generation model to use. One of `gpt-image-1`,

1589 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

1590 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

1591 `gpt-image-1`.

1583 1592 

1584 - `"gpt-image-1"`1593 - `"gpt-image-1"`

1585 1594 


1587 1596 

1588 - `"gpt-image-1.5"`1597 - `"gpt-image-1.5"`

1589 1598 

1599 - `"gpt-image-2"`

1600 

1601 - `"gpt-image-2-2026-04-21"`

1602 

1590 - `moderation: optional "auto" or "low"`1603 - `moderation: optional "auto" or "low"`

1591 1604 

1592 Moderation level for the generated image. Default: `auto`.1605 Moderation level for the generated image. Default: `auto`.

Details

1507 1507 

1508 - `background: optional "transparent" or "opaque" or "auto"`1508 - `background: optional "transparent" or "opaque" or "auto"`

1509 1509 

1510 Background type for the generated image. One of `transparent`,1510 Set the background of the generated image. One of `transparent`,

1511 `opaque`, or `auto`. Default: `auto`.1511 `opaque`, or `auto`. Transparent backgrounds are available for

1512 supported GPT Image models. For `gpt-image-2` and

1513 `gpt-image-2-2026-04-21`, this support is in preview. When using

1514 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

1512 1515 

1513 - `"transparent"`1516 - `"transparent"`

1514 1517 


1537 1540 

1538 Base64-encoded mask image.1541 Base64-encoded mask image.

1539 1542 

1540 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`1543 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

1541 1544 

1542 The image generation model to use. Default: `gpt-image-1`.1545 The image generation model to use. One of `gpt-image-1`,

1546 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

1547 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

1548 `gpt-image-1`.

1543 1549 

1544 - `string`1550 - `string`

1545 1551 

1546 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`1552 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

1547 1553 

1548 The image generation model to use. Default: `gpt-image-1`.1554 The image generation model to use. One of `gpt-image-1`,

1555 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

1556 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

1557 `gpt-image-1`.

1549 1558 

1550 - `"gpt-image-1"`1559 - `"gpt-image-1"`

1551 1560 


1553 1562 

1554 - `"gpt-image-1.5"`1563 - `"gpt-image-1.5"`

1555 1564 

1565 - `"gpt-image-2"`

1566 

1567 - `"gpt-image-2-2026-04-21"`

1568 

1556 - `moderation: optional "auto" or "low"`1569 - `moderation: optional "auto" or "low"`

1557 1570 

1558 Moderation level for the generated image. Default: `auto`.1571 Moderation level for the generated image. Default: `auto`.

Details

25 25 

26- `background: optional "transparent" or "opaque" or "auto" or null`26- `background: optional "transparent" or "opaque" or "auto" or null`

27 27 

28 Background behavior for generated image output.28 Set the background of the generated image output. Transparent backgrounds are available for supported GPT Image models. For `gpt-image-2` and `gpt-image-2-2026-04-21`, this support is in preview. When using `transparent`, set the output format to `png` or `webp`.

29 29 

30 - `"transparent"`30 - `"transparent"`

31 31 


54 54 

55 A fully qualified URL or base64-encoded data URL.55 A fully qualified URL or base64-encoded data URL.

56 56 

57- `model: optional string or "gpt-image-1.5" or "gpt-image-1" or "gpt-image-1-mini" or "chatgpt-image-latest" or null`57- `model: optional string or "gpt-image-1.5" or "gpt-image-2" or "gpt-image-2-2026-04-21" or 3 more or null`

58 58 

59 The model to use for image editing.59 The GPT image model to use for image editing, including `gpt-image-2` and its dated snapshot `gpt-image-2-2026-04-21`.

60 60 

61 - `string`61 - `string`

62 62 

63 - `"gpt-image-1.5" or "gpt-image-1" or "gpt-image-1-mini" or "chatgpt-image-latest"`63 - `"gpt-image-1.5" or "gpt-image-2" or "gpt-image-2-2026-04-21" or 3 more`

64 64 

65 The model to use for image editing.65 The GPT image model to use for image editing, including `gpt-image-2` and its dated snapshot `gpt-image-2-2026-04-21`.

66 66 

67 - `"gpt-image-1.5"`67 - `"gpt-image-1.5"`

68 68 

69 - `"gpt-image-2"`

70 

71 - `"gpt-image-2-2026-04-21"`

72 

69 - `"gpt-image-1"`73 - `"gpt-image-1"`

70 74 

71 - `"gpt-image-1-mini"`75 - `"gpt-image-1-mini"`

Details

12 12 

13- `background: optional "transparent" or "opaque" or "auto" or null`13- `background: optional "transparent" or "opaque" or "auto" or null`

14 14 

15 Allows to set transparency for the background of the generated image(s).15 Set the background of the generated image(s). This parameter is only

16 This parameter is only supported for the GPT image models. Must be one of16 supported for the GPT image models. Must be one of `transparent`, `opaque`,

17 `transparent`, `opaque` or `auto` (default value). When `auto` is used, the17 or `auto` (default value). When `auto` is used, the model will automatically

18 model will automatically determine the best background for the image.18 determine the best background for the image.

19 19 

20 If `transparent`, the output format needs to support transparency, so it20 Transparent backgrounds are available for supported GPT Image models. For

21 should be set to either `png` (default value) or `webp`.21 `gpt-image-2` and `gpt-image-2-2026-04-21`, this support is in preview. When

22 using `transparent`, set the output format to `png` or `webp`.

22 23 

23 - `"transparent"`24 - `"transparent"`

24 25 


28 29 

29- `model: optional string or ImageModel or null`30- `model: optional string or ImageModel or null`

30 31 

31 The model to use for image generation. One of `dall-e-2`, `dall-e-3`, or a GPT image model (`gpt-image-1`, `gpt-image-1-mini`, `gpt-image-1.5`). Defaults to `dall-e-2` unless a parameter specific to the GPT image models is used.32 The model to use for image generation. One of `dall-e-2`, `dall-e-3`, or a GPT image model (`gpt-image-1`, `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`, `gpt-image-2-2026-04-21`). Defaults to `dall-e-2` unless a parameter specific to the GPT image models is used.

32 33 

33 - `string`34 - `string`

34 35 

35 - `ImageModel = "gpt-image-1.5" or "dall-e-2" or "dall-e-3" or 2 more`36 - `ImageModel = "gpt-image-1.5" or "gpt-image-2" or "gpt-image-2-2026-04-21" or 4 more`

36 37 

37 - `"gpt-image-1.5"`38 - `"gpt-image-1.5"`

38 39 

40 - `"gpt-image-2"`

41 

42 - `"gpt-image-2-2026-04-21"`

43 

39 - `"dall-e-2"`44 - `"dall-e-2"`

40 45 

41 - `"dall-e-3"`46 - `"dall-e-3"`

Details

1498 1498 

1499## session.output_audio.delta1499## session.output_audio.delta

1500 1500 

1501Returned when translated output audio is available. Output audio deltas are1501Returned when translated output audio is available. The `delta` contains a

1502200 ms frames of PCM16 audio.1502PCM16 audio chunk whose length can vary. Clients should decode and queue the

1503complete delta instead of assuming a fixed byte or sample count.

1503 1504 

1504### Schema1505### Schema

1505 1506 


1510 "(resource) realtime > (model) realtime_translation_output_audio_delta_event > (schema)": {1511 "(resource) realtime > (model) realtime_translation_output_audio_delta_event > (schema)": {

1511 "kind": "HttpDeclTypeAlias",1512 "kind": "HttpDeclTypeAlias",

1512 "oasRef": "#/components/schemas/RealtimeTranslationServerEventSessionOutputAudioDelta",1513 "oasRef": "#/components/schemas/RealtimeTranslationServerEventSessionOutputAudioDelta",

1513 "docstring": "Returned when translated output audio is available. Output audio deltas are\n200 ms frames of PCM16 audio.\n",1514 "docstring": "Returned when translated output audio is available. The `delta` contains a\nPCM16 audio chunk whose length can vary. Clients should decode and queue the\ncomplete delta instead of assuming a fixed byte or sample count.\n",

1514 "ident": "RealtimeTranslationOutputAudioDeltaEvent",1515 "ident": "RealtimeTranslationOutputAudioDeltaEvent",

1515 "type": {1516 "type": {

1516 "kind": "HttpTypeObject",1517 "kind": "HttpTypeObject",

Details

1833 1833 

1834 - `background: optional "transparent" or "opaque" or "auto"`1834 - `background: optional "transparent" or "opaque" or "auto"`

1835 1835 

1836 Background type for the generated image. One of `transparent`,1836 Set the background of the generated image. One of `transparent`,

1837 `opaque`, or `auto`. Default: `auto`.1837 `opaque`, or `auto`. Transparent backgrounds are available for

1838 supported GPT Image models. For `gpt-image-2` and

1839 `gpt-image-2-2026-04-21`, this support is in preview. When using

1840 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

1838 1841 

1839 - `"transparent"`1842 - `"transparent"`

1840 1843 


1863 1866 

1864 Base64-encoded mask image.1867 Base64-encoded mask image.

1865 1868 

1866 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`1869 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

1867 1870 

1868 The image generation model to use. Default: `gpt-image-1`.1871 The image generation model to use. One of `gpt-image-1`,

1872 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

1873 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

1874 `gpt-image-1`.

1869 1875 

1870 - `string`1876 - `string`

1871 1877 

1872 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`1878 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

1873 1879 

1874 The image generation model to use. Default: `gpt-image-1`.1880 The image generation model to use. One of `gpt-image-1`,

1881 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

1882 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

1883 `gpt-image-1`.

1875 1884 

1876 - `"gpt-image-1"`1885 - `"gpt-image-1"`

1877 1886 


1879 1888 

1880 - `"gpt-image-1.5"`1889 - `"gpt-image-1.5"`

1881 1890 

1891 - `"gpt-image-2"`

1892 

1893 - `"gpt-image-2-2026-04-21"`

1894 

1882 - `moderation: optional "auto" or "low"`1895 - `moderation: optional "auto" or "low"`

1883 1896 

1884 Moderation level for the generated image. Default: `auto`.1897 Moderation level for the generated image. Default: `auto`.


2840 2853 

2841 - `background: optional "transparent" or "opaque" or "auto"`2854 - `background: optional "transparent" or "opaque" or "auto"`

2842 2855 

2843 Background type for the generated image. One of `transparent`,2856 Set the background of the generated image. One of `transparent`,

2844 `opaque`, or `auto`. Default: `auto`.2857 `opaque`, or `auto`. Transparent backgrounds are available for

2858 supported GPT Image models. For `gpt-image-2` and

2859 `gpt-image-2-2026-04-21`, this support is in preview. When using

2860 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

2845 2861 

2846 - `"transparent"`2862 - `"transparent"`

2847 2863 


2870 2886 

2871 Base64-encoded mask image.2887 Base64-encoded mask image.

2872 2888 

2873 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`2889 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

2874 2890 

2875 The image generation model to use. Default: `gpt-image-1`.2891 The image generation model to use. One of `gpt-image-1`,

2892 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

2893 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

2894 `gpt-image-1`.

2876 2895 

2877 - `string`2896 - `string`

2878 2897 

2879 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`2898 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

2880 2899 

2881 The image generation model to use. Default: `gpt-image-1`.2900 The image generation model to use. One of `gpt-image-1`,

2901 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

2902 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

2903 `gpt-image-1`.

2882 2904 

2883 - `"gpt-image-1"`2905 - `"gpt-image-1"`

2884 2906 


2886 2908 

2887 - `"gpt-image-1.5"`2909 - `"gpt-image-1.5"`

2888 2910 

2911 - `"gpt-image-2"`

2912 

2913 - `"gpt-image-2-2026-04-21"`

2914 

2889 - `moderation: optional "auto" or "low"`2915 - `moderation: optional "auto" or "low"`

2890 2916 

2891 Moderation level for the generated image. Default: `auto`.2917 Moderation level for the generated image. Default: `auto`.


5494 5520 

5495 - `background: optional "transparent" or "opaque" or "auto"`5521 - `background: optional "transparent" or "opaque" or "auto"`

5496 5522 

5497 Background type for the generated image. One of `transparent`,5523 Set the background of the generated image. One of `transparent`,

5498 `opaque`, or `auto`. Default: `auto`.5524 `opaque`, or `auto`. Transparent backgrounds are available for

5525 supported GPT Image models. For `gpt-image-2` and

5526 `gpt-image-2-2026-04-21`, this support is in preview. When using

5527 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

5499 5528 

5500 - `"transparent"`5529 - `"transparent"`

5501 5530 


5524 5553 

5525 Base64-encoded mask image.5554 Base64-encoded mask image.

5526 5555 

5527 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`5556 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

5528 5557 

5529 The image generation model to use. Default: `gpt-image-1`.5558 The image generation model to use. One of `gpt-image-1`,

5559 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

5560 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

5561 `gpt-image-1`.

5530 5562 

5531 - `string`5563 - `string`

5532 5564 

5533 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`5565 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

5534 5566 

5535 The image generation model to use. Default: `gpt-image-1`.5567 The image generation model to use. One of `gpt-image-1`,

5568 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

5569 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

5570 `gpt-image-1`.

5536 5571 

5537 - `"gpt-image-1"`5572 - `"gpt-image-1"`

5538 5573 


5540 5575 

5541 - `"gpt-image-1.5"`5576 - `"gpt-image-1.5"`

5542 5577 

5578 - `"gpt-image-2"`

5579 

5580 - `"gpt-image-2-2026-04-21"`

5581 

5543 - `moderation: optional "auto" or "low"`5582 - `moderation: optional "auto" or "low"`

5544 5583 

5545 Moderation level for the generated image. Default: `auto`.5584 Moderation level for the generated image. Default: `auto`.


6347 6386 

6348 - `background: optional "transparent" or "opaque" or "auto"`6387 - `background: optional "transparent" or "opaque" or "auto"`

6349 6388 

6350 Background type for the generated image. One of `transparent`,6389 Set the background of the generated image. One of `transparent`,

6351 `opaque`, or `auto`. Default: `auto`.6390 `opaque`, or `auto`. Transparent backgrounds are available for

6391 supported GPT Image models. For `gpt-image-2` and

6392 `gpt-image-2-2026-04-21`, this support is in preview. When using

6393 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

6352 6394 

6353 - `"transparent"`6395 - `"transparent"`

6354 6396 


6377 6419 

6378 Base64-encoded mask image.6420 Base64-encoded mask image.

6379 6421 

6380 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`6422 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

6381 6423 

6382 The image generation model to use. Default: `gpt-image-1`.6424 The image generation model to use. One of `gpt-image-1`,

6425 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

6426 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

6427 `gpt-image-1`.

6383 6428 

6384 - `string`6429 - `string`

6385 6430 

6386 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`6431 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

6387 6432 

6388 The image generation model to use. Default: `gpt-image-1`.6433 The image generation model to use. One of `gpt-image-1`,

6434 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

6435 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

6436 `gpt-image-1`.

6389 6437 

6390 - `"gpt-image-1"`6438 - `"gpt-image-1"`

6391 6439 


6393 6441 

6394 - `"gpt-image-1.5"`6442 - `"gpt-image-1.5"`

6395 6443 

6444 - `"gpt-image-2"`

6445 

6446 - `"gpt-image-2-2026-04-21"`

6447 

6396 - `moderation: optional "auto" or "low"`6448 - `moderation: optional "auto" or "low"`

6397 6449 

6398 Moderation level for the generated image. Default: `auto`.6450 Moderation level for the generated image. Default: `auto`.


8199 8251 

8200 - `background: optional "transparent" or "opaque" or "auto"`8252 - `background: optional "transparent" or "opaque" or "auto"`

8201 8253 

8202 Background type for the generated image. One of `transparent`,8254 Set the background of the generated image. One of `transparent`,

8203 `opaque`, or `auto`. Default: `auto`.8255 `opaque`, or `auto`. Transparent backgrounds are available for

8256 supported GPT Image models. For `gpt-image-2` and

8257 `gpt-image-2-2026-04-21`, this support is in preview. When using

8258 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

8204 8259 

8205 - `"transparent"`8260 - `"transparent"`

8206 8261 


8229 8284 

8230 Base64-encoded mask image.8285 Base64-encoded mask image.

8231 8286 

8232 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`8287 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

8233 8288 

8234 The image generation model to use. Default: `gpt-image-1`.8289 The image generation model to use. One of `gpt-image-1`,

8290 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

8291 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

8292 `gpt-image-1`.

8235 8293 

8236 - `string`8294 - `string`

8237 8295 

8238 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`8296 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

8239 8297 

8240 The image generation model to use. Default: `gpt-image-1`.8298 The image generation model to use. One of `gpt-image-1`,

8299 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

8300 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

8301 `gpt-image-1`.

8241 8302 

8242 - `"gpt-image-1"`8303 - `"gpt-image-1"`

8243 8304 


8245 8306 

8246 - `"gpt-image-1.5"`8307 - `"gpt-image-1.5"`

8247 8308 

8309 - `"gpt-image-2"`

8310 

8311 - `"gpt-image-2-2026-04-21"`

8312 

8248 - `moderation: optional "auto" or "low"`8313 - `moderation: optional "auto" or "low"`

8249 8314 

8250 Moderation level for the generated image. Default: `auto`.8315 Moderation level for the generated image. Default: `auto`.

Details

1963 1963 

1964 - `background: optional "transparent" or "opaque" or "auto"`1964 - `background: optional "transparent" or "opaque" or "auto"`

1965 1965 

1966 Background type for the generated image. One of `transparent`,1966 Set the background of the generated image. One of `transparent`,

1967 `opaque`, or `auto`. Default: `auto`.1967 `opaque`, or `auto`. Transparent backgrounds are available for

1968 supported GPT Image models. For `gpt-image-2` and

1969 `gpt-image-2-2026-04-21`, this support is in preview. When using

1970 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

1968 1971 

1969 - `"transparent"`1972 - `"transparent"`

1970 1973 


1993 1996 

1994 Base64-encoded mask image.1997 Base64-encoded mask image.

1995 1998 

1996 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`1999 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

1997 2000 

1998 The image generation model to use. Default: `gpt-image-1`.2001 The image generation model to use. One of `gpt-image-1`,

2002 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

2003 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

2004 `gpt-image-1`.

1999 2005 

2000 - `string`2006 - `string`

2001 2007 

2002 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`2008 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

2003 2009 

2004 The image generation model to use. Default: `gpt-image-1`.2010 The image generation model to use. One of `gpt-image-1`,

2011 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

2012 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

2013 `gpt-image-1`.

2005 2014 

2006 - `"gpt-image-1"`2015 - `"gpt-image-1"`

2007 2016 


2009 2018 

2010 - `"gpt-image-1.5"`2019 - `"gpt-image-1.5"`

2011 2020 

2021 - `"gpt-image-2"`

2022 

2023 - `"gpt-image-2-2026-04-21"`

2024 

2012 - `moderation: optional "auto" or "low"`2025 - `moderation: optional "auto" or "low"`

2013 2026 

2014 Moderation level for the generated image. Default: `auto`.2027 Moderation level for the generated image. Default: `auto`.


2970 2983 

2971 - `background: optional "transparent" or "opaque" or "auto"`2984 - `background: optional "transparent" or "opaque" or "auto"`

2972 2985 

2973 Background type for the generated image. One of `transparent`,2986 Set the background of the generated image. One of `transparent`,

2974 `opaque`, or `auto`. Default: `auto`.2987 `opaque`, or `auto`. Transparent backgrounds are available for

2988 supported GPT Image models. For `gpt-image-2` and

2989 `gpt-image-2-2026-04-21`, this support is in preview. When using

2990 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

2975 2991 

2976 - `"transparent"`2992 - `"transparent"`

2977 2993 


3000 3016 

3001 Base64-encoded mask image.3017 Base64-encoded mask image.

3002 3018 

3003 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`3019 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

3004 3020 

3005 The image generation model to use. Default: `gpt-image-1`.3021 The image generation model to use. One of `gpt-image-1`,

3022 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

3023 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

3024 `gpt-image-1`.

3006 3025 

3007 - `string`3026 - `string`

3008 3027 

3009 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`3028 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

3010 3029 

3011 The image generation model to use. Default: `gpt-image-1`.3030 The image generation model to use. One of `gpt-image-1`,

3031 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

3032 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

3033 `gpt-image-1`.

3012 3034 

3013 - `"gpt-image-1"`3035 - `"gpt-image-1"`

3014 3036 


3016 3038 

3017 - `"gpt-image-1.5"`3039 - `"gpt-image-1.5"`

3018 3040 

3041 - `"gpt-image-2"`

3042 

3043 - `"gpt-image-2-2026-04-21"`

3044 

3019 - `moderation: optional "auto" or "low"`3045 - `moderation: optional "auto" or "low"`

3020 3046 

3021 Moderation level for the generated image. Default: `auto`.3047 Moderation level for the generated image. Default: `auto`.


5505 5531 

5506 - `background: optional "transparent" or "opaque" or "auto"`5532 - `background: optional "transparent" or "opaque" or "auto"`

5507 5533 

5508 Background type for the generated image. One of `transparent`,5534 Set the background of the generated image. One of `transparent`,

5509 `opaque`, or `auto`. Default: `auto`.5535 `opaque`, or `auto`. Transparent backgrounds are available for

5536 supported GPT Image models. For `gpt-image-2` and

5537 `gpt-image-2-2026-04-21`, this support is in preview. When using

5538 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

5510 5539 

5511 - `"transparent"`5540 - `"transparent"`

5512 5541 


5535 5564 

5536 Base64-encoded mask image.5565 Base64-encoded mask image.

5537 5566 

5538 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`5567 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

5539 5568 

5540 The image generation model to use. Default: `gpt-image-1`.5569 The image generation model to use. One of `gpt-image-1`,

5570 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

5571 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

5572 `gpt-image-1`.

5541 5573 

5542 - `string`5574 - `string`

5543 5575 

5544 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`5576 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

5545 5577 

5546 The image generation model to use. Default: `gpt-image-1`.5578 The image generation model to use. One of `gpt-image-1`,

5579 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

5580 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

5581 `gpt-image-1`.

5547 5582 

5548 - `"gpt-image-1"`5583 - `"gpt-image-1"`

5549 5584 


5551 5586 

5552 - `"gpt-image-1.5"`5587 - `"gpt-image-1.5"`

5553 5588 

5589 - `"gpt-image-2"`

5590 

5591 - `"gpt-image-2-2026-04-21"`

5592 

5554 - `moderation: optional "auto" or "low"`5593 - `moderation: optional "auto" or "low"`

5555 5594 

5556 Moderation level for the generated image. Default: `auto`.5595 Moderation level for the generated image. Default: `auto`.


6508 6547 

6509 - `background: optional "transparent" or "opaque" or "auto"`6548 - `background: optional "transparent" or "opaque" or "auto"`

6510 6549 

6511 Background type for the generated image. One of `transparent`,6550 Set the background of the generated image. One of `transparent`,

6512 `opaque`, or `auto`. Default: `auto`.6551 `opaque`, or `auto`. Transparent backgrounds are available for

6552 supported GPT Image models. For `gpt-image-2` and

6553 `gpt-image-2-2026-04-21`, this support is in preview. When using

6554 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

6513 6555 

6514 - `"transparent"`6556 - `"transparent"`

6515 6557 


6538 6580 

6539 Base64-encoded mask image.6581 Base64-encoded mask image.

6540 6582 

6541 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`6583 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

6542 6584 

6543 The image generation model to use. Default: `gpt-image-1`.6585 The image generation model to use. One of `gpt-image-1`,

6586 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

6587 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

6588 `gpt-image-1`.

6544 6589 

6545 - `string`6590 - `string`

6546 6591 

6547 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`6592 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

6548 6593 

6549 The image generation model to use. Default: `gpt-image-1`.6594 The image generation model to use. One of `gpt-image-1`,

6595 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

6596 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

6597 `gpt-image-1`.

6550 6598 

6551 - `"gpt-image-1"`6599 - `"gpt-image-1"`

6552 6600 


6554 6602 

6555 - `"gpt-image-1.5"`6603 - `"gpt-image-1.5"`

6556 6604 

6605 - `"gpt-image-2"`

6606 

6607 - `"gpt-image-2-2026-04-21"`

6608 

6557 - `moderation: optional "auto" or "low"`6609 - `moderation: optional "auto" or "low"`

6558 6610 

6559 Moderation level for the generated image. Default: `auto`.6611 Moderation level for the generated image. Default: `auto`.

Details

1825 1825 

1826 - `background: optional "transparent" or "opaque" or "auto"`1826 - `background: optional "transparent" or "opaque" or "auto"`

1827 1827 

1828 Background type for the generated image. One of `transparent`,1828 Set the background of the generated image. One of `transparent`,

1829 `opaque`, or `auto`. Default: `auto`.1829 `opaque`, or `auto`. Transparent backgrounds are available for

1830 supported GPT Image models. For `gpt-image-2` and

1831 `gpt-image-2-2026-04-21`, this support is in preview. When using

1832 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

1830 1833 

1831 - `"transparent"`1834 - `"transparent"`

1832 1835 


1855 1858 

1856 Base64-encoded mask image.1859 Base64-encoded mask image.

1857 1860 

1858 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`1861 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

1859 1862 

1860 The image generation model to use. Default: `gpt-image-1`.1863 The image generation model to use. One of `gpt-image-1`,

1864 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

1865 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

1866 `gpt-image-1`.

1861 1867 

1862 - `string`1868 - `string`

1863 1869 

1864 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`1870 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

1865 1871 

1866 The image generation model to use. Default: `gpt-image-1`.1872 The image generation model to use. One of `gpt-image-1`,

1873 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

1874 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

1875 `gpt-image-1`.

1867 1876 

1868 - `"gpt-image-1"`1877 - `"gpt-image-1"`

1869 1878 


1871 1880 

1872 - `"gpt-image-1.5"`1881 - `"gpt-image-1.5"`

1873 1882 

1883 - `"gpt-image-2"`

1884 

1885 - `"gpt-image-2-2026-04-21"`

1886 

1874 - `moderation: optional "auto" or "low"`1887 - `moderation: optional "auto" or "low"`

1875 1888 

1876 Moderation level for the generated image. Default: `auto`.1889 Moderation level for the generated image. Default: `auto`.


2832 2845 

2833 - `background: optional "transparent" or "opaque" or "auto"`2846 - `background: optional "transparent" or "opaque" or "auto"`

2834 2847 

2835 Background type for the generated image. One of `transparent`,2848 Set the background of the generated image. One of `transparent`,

2836 `opaque`, or `auto`. Default: `auto`.2849 `opaque`, or `auto`. Transparent backgrounds are available for

2850 supported GPT Image models. For `gpt-image-2` and

2851 `gpt-image-2-2026-04-21`, this support is in preview. When using

2852 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

2837 2853 

2838 - `"transparent"`2854 - `"transparent"`

2839 2855 


2862 2878 

2863 Base64-encoded mask image.2879 Base64-encoded mask image.

2864 2880 

2865 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`2881 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

2866 2882 

2867 The image generation model to use. Default: `gpt-image-1`.2883 The image generation model to use. One of `gpt-image-1`,

2884 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

2885 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

2886 `gpt-image-1`.

2868 2887 

2869 - `string`2888 - `string`

2870 2889 

2871 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`2890 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

2872 2891 

2873 The image generation model to use. Default: `gpt-image-1`.2892 The image generation model to use. One of `gpt-image-1`,

2893 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

2894 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

2895 `gpt-image-1`.

2874 2896 

2875 - `"gpt-image-1"`2897 - `"gpt-image-1"`

2876 2898 


2878 2900 

2879 - `"gpt-image-1.5"`2901 - `"gpt-image-1.5"`

2880 2902 

2903 - `"gpt-image-2"`

2904 

2905 - `"gpt-image-2-2026-04-21"`

2906 

2881 - `moderation: optional "auto" or "low"`2907 - `moderation: optional "auto" or "low"`

2882 2908 

2883 Moderation level for the generated image. Default: `auto`.2909 Moderation level for the generated image. Default: `auto`.


5422 5448 

5423 - `background: optional "transparent" or "opaque" or "auto"`5449 - `background: optional "transparent" or "opaque" or "auto"`

5424 5450 

5425 Background type for the generated image. One of `transparent`,5451 Set the background of the generated image. One of `transparent`,

5426 `opaque`, or `auto`. Default: `auto`.5452 `opaque`, or `auto`. Transparent backgrounds are available for

5453 supported GPT Image models. For `gpt-image-2` and

5454 `gpt-image-2-2026-04-21`, this support is in preview. When using

5455 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

5427 5456 

5428 - `"transparent"`5457 - `"transparent"`

5429 5458 


5452 5481 

5453 Base64-encoded mask image.5482 Base64-encoded mask image.

5454 5483 

5455 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`5484 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

5456 5485 

5457 The image generation model to use. Default: `gpt-image-1`.5486 The image generation model to use. One of `gpt-image-1`,

5487 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

5488 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

5489 `gpt-image-1`.

5458 5490 

5459 - `string`5491 - `string`

5460 5492 

5461 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`5493 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

5462 5494 

5463 The image generation model to use. Default: `gpt-image-1`.5495 The image generation model to use. One of `gpt-image-1`,

5496 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

5497 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

5498 `gpt-image-1`.

5464 5499 

5465 - `"gpt-image-1"`5500 - `"gpt-image-1"`

5466 5501 


5468 5503 

5469 - `"gpt-image-1.5"`5504 - `"gpt-image-1.5"`

5470 5505 

5506 - `"gpt-image-2"`

5507 

5508 - `"gpt-image-2-2026-04-21"`

5509 

5471 - `moderation: optional "auto" or "low"`5510 - `moderation: optional "auto" or "low"`

5472 5511 

5473 Moderation level for the generated image. Default: `auto`.5512 Moderation level for the generated image. Default: `auto`.


7641 7680 

7642 - `background: optional "transparent" or "opaque" or "auto"`7681 - `background: optional "transparent" or "opaque" or "auto"`

7643 7682 

7644 Background type for the generated image. One of `transparent`,7683 Set the background of the generated image. One of `transparent`,

7645 `opaque`, or `auto`. Default: `auto`.7684 `opaque`, or `auto`. Transparent backgrounds are available for

7685 supported GPT Image models. For `gpt-image-2` and

7686 `gpt-image-2-2026-04-21`, this support is in preview. When using

7687 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

7646 7688 

7647 - `"transparent"`7689 - `"transparent"`

7648 7690 


7671 7713 

7672 Base64-encoded mask image.7714 Base64-encoded mask image.

7673 7715 

7674 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`7716 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

7675 7717 

7676 The image generation model to use. Default: `gpt-image-1`.7718 The image generation model to use. One of `gpt-image-1`,

7719 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

7720 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

7721 `gpt-image-1`.

7677 7722 

7678 - `string`7723 - `string`

7679 7724 

7680 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`7725 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

7681 7726 

7682 The image generation model to use. Default: `gpt-image-1`.7727 The image generation model to use. One of `gpt-image-1`,

7728 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

7729 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

7730 `gpt-image-1`.

7683 7731 

7684 - `"gpt-image-1"`7732 - `"gpt-image-1"`

7685 7733 


7687 7735 

7688 - `"gpt-image-1.5"`7736 - `"gpt-image-1.5"`

7689 7737 

7738 - `"gpt-image-2"`

7739 

7740 - `"gpt-image-2-2026-04-21"`

7741 

7690 - `moderation: optional "auto" or "low"`7742 - `moderation: optional "auto" or "low"`

7691 7743 

7692 Moderation level for the generated image. Default: `auto`.7744 Moderation level for the generated image. Default: `auto`.


8648 8700 

8649 - `background: optional "transparent" or "opaque" or "auto"`8701 - `background: optional "transparent" or "opaque" or "auto"`

8650 8702 

8651 Background type for the generated image. One of `transparent`,8703 Set the background of the generated image. One of `transparent`,

8652 `opaque`, or `auto`. Default: `auto`.8704 `opaque`, or `auto`. Transparent backgrounds are available for

8705 supported GPT Image models. For `gpt-image-2` and

8706 `gpt-image-2-2026-04-21`, this support is in preview. When using

8707 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

8653 8708 

8654 - `"transparent"`8709 - `"transparent"`

8655 8710 


8678 8733 

8679 Base64-encoded mask image.8734 Base64-encoded mask image.

8680 8735 

8681 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`8736 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

8682 8737 

8683 The image generation model to use. Default: `gpt-image-1`.8738 The image generation model to use. One of `gpt-image-1`,

8739 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

8740 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

8741 `gpt-image-1`.

8684 8742 

8685 - `string`8743 - `string`

8686 8744 

8687 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`8745 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

8688 8746 

8689 The image generation model to use. Default: `gpt-image-1`.8747 The image generation model to use. One of `gpt-image-1`,

8748 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

8749 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

8750 `gpt-image-1`.

8690 8751 

8691 - `"gpt-image-1"`8752 - `"gpt-image-1"`

8692 8753 


8694 8755 

8695 - `"gpt-image-1.5"`8756 - `"gpt-image-1.5"`

8696 8757 

8758 - `"gpt-image-2"`

8759 

8760 - `"gpt-image-2-2026-04-21"`

8761 

8697 - `moderation: optional "auto" or "low"`8762 - `moderation: optional "auto" or "low"`

8698 8763 

8699 Moderation level for the generated image. Default: `auto`.8764 Moderation level for the generated image. Default: `auto`.


11302 11367 

11303 - `background: optional "transparent" or "opaque" or "auto"`11368 - `background: optional "transparent" or "opaque" or "auto"`

11304 11369 

11305 Background type for the generated image. One of `transparent`,11370 Set the background of the generated image. One of `transparent`,

11306 `opaque`, or `auto`. Default: `auto`.11371 `opaque`, or `auto`. Transparent backgrounds are available for

11372 supported GPT Image models. For `gpt-image-2` and

11373 `gpt-image-2-2026-04-21`, this support is in preview. When using

11374 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

11307 11375 

11308 - `"transparent"`11376 - `"transparent"`

11309 11377 


11332 11400 

11333 Base64-encoded mask image.11401 Base64-encoded mask image.

11334 11402 

11335 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`11403 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

11336 11404 

11337 The image generation model to use. Default: `gpt-image-1`.11405 The image generation model to use. One of `gpt-image-1`,

11406 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

11407 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

11408 `gpt-image-1`.

11338 11409 

11339 - `string`11410 - `string`

11340 11411 

11341 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`11412 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

11342 11413 

11343 The image generation model to use. Default: `gpt-image-1`.11414 The image generation model to use. One of `gpt-image-1`,

11415 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

11416 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

11417 `gpt-image-1`.

11344 11418 

11345 - `"gpt-image-1"`11419 - `"gpt-image-1"`

11346 11420 


11348 11422 

11349 - `"gpt-image-1.5"`11423 - `"gpt-image-1.5"`

11350 11424 

11425 - `"gpt-image-2"`

11426 

11427 - `"gpt-image-2-2026-04-21"`

11428 

11351 - `moderation: optional "auto" or "low"`11429 - `moderation: optional "auto" or "low"`

11352 11430 

11353 Moderation level for the generated image. Default: `auto`.11431 Moderation level for the generated image. Default: `auto`.


12155 12233 

12156 - `background: optional "transparent" or "opaque" or "auto"`12234 - `background: optional "transparent" or "opaque" or "auto"`

12157 12235 

12158 Background type for the generated image. One of `transparent`,12236 Set the background of the generated image. One of `transparent`,

12159 `opaque`, or `auto`. Default: `auto`.12237 `opaque`, or `auto`. Transparent backgrounds are available for

12238 supported GPT Image models. For `gpt-image-2` and

12239 `gpt-image-2-2026-04-21`, this support is in preview. When using

12240 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

12160 12241 

12161 - `"transparent"`12242 - `"transparent"`

12162 12243 


12185 12266 

12186 Base64-encoded mask image.12267 Base64-encoded mask image.

12187 12268 

12188 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`12269 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

12189 12270 

12190 The image generation model to use. Default: `gpt-image-1`.12271 The image generation model to use. One of `gpt-image-1`,

12272 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

12273 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

12274 `gpt-image-1`.

12191 12275 

12192 - `string`12276 - `string`

12193 12277 

12194 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`12278 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

12195 12279 

12196 The image generation model to use. Default: `gpt-image-1`.12280 The image generation model to use. One of `gpt-image-1`,

12281 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

12282 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

12283 `gpt-image-1`.

12197 12284 

12198 - `"gpt-image-1"`12285 - `"gpt-image-1"`

12199 12286 


12201 12288 

12202 - `"gpt-image-1.5"`12289 - `"gpt-image-1.5"`

12203 12290 

12291 - `"gpt-image-2"`

12292 

12293 - `"gpt-image-2-2026-04-21"`

12294 

12204 - `moderation: optional "auto" or "low"`12295 - `moderation: optional "auto" or "low"`

12205 12296 

12206 Moderation level for the generated image. Default: `auto`.12297 Moderation level for the generated image. Default: `auto`.


14007 14098 

14008 - `background: optional "transparent" or "opaque" or "auto"`14099 - `background: optional "transparent" or "opaque" or "auto"`

14009 14100 

14010 Background type for the generated image. One of `transparent`,14101 Set the background of the generated image. One of `transparent`,

14011 `opaque`, or `auto`. Default: `auto`.14102 `opaque`, or `auto`. Transparent backgrounds are available for

14103 supported GPT Image models. For `gpt-image-2` and

14104 `gpt-image-2-2026-04-21`, this support is in preview. When using

14105 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

14012 14106 

14013 - `"transparent"`14107 - `"transparent"`

14014 14108 


14037 14131 

14038 Base64-encoded mask image.14132 Base64-encoded mask image.

14039 14133 

14040 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`14134 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

14041 14135 

14042 The image generation model to use. Default: `gpt-image-1`.14136 The image generation model to use. One of `gpt-image-1`,

14137 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

14138 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

14139 `gpt-image-1`.

14043 14140 

14044 - `string`14141 - `string`

14045 14142 

14046 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`14143 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

14047 14144 

14048 The image generation model to use. Default: `gpt-image-1`.14145 The image generation model to use. One of `gpt-image-1`,

14146 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

14147 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

14148 `gpt-image-1`.

14049 14149 

14050 - `"gpt-image-1"`14150 - `"gpt-image-1"`

14051 14151 


14053 14153 

14054 - `"gpt-image-1.5"`14154 - `"gpt-image-1.5"`

14055 14155 

14156 - `"gpt-image-2"`

14157 

14158 - `"gpt-image-2-2026-04-21"`

14159 

14056 - `moderation: optional "auto" or "low"`14160 - `moderation: optional "auto" or "low"`

14057 14161 

14058 Moderation level for the generated image. Default: `auto`.14162 Moderation level for the generated image. Default: `auto`.

Details

1877 1877 

1878 - `background: optional "transparent" or "opaque" or "auto"`1878 - `background: optional "transparent" or "opaque" or "auto"`

1879 1879 

1880 Background type for the generated image. One of `transparent`,1880 Set the background of the generated image. One of `transparent`,

1881 `opaque`, or `auto`. Default: `auto`.1881 `opaque`, or `auto`. Transparent backgrounds are available for

1882 supported GPT Image models. For `gpt-image-2` and

1883 `gpt-image-2-2026-04-21`, this support is in preview. When using

1884 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

1882 1885 

1883 - `"transparent"`1886 - `"transparent"`

1884 1887 


1907 1910 

1908 Base64-encoded mask image.1911 Base64-encoded mask image.

1909 1912 

1910 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`1913 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

1911 1914 

1912 The image generation model to use. Default: `gpt-image-1`.1915 The image generation model to use. One of `gpt-image-1`,

1916 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

1917 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

1918 `gpt-image-1`.

1913 1919 

1914 - `string`1920 - `string`

1915 1921 

1916 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`1922 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

1917 1923 

1918 The image generation model to use. Default: `gpt-image-1`.1924 The image generation model to use. One of `gpt-image-1`,

1925 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

1926 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

1927 `gpt-image-1`.

1919 1928 

1920 - `"gpt-image-1"`1929 - `"gpt-image-1"`

1921 1930 


1923 1932 

1924 - `"gpt-image-1.5"`1933 - `"gpt-image-1.5"`

1925 1934 

1935 - `"gpt-image-2"`

1936 

1937 - `"gpt-image-2-2026-04-21"`

1938 

1926 - `moderation: optional "auto" or "low"`1939 - `moderation: optional "auto" or "low"`

1927 1940 

1928 Moderation level for the generated image. Default: `auto`.1941 Moderation level for the generated image. Default: `auto`.


2884 2897 

2885 - `background: optional "transparent" or "opaque" or "auto"`2898 - `background: optional "transparent" or "opaque" or "auto"`

2886 2899 

2887 Background type for the generated image. One of `transparent`,2900 Set the background of the generated image. One of `transparent`,

2888 `opaque`, or `auto`. Default: `auto`.2901 `opaque`, or `auto`. Transparent backgrounds are available for

2902 supported GPT Image models. For `gpt-image-2` and

2903 `gpt-image-2-2026-04-21`, this support is in preview. When using

2904 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

2889 2905 

2890 - `"transparent"`2906 - `"transparent"`

2891 2907 


2914 2930 

2915 Base64-encoded mask image.2931 Base64-encoded mask image.

2916 2932 

2917 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`2933 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

2918 2934 

2919 The image generation model to use. Default: `gpt-image-1`.2935 The image generation model to use. One of `gpt-image-1`,

2936 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

2937 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

2938 `gpt-image-1`.

2920 2939 

2921 - `string`2940 - `string`

2922 2941 

2923 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`2942 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

2924 2943 

2925 The image generation model to use. Default: `gpt-image-1`.2944 The image generation model to use. One of `gpt-image-1`,

2945 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

2946 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

2947 `gpt-image-1`.

2926 2948 

2927 - `"gpt-image-1"`2949 - `"gpt-image-1"`

2928 2950 


2930 2952 

2931 - `"gpt-image-1.5"`2953 - `"gpt-image-1.5"`

2932 2954 

2955 - `"gpt-image-2"`

2956 

2957 - `"gpt-image-2-2026-04-21"`

2958 

2933 - `moderation: optional "auto" or "low"`2959 - `moderation: optional "auto" or "low"`

2934 2960 

2935 Moderation level for the generated image. Default: `auto`.2961 Moderation level for the generated image. Default: `auto`.


5538 5564 

5539 - `background: optional "transparent" or "opaque" or "auto"`5565 - `background: optional "transparent" or "opaque" or "auto"`

5540 5566 

5541 Background type for the generated image. One of `transparent`,5567 Set the background of the generated image. One of `transparent`,

5542 `opaque`, or `auto`. Default: `auto`.5568 `opaque`, or `auto`. Transparent backgrounds are available for

5569 supported GPT Image models. For `gpt-image-2` and

5570 `gpt-image-2-2026-04-21`, this support is in preview. When using

5571 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

5543 5572 

5544 - `"transparent"`5573 - `"transparent"`

5545 5574 


5568 5597 

5569 Base64-encoded mask image.5598 Base64-encoded mask image.

5570 5599 

5571 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`5600 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

5572 5601 

5573 The image generation model to use. Default: `gpt-image-1`.5602 The image generation model to use. One of `gpt-image-1`,

5603 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

5604 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

5605 `gpt-image-1`.

5574 5606 

5575 - `string`5607 - `string`

5576 5608 

5577 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`5609 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

5578 5610 

5579 The image generation model to use. Default: `gpt-image-1`.5611 The image generation model to use. One of `gpt-image-1`,

5612 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

5613 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

5614 `gpt-image-1`.

5580 5615 

5581 - `"gpt-image-1"`5616 - `"gpt-image-1"`

5582 5617 


5584 5619 

5585 - `"gpt-image-1.5"`5620 - `"gpt-image-1.5"`

5586 5621 

5622 - `"gpt-image-2"`

5623 

5624 - `"gpt-image-2-2026-04-21"`

5625 

5587 - `moderation: optional "auto" or "low"`5626 - `moderation: optional "auto" or "low"`

5588 5627 

5589 Moderation level for the generated image. Default: `auto`.5628 Moderation level for the generated image. Default: `auto`.


6391 6430 

6392 - `background: optional "transparent" or "opaque" or "auto"`6431 - `background: optional "transparent" or "opaque" or "auto"`

6393 6432 

6394 Background type for the generated image. One of `transparent`,6433 Set the background of the generated image. One of `transparent`,

6395 `opaque`, or `auto`. Default: `auto`.6434 `opaque`, or `auto`. Transparent backgrounds are available for

6435 supported GPT Image models. For `gpt-image-2` and

6436 `gpt-image-2-2026-04-21`, this support is in preview. When using

6437 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

6396 6438 

6397 - `"transparent"`6439 - `"transparent"`

6398 6440 


6421 6463 

6422 Base64-encoded mask image.6464 Base64-encoded mask image.

6423 6465 

6424 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`6466 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

6425 6467 

6426 The image generation model to use. Default: `gpt-image-1`.6468 The image generation model to use. One of `gpt-image-1`,

6469 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

6470 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

6471 `gpt-image-1`.

6427 6472 

6428 - `string`6473 - `string`

6429 6474 

6430 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`6475 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

6431 6476 

6432 The image generation model to use. Default: `gpt-image-1`.6477 The image generation model to use. One of `gpt-image-1`,

6478 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

6479 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

6480 `gpt-image-1`.

6433 6481 

6434 - `"gpt-image-1"`6482 - `"gpt-image-1"`

6435 6483 


6437 6485 

6438 - `"gpt-image-1.5"`6486 - `"gpt-image-1.5"`

6439 6487 

6488 - `"gpt-image-2"`

6489 

6490 - `"gpt-image-2-2026-04-21"`

6491 

6440 - `moderation: optional "auto" or "low"`6492 - `moderation: optional "auto" or "low"`

6441 6493 

6442 Moderation level for the generated image. Default: `auto`.6494 Moderation level for the generated image. Default: `auto`.


8243 8295 

8244 - `background: optional "transparent" or "opaque" or "auto"`8296 - `background: optional "transparent" or "opaque" or "auto"`

8245 8297 

8246 Background type for the generated image. One of `transparent`,8298 Set the background of the generated image. One of `transparent`,

8247 `opaque`, or `auto`. Default: `auto`.8299 `opaque`, or `auto`. Transparent backgrounds are available for

8300 supported GPT Image models. For `gpt-image-2` and

8301 `gpt-image-2-2026-04-21`, this support is in preview. When using

8302 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

8248 8303 

8249 - `"transparent"`8304 - `"transparent"`

8250 8305 


8273 8328 

8274 Base64-encoded mask image.8329 Base64-encoded mask image.

8275 8330 

8276 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`8331 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

8277 8332 

8278 The image generation model to use. Default: `gpt-image-1`.8333 The image generation model to use. One of `gpt-image-1`,

8334 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

8335 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

8336 `gpt-image-1`.

8279 8337 

8280 - `string`8338 - `string`

8281 8339 

8282 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`8340 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

8283 8341 

8284 The image generation model to use. Default: `gpt-image-1`.8342 The image generation model to use. One of `gpt-image-1`,

8343 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

8344 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

8345 `gpt-image-1`.

8285 8346 

8286 - `"gpt-image-1"`8347 - `"gpt-image-1"`

8287 8348 


8289 8350 

8290 - `"gpt-image-1.5"`8351 - `"gpt-image-1.5"`

8291 8352 

8353 - `"gpt-image-2"`

8354 

8355 - `"gpt-image-2-2026-04-21"`

8356 

8292 - `moderation: optional "auto" or "low"`8357 - `moderation: optional "auto" or "low"`

8293 8358 

8294 Moderation level for the generated image. Default: `auto`.8359 Moderation level for the generated image. Default: `auto`.

Details

1690 1690 

1691 - `background: optional "transparent" or "opaque" or "auto"`1691 - `background: optional "transparent" or "opaque" or "auto"`

1692 1692 

1693 Background type for the generated image. One of `transparent`,1693 Set the background of the generated image. One of `transparent`,

1694 `opaque`, or `auto`. Default: `auto`.1694 `opaque`, or `auto`. Transparent backgrounds are available for

1695 supported GPT Image models. For `gpt-image-2` and

1696 `gpt-image-2-2026-04-21`, this support is in preview. When using

1697 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

1695 1698 

1696 - `"transparent"`1699 - `"transparent"`

1697 1700 


1720 1723 

1721 Base64-encoded mask image.1724 Base64-encoded mask image.

1722 1725 

1723 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`1726 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

1724 1727 

1725 The image generation model to use. Default: `gpt-image-1`.1728 The image generation model to use. One of `gpt-image-1`,

1729 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

1730 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

1731 `gpt-image-1`.

1726 1732 

1727 - `string`1733 - `string`

1728 1734 

1729 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`1735 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

1730 1736 

1731 The image generation model to use. Default: `gpt-image-1`.1737 The image generation model to use. One of `gpt-image-1`,

1738 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

1739 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

1740 `gpt-image-1`.

1732 1741 

1733 - `"gpt-image-1"`1742 - `"gpt-image-1"`

1734 1743 


1736 1745 

1737 - `"gpt-image-1.5"`1746 - `"gpt-image-1.5"`

1738 1747 

1748 - `"gpt-image-2"`

1749 

1750 - `"gpt-image-2-2026-04-21"`

1751 

1739 - `moderation: optional "auto" or "low"`1752 - `moderation: optional "auto" or "low"`

1740 1753 

1741 Moderation level for the generated image. Default: `auto`.1754 Moderation level for the generated image. Default: `auto`.


2693 2706 

2694 - `background: optional "transparent" or "opaque" or "auto"`2707 - `background: optional "transparent" or "opaque" or "auto"`

2695 2708 

2696 Background type for the generated image. One of `transparent`,2709 Set the background of the generated image. One of `transparent`,

2697 `opaque`, or `auto`. Default: `auto`.2710 `opaque`, or `auto`. Transparent backgrounds are available for

2711 supported GPT Image models. For `gpt-image-2` and

2712 `gpt-image-2-2026-04-21`, this support is in preview. When using

2713 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

2698 2714 

2699 - `"transparent"`2715 - `"transparent"`

2700 2716 


2723 2739 

2724 Base64-encoded mask image.2740 Base64-encoded mask image.

2725 2741 

2726 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`2742 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

2727 2743 

2728 The image generation model to use. Default: `gpt-image-1`.2744 The image generation model to use. One of `gpt-image-1`,

2745 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

2746 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

2747 `gpt-image-1`.

2729 2748 

2730 - `string`2749 - `string`

2731 2750 

2732 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`2751 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

2733 2752 

2734 The image generation model to use. Default: `gpt-image-1`.2753 The image generation model to use. One of `gpt-image-1`,

2754 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

2755 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

2756 `gpt-image-1`.

2735 2757 

2736 - `"gpt-image-1"`2758 - `"gpt-image-1"`

2737 2759 


2739 2761 

2740 - `"gpt-image-1.5"`2762 - `"gpt-image-1.5"`

2741 2763 

2764 - `"gpt-image-2"`

2765 

2766 - `"gpt-image-2-2026-04-21"`

2767 

2742 - `moderation: optional "auto" or "low"`2768 - `moderation: optional "auto" or "low"`

2743 2769 

2744 Moderation level for the generated image. Default: `auto`.2770 Moderation level for the generated image. Default: `auto`.

Details

1766 1766 

1767 - `background: optional "transparent" or "opaque" or "auto"`1767 - `background: optional "transparent" or "opaque" or "auto"`

1768 1768 

1769 Background type for the generated image. One of `transparent`,1769 Set the background of the generated image. One of `transparent`,

1770 `opaque`, or `auto`. Default: `auto`.1770 `opaque`, or `auto`. Transparent backgrounds are available for

1771 supported GPT Image models. For `gpt-image-2` and

1772 `gpt-image-2-2026-04-21`, this support is in preview. When using

1773 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

1771 1774 

1772 - `"transparent"`1775 - `"transparent"`

1773 1776 


1796 1799 

1797 Base64-encoded mask image.1800 Base64-encoded mask image.

1798 1801 

1799 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`1802 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

1800 1803 

1801 The image generation model to use. Default: `gpt-image-1`.1804 The image generation model to use. One of `gpt-image-1`,

1805 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

1806 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

1807 `gpt-image-1`.

1802 1808 

1803 - `string`1809 - `string`

1804 1810 

1805 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`1811 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

1806 1812 

1807 The image generation model to use. Default: `gpt-image-1`.1813 The image generation model to use. One of `gpt-image-1`,

1814 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

1815 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

1816 `gpt-image-1`.

1808 1817 

1809 - `"gpt-image-1"`1818 - `"gpt-image-1"`

1810 1819 


1812 1821 

1813 - `"gpt-image-1.5"`1822 - `"gpt-image-1.5"`

1814 1823 

1824 - `"gpt-image-2"`

1825 

1826 - `"gpt-image-2-2026-04-21"`

1827 

1815 - `moderation: optional "auto" or "low"`1828 - `moderation: optional "auto" or "low"`

1816 1829 

1817 Moderation level for the generated image. Default: `auto`.1830 Moderation level for the generated image. Default: `auto`.


2773 2786 

2774 - `background: optional "transparent" or "opaque" or "auto"`2787 - `background: optional "transparent" or "opaque" or "auto"`

2775 2788 

2776 Background type for the generated image. One of `transparent`,2789 Set the background of the generated image. One of `transparent`,

2777 `opaque`, or `auto`. Default: `auto`.2790 `opaque`, or `auto`. Transparent backgrounds are available for

2791 supported GPT Image models. For `gpt-image-2` and

2792 `gpt-image-2-2026-04-21`, this support is in preview. When using

2793 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

2778 2794 

2779 - `"transparent"`2795 - `"transparent"`

2780 2796 


2803 2819 

2804 Base64-encoded mask image.2820 Base64-encoded mask image.

2805 2821 

2806 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`2822 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

2807 2823 

2808 The image generation model to use. Default: `gpt-image-1`.2824 The image generation model to use. One of `gpt-image-1`,

2825 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

2826 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

2827 `gpt-image-1`.

2809 2828 

2810 - `string`2829 - `string`

2811 2830 

2812 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`2831 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

2813 2832 

2814 The image generation model to use. Default: `gpt-image-1`.2833 The image generation model to use. One of `gpt-image-1`,

2834 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

2835 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

2836 `gpt-image-1`.

2815 2837 

2816 - `"gpt-image-1"`2838 - `"gpt-image-1"`

2817 2839 


2819 2841 

2820 - `"gpt-image-1.5"`2842 - `"gpt-image-1.5"`

2821 2843 

2844 - `"gpt-image-2"`

2845 

2846 - `"gpt-image-2-2026-04-21"`

2847 

2822 - `moderation: optional "auto" or "low"`2848 - `moderation: optional "auto" or "low"`

2823 2849 

2824 Moderation level for the generated image. Default: `auto`.2850 Moderation level for the generated image. Default: `auto`.


4952 4978 

4953 - `background: optional "transparent" or "opaque" or "auto"`4979 - `background: optional "transparent" or "opaque" or "auto"`

4954 4980 

4955 Background type for the generated image. One of `transparent`,4981 Set the background of the generated image. One of `transparent`,

4956 `opaque`, or `auto`. Default: `auto`.4982 `opaque`, or `auto`. Transparent backgrounds are available for

4983 supported GPT Image models. For `gpt-image-2` and

4984 `gpt-image-2-2026-04-21`, this support is in preview. When using

4985 `transparent`, set the output format to `png` or `webp`. Default: `auto`.

4957 4986 

4958 - `"transparent"`4987 - `"transparent"`

4959 4988 


4982 5011 

4983 Base64-encoded mask image.5012 Base64-encoded mask image.

4984 5013 

4985 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`5014 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

4986 5015 

4987 The image generation model to use. Default: `gpt-image-1`.5016 The image generation model to use. One of `gpt-image-1`,

5017 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

5018 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

5019 `gpt-image-1`.

4988 5020 

4989 - `string`5021 - `string`

4990 5022 

4991 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5"`5023 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 2 more`

4992 5024 

4993 The image generation model to use. Default: `gpt-image-1`.5025 The image generation model to use. One of `gpt-image-1`,

5026 `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,

5027 `gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:

5028 `gpt-image-1`.

4994 5029 

4995 - `"gpt-image-1"`5030 - `"gpt-image-1"`

4996 5031 


4998 5033 

4999 - `"gpt-image-1.5"`5034 - `"gpt-image-1.5"`

5000 5035 

5036 - `"gpt-image-2"`

5037 

5038 - `"gpt-image-2-2026-04-21"`

5039 

5001 - `moderation: optional "auto" or "low"`5040 - `moderation: optional "auto" or "low"`

5002 5041 

5003 Moderation level for the generated image. Default: `auto`.5042 Moderation level for the generated image. Default: `auto`.