2271 2271
2272 - `"programmatic_tool_calling"`2272 - `"programmatic_tool_calling"`
2273 2273
2274 - `ImageGeneration object { type, action, background, 9 more }`2274 - `ImageGeneration object { type, action, background, 13 more }`
2275 2275
2276 A tool that generates images using the GPT image models.2276 A tool that generates images using the GPT image models.
2277 2277
2307 2307
2308 - `"auto"`2308 - `"auto"`
2309 2309
2310 - `complexity: optional "low" or "medium" or "high"`
2311
2312 Computation spent planning the image, independently of rendering quality.
2313 Overrides the outer response's `reasoning.effort` for image generation.
2314 When omitted, inherits a supported outer reasoning effort or uses the
2315 image model's configured default.
2316 For SVG output, controls the reference image, not the SVG author's
2317 reasoning.
2318
2319 - `"low"`
2320
2321 - `"medium"`
2322
2323 - `"high"`
2324
2325 - `frame_count: optional integer (default: 9)`
2326
2327 Number of GIF frames. Requires `output_format` to be `gif`. Default: 9.
2328
2329 `minimum: 2`, `maximum: 16`
2330
2331 - `frame_duration_ms: optional integer (default: 200)`
2332
2333 Duration of each GIF frame in milliseconds, rounded to 10 ms.
2334 Requires `output_format` to be `gif`. Default: 200.
2335
2336 `minimum: 20`, `maximum: 2000`
2337
2310 - `input_fidelity: optional "high" or "low" or null`2338 - `input_fidelity: optional "high" or "low" or null`
2311 2339
2312 Control how much effort the model will exert to match the style and features, especially facial features, of input images. Supports `high` and `low` on `gpt-image-1.5`; `gpt-image-1-mini` supports only `low`. For `gpt-image-2`, omit this parameter. Defaults to `low` on supported models.2340 Control how much effort the model will exert to match the style and features, especially facial features, of input images. Supports `high` and `low` on `gpt-image-1.5`; `gpt-image-1-mini` supports only `low`. For `gpt-image-2`, omit this parameter. Defaults to `low` on supported models.
2328 2356
2329 Base64-encoded mask image.2357 Base64-encoded mask image.
2330 2358
2331 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 6 more`2359 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-2" or 9 more`
2332 2360
2333 The image generation model to use. One of `gpt-image-1-mini`,2361 The image generation model to use. One of `gpt-image-1-mini`,
2334 `gpt-image-1.5`, `gpt-image-2`,2362 `gpt-image-1.5`, `gpt-image-2`,
2335 `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`,2363 `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`,
2336 `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`,2364 `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`,
2337 `gpt-image-2.5-flare-2026-09-08`, or `chatgpt-image-latest`. Default:2365 `gpt-image-2.5-flare-2026-09-08`, `gpt-image-2.6-sunburst`,
2366 `gpt-image-2.6-flare`, or `chatgpt-image-latest`. Default:
2338 `gpt-image-2`.2367 `gpt-image-2`.
2339 2368
2340 `gpt-image-1` was shut down on October 23, 2026. Use2369 `gpt-image-1` was shut down on October 23, 2026. Use
2342 2371
2343 - `string`2372 - `string`
2344 2373
2345 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 6 more`2374 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-2" or 9 more`
2346 2375
2347 The image generation model to use. One of `gpt-image-1-mini`,2376 The image generation model to use. One of `gpt-image-1-mini`,
2348 `gpt-image-1.5`, `gpt-image-2`,2377 `gpt-image-1.5`, `gpt-image-2`,
2349 `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`,2378 `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`,
2350 `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`,2379 `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`,
2351 `gpt-image-2.5-flare-2026-09-08`, or `chatgpt-image-latest`. Default:2380 `gpt-image-2.5-flare-2026-09-08`, `gpt-image-2.6-sunburst`,
2381 `gpt-image-2.6-flare`, or `chatgpt-image-latest`. Default:
2352 `gpt-image-2`.2382 `gpt-image-2`.
2353 2383
2354 `gpt-image-1` was shut down on October 23, 2026. Use2384 `gpt-image-1` was shut down on October 23, 2026. Use
2358 2388
2359 - `"gpt-image-1-mini"`2389 - `"gpt-image-1-mini"`
2360 2390
2361 - `"gpt-image-1.5"`
2362
2363 - `"gpt-image-2"`2391 - `"gpt-image-2"`
2364 2392
2365 - `"gpt-image-2-2026-04-21"`2393 - `"gpt-image-2-2026-04-21"`
2372 2400
2373 - `"gpt-image-2.5-flare-2026-09-08"`2401 - `"gpt-image-2.5-flare-2026-09-08"`
2374 2402
2403 - `"gpt-image-2.6-sunburst"`
2404
2405 - `"gpt-image-2.6-flare"`
2406
2407 - `"gpt-image-1.5"`
2408
2409 - `"chatgpt-image-latest"`
2410
2375 - `moderation: optional "auto" or "low" (default: "auto")`2411 - `moderation: optional "auto" or "low" (default: "auto")`
2376 2412
2377 Moderation level for the generated image. Default: `auto`.2413 Moderation level for the generated image. Default: `auto`.
2386 2422
2387 `minimum: 0`, `maximum: 100`2423 `minimum: 0`, `maximum: 100`
2388 2424
2389 - `output_format: optional "png" or "webp" or "jpeg" (default: "png")`2425 - `output_format: optional "png" or "webp" or "jpeg" or 2 more (default: "png")`
2390 2426
2391 The output format of the generated image. One of `png`, `webp`, or2427 The output format of the generated image. One of `png`, `webp`, `jpeg`,
2392 `jpeg`. Default: `png`.2428 `gif`, or `svg`. Default: `png`. GIF and SVG output require a model
2429 that supports the selected format. GIF output does not support
2430 partial image streaming (`partial_images` greater than `0`),
2431 `input_image_mask`, or custom `output_compression`.
2432 Responses lifecycle events can still be streamed for GIF output.
2393 2433
2394 - `"png"`2434 - `"png"`
2395 2435
2397 2437
2398 - `"jpeg"`2438 - `"jpeg"`
2399 2439
2440 - `"gif"`
2441
2442 - `"svg"`
2443
2400 - `partial_images: optional integer (default: 0)`2444 - `partial_images: optional integer (default: 0)`
2401 2445
2402 Number of partial images to generate in streaming mode, from 0 (default value) to 3.2446 Number of partial images to generate in streaming mode, from 0 (default value) to 3.
2440 2484
2441 - `"auto"`2485 - `"auto"`
2442 2486
2487 - `svg: optional object { model, reasoning }`
2488
2489 SVG author model settings. Requires `output_format` to be `svg`.
2490 When SVG model selection is enabled, omitting this object uses the
2491 outer response model. Otherwise, the default SVG author is used and
2492 explicit model overrides are unavailable.
2493
2494 - `model: optional string`
2495
2496 `minLength: 1`
2497
2498 - `reasoning: optional object { effort } or null`
2499
2500 Reasoning effort for SVG authoring. When omitted, uses the author model's default in both Images and Responses.
2501
2502 - `effort: optional "none" or "minimal" or "low" or 4 more`
2503
2504 Controls how much effort the model should spend on reasoning for this request.
2505
2506 - `"none"`
2507
2508 - `"minimal"`
2509
2510 - `"low"`
2511
2512 - `"medium"`
2513
2514 - `"high"`
2515
2516 - `"xhigh"`
2517
2518 - `"max"`
2519
2443 - `LocalShell object { type }`2520 - `LocalShell object { type }`
2444 2521
2445 A tool that allows the model to execute shell commands in a local environment.2522 A tool that allows the model to execute shell commands in a local environment.
3470 3547
3471 - `"programmatic_tool_calling"`3548 - `"programmatic_tool_calling"`
3472 3549
3473 - `ImageGeneration object { type, action, background, 9 more }`3550 - `ImageGeneration object { type, action, background, 13 more }`
3474 3551
3475 A tool that generates images using the GPT image models.3552 A tool that generates images using the GPT image models.
3476 3553
3506 3583
3507 - `"auto"`3584 - `"auto"`
3508 3585
3586 - `complexity: optional "low" or "medium" or "high"`
3587
3588 Computation spent planning the image, independently of rendering quality.
3589 Overrides the outer response's `reasoning.effort` for image generation.
3590 When omitted, inherits a supported outer reasoning effort or uses the
3591 image model's configured default.
3592 For SVG output, controls the reference image, not the SVG author's
3593 reasoning.
3594
3595 - `"low"`
3596
3597 - `"medium"`
3598
3599 - `"high"`
3600
3601 - `frame_count: optional integer (default: 9)`
3602
3603 Number of GIF frames. Requires `output_format` to be `gif`. Default: 9.
3604
3605 `minimum: 2`, `maximum: 16`
3606
3607 - `frame_duration_ms: optional integer (default: 200)`
3608
3609 Duration of each GIF frame in milliseconds, rounded to 10 ms.
3610 Requires `output_format` to be `gif`. Default: 200.
3611
3612 `minimum: 20`, `maximum: 2000`
3613
3509 - `input_fidelity: optional "high" or "low" or null`3614 - `input_fidelity: optional "high" or "low" or null`
3510 3615
3511 Control how much effort the model will exert to match the style and features, especially facial features, of input images. Supports `high` and `low` on `gpt-image-1.5`; `gpt-image-1-mini` supports only `low`. For `gpt-image-2`, omit this parameter. Defaults to `low` on supported models.3616 Control how much effort the model will exert to match the style and features, especially facial features, of input images. Supports `high` and `low` on `gpt-image-1.5`; `gpt-image-1-mini` supports only `low`. For `gpt-image-2`, omit this parameter. Defaults to `low` on supported models.
3527 3632
3528 Base64-encoded mask image.3633 Base64-encoded mask image.
3529 3634
3530 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 6 more`3635 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-2" or 9 more`
3531 3636
3532 The image generation model to use. One of `gpt-image-1-mini`,3637 The image generation model to use. One of `gpt-image-1-mini`,
3533 `gpt-image-1.5`, `gpt-image-2`,3638 `gpt-image-1.5`, `gpt-image-2`,
3534 `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`,3639 `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`,
3535 `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`,3640 `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`,
3536 `gpt-image-2.5-flare-2026-09-08`, or `chatgpt-image-latest`. Default:3641 `gpt-image-2.5-flare-2026-09-08`, `gpt-image-2.6-sunburst`,
3642 `gpt-image-2.6-flare`, or `chatgpt-image-latest`. Default:
3537 `gpt-image-2`.3643 `gpt-image-2`.
3538 3644
3539 `gpt-image-1` was shut down on October 23, 2026. Use3645 `gpt-image-1` was shut down on October 23, 2026. Use
3541 3647
3542 - `string`3648 - `string`
3543 3649
3544 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 6 more`3650 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-2" or 9 more`
3545 3651
3546 The image generation model to use. One of `gpt-image-1-mini`,3652 The image generation model to use. One of `gpt-image-1-mini`,
3547 `gpt-image-1.5`, `gpt-image-2`,3653 `gpt-image-1.5`, `gpt-image-2`,
3548 `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`,3654 `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`,
3549 `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`,3655 `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`,
3550 `gpt-image-2.5-flare-2026-09-08`, or `chatgpt-image-latest`. Default:3656 `gpt-image-2.5-flare-2026-09-08`, `gpt-image-2.6-sunburst`,
3657 `gpt-image-2.6-flare`, or `chatgpt-image-latest`. Default:
3551 `gpt-image-2`.3658 `gpt-image-2`.
3552 3659
3553 `gpt-image-1` was shut down on October 23, 2026. Use3660 `gpt-image-1` was shut down on October 23, 2026. Use
3557 3664
3558 - `"gpt-image-1-mini"`3665 - `"gpt-image-1-mini"`
3559 3666
3560 - `"gpt-image-1.5"`
3561
3562 - `"gpt-image-2"`3667 - `"gpt-image-2"`
3563 3668
3564 - `"gpt-image-2-2026-04-21"`3669 - `"gpt-image-2-2026-04-21"`
3571 3676
3572 - `"gpt-image-2.5-flare-2026-09-08"`3677 - `"gpt-image-2.5-flare-2026-09-08"`
3573 3678
3679 - `"gpt-image-2.6-sunburst"`
3680
3681 - `"gpt-image-2.6-flare"`
3682
3683 - `"gpt-image-1.5"`
3684
3685 - `"chatgpt-image-latest"`
3686
3574 - `moderation: optional "auto" or "low" (default: "auto")`3687 - `moderation: optional "auto" or "low" (default: "auto")`
3575 3688
3576 Moderation level for the generated image. Default: `auto`.3689 Moderation level for the generated image. Default: `auto`.
3585 3698
3586 `minimum: 0`, `maximum: 100`3699 `minimum: 0`, `maximum: 100`
3587 3700
3588 - `output_format: optional "png" or "webp" or "jpeg" (default: "png")`3701 - `output_format: optional "png" or "webp" or "jpeg" or 2 more (default: "png")`
3589 3702
3590 The output format of the generated image. One of `png`, `webp`, or3703 The output format of the generated image. One of `png`, `webp`, `jpeg`,
3591 `jpeg`. Default: `png`.3704 `gif`, or `svg`. Default: `png`. GIF and SVG output require a model
3705 that supports the selected format. GIF output does not support
3706 partial image streaming (`partial_images` greater than `0`),
3707 `input_image_mask`, or custom `output_compression`.
3708 Responses lifecycle events can still be streamed for GIF output.
3592 3709
3593 - `"png"`3710 - `"png"`
3594 3711
3596 3713
3597 - `"jpeg"`3714 - `"jpeg"`
3598 3715
3716 - `"gif"`
3717
3718 - `"svg"`
3719
3599 - `partial_images: optional integer (default: 0)`3720 - `partial_images: optional integer (default: 0)`
3600 3721
3601 Number of partial images to generate in streaming mode, from 0 (default value) to 3.3722 Number of partial images to generate in streaming mode, from 0 (default value) to 3.
3639 3760
3640 - `"auto"`3761 - `"auto"`
3641 3762
3763 - `svg: optional object { model, reasoning }`
3764
3765 SVG author model settings. Requires `output_format` to be `svg`.
3766 When SVG model selection is enabled, omitting this object uses the
3767 outer response model. Otherwise, the default SVG author is used and
3768 explicit model overrides are unavailable.
3769
3770 - `model: optional string`
3771
3772 `minLength: 1`
3773
3774 - `reasoning: optional object { effort } or null`
3775
3776 Reasoning effort for SVG authoring. When omitted, uses the author model's default in both Images and Responses.
3777
3778 - `effort: optional "none" or "minimal" or "low" or 4 more`
3779
3780 Controls how much effort the model should spend on reasoning for this request.
3781
3782 - `"none"`
3783
3784 - `"minimal"`
3785
3786 - `"low"`
3787
3788 - `"medium"`
3789
3790 - `"high"`
3791
3792 - `"xhigh"`
3793
3794 - `"max"`
3795
3642 - `LocalShell object { type }`3796 - `LocalShell object { type }`
3643 3797
3644 A tool that allows the model to execute shell commands in a local environment.3798 A tool that allows the model to execute shell commands in a local environment.
4207 4361
4208 The canonical name of the agent that produced this item.4362 The canonical name of the agent that produced this item.
4209 4363
4210 - `ImageGenerationCall object { id, result, status, 9 more }`4364 - `ImageGenerationCall object { id, result, status, 10 more }`
4211 4365
4212 An image generation request made by the model.4366 An image generation request made by the model.
4213 4367
4303 4457
4304 - `"unknown"`4458 - `"unknown"`
4305 4459
4306 - `output_format: optional "png" or "webp" or "jpeg" or null`4460 - `output_format: optional "png" or "webp" or "jpeg" or 2 more or null`
4307 4461
4308 The output format used for generation.4462 The output format used for generation.
4309 4463
4313 4467
4314 - `"jpeg"`4468 - `"jpeg"`
4315 4469
4470 - `"gif"`
4471
4472 - `"svg"`
4473
4316 - `quality: optional "low" or "medium" or "high" or 3 more or null`4474 - `quality: optional "low" or "medium" or "high" or 3 more or null`
4317 4475
4318 The quality of the image generated by the image generation tool call. One of `low`, `medium`, `high`, `xhigh`, `max`, or `auto`.4476 The quality of the image generated by the image generation tool call. One of `low`, `medium`, `high`, `xhigh`, `max`, or `auto`.
4349 4507
4350 - `"1536x1024"`4508 - `"1536x1024"`
4351 4509
4510 - `svg_usage: optional object { input_tokens, model, output_tokens, 2 more }`
4511
4512 - `input_tokens: integer`
4513
4514 - `model: string`
4515
4516 - `output_tokens: integer`
4517
4518 - `reasoning_tokens: integer`
4519
4520 - `total_tokens: integer`
4521
4352 - `CodeInterpreterCall object { id, code, container_id, 4 more }`4522 - `CodeInterpreterCall object { id, code, container_id, 4 more }`
4353 4523
4354 A tool call to run code.4524 A tool call to run code.
5419 Keys are strings with a maximum length of 64 characters. Values are strings5589 Keys are strings with a maximum length of 64 characters. Values are strings
5420 with a maximum length of 512 characters.5590 with a maximum length of 512 characters.
5421 5591
5422- `model: optional "gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 108 more or string`5592- `model: optional "gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 109 more or string`
5423 5593
5424 Model ID used to generate the response, like `gpt-6-astra`. OpenAI5594 Model ID used to generate the response, like `gpt-6-astra`. OpenAI
5425 offers a wide range of models with different capabilities, performance5595 offers a wide range of models with different capabilities, performance
5426 characteristics, and price points. Refer to the [model guide](/api/docs/models)5596 characteristics, and price points. Refer to the [model guide](/api/docs/models)
5427 to browse and compare available models.5597 to browse and compare available models.
5428 5598
5429 - `"gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 108 more`5599 - `"gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 109 more`
5430 5600
5431 Model ID used to generate the response, like `gpt-6-astra`. OpenAI5601 Model ID used to generate the response, like `gpt-6-astra`. OpenAI
5432 offers a wide range of models with different capabilities, performance5602 offers a wide range of models with different capabilities, performance
5651 5821
5652 - `"gpt-5.6-cyber"`5822 - `"gpt-5.6-cyber"`
5653 5823
5824 - `"gpt-6-cyber"`
5825
5654 - `"gpt-rosalind-research"`5826 - `"gpt-rosalind-research"`
5655 5827
5656 - `"gpt-6-rosalind"`5828 - `"gpt-6-rosalind"`
6711 6883
6712 - `"programmatic_tool_calling"`6884 - `"programmatic_tool_calling"`
6713 6885
6714 - `ImageGeneration object { type, action, background, 9 more }`6886 - `ImageGeneration object { type, action, background, 13 more }`
6715 6887
6716 A tool that generates images using the GPT image models.6888 A tool that generates images using the GPT image models.
6717 6889
6747 6919
6748 - `"auto"`6920 - `"auto"`
6749 6921
6922 - `complexity: optional "low" or "medium" or "high"`
6923
6924 Computation spent planning the image, independently of rendering quality.
6925 Overrides the outer response's `reasoning.effort` for image generation.
6926 When omitted, inherits a supported outer reasoning effort or uses the
6927 image model's configured default.
6928 For SVG output, controls the reference image, not the SVG author's
6929 reasoning.
6930
6931 - `"low"`
6932
6933 - `"medium"`
6934
6935 - `"high"`
6936
6937 - `frame_count: optional integer (default: 9)`
6938
6939 Number of GIF frames. Requires `output_format` to be `gif`. Default: 9.
6940
6941 `minimum: 2`, `maximum: 16`
6942
6943 - `frame_duration_ms: optional integer (default: 200)`
6944
6945 Duration of each GIF frame in milliseconds, rounded to 10 ms.
6946 Requires `output_format` to be `gif`. Default: 200.
6947
6948 `minimum: 20`, `maximum: 2000`
6949
6750 - `input_fidelity: optional "high" or "low" or null`6950 - `input_fidelity: optional "high" or "low" or null`
6751 6951
6752 Control how much effort the model will exert to match the style and features, especially facial features, of input images. Supports `high` and `low` on `gpt-image-1.5`; `gpt-image-1-mini` supports only `low`. For `gpt-image-2`, omit this parameter. Defaults to `low` on supported models.6952 Control how much effort the model will exert to match the style and features, especially facial features, of input images. Supports `high` and `low` on `gpt-image-1.5`; `gpt-image-1-mini` supports only `low`. For `gpt-image-2`, omit this parameter. Defaults to `low` on supported models.
6768 6968
6769 Base64-encoded mask image.6969 Base64-encoded mask image.
6770 6970
6771 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 6 more`6971 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-2" or 9 more`
6772 6972
6773 The image generation model to use. One of `gpt-image-1-mini`,6973 The image generation model to use. One of `gpt-image-1-mini`,
6774 `gpt-image-1.5`, `gpt-image-2`,6974 `gpt-image-1.5`, `gpt-image-2`,
6775 `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`,6975 `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`,
6776 `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`,6976 `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`,
6777 `gpt-image-2.5-flare-2026-09-08`, or `chatgpt-image-latest`. Default:6977 `gpt-image-2.5-flare-2026-09-08`, `gpt-image-2.6-sunburst`,
6978 `gpt-image-2.6-flare`, or `chatgpt-image-latest`. Default:
6778 `gpt-image-2`.6979 `gpt-image-2`.
6779 6980
6780 `gpt-image-1` was shut down on October 23, 2026. Use6981 `gpt-image-1` was shut down on October 23, 2026. Use
6782 6983
6783 - `string`6984 - `string`
6784 6985
6785 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 6 more`6986 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-2" or 9 more`
6786 6987
6787 The image generation model to use. One of `gpt-image-1-mini`,6988 The image generation model to use. One of `gpt-image-1-mini`,
6788 `gpt-image-1.5`, `gpt-image-2`,6989 `gpt-image-1.5`, `gpt-image-2`,
6789 `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`,6990 `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`,
6790 `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`,6991 `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`,
6791 `gpt-image-2.5-flare-2026-09-08`, or `chatgpt-image-latest`. Default:6992 `gpt-image-2.5-flare-2026-09-08`, `gpt-image-2.6-sunburst`,
6993 `gpt-image-2.6-flare`, or `chatgpt-image-latest`. Default:
6792 `gpt-image-2`.6994 `gpt-image-2`.
6793 6995
6794 `gpt-image-1` was shut down on October 23, 2026. Use6996 `gpt-image-1` was shut down on October 23, 2026. Use
6798 7000
6799 - `"gpt-image-1-mini"`7001 - `"gpt-image-1-mini"`
6800 7002
6801 - `"gpt-image-1.5"`
6802
6803 - `"gpt-image-2"`7003 - `"gpt-image-2"`
6804 7004
6805 - `"gpt-image-2-2026-04-21"`7005 - `"gpt-image-2-2026-04-21"`
6812 7012
6813 - `"gpt-image-2.5-flare-2026-09-08"`7013 - `"gpt-image-2.5-flare-2026-09-08"`
6814 7014
7015 - `"gpt-image-2.6-sunburst"`
7016
7017 - `"gpt-image-2.6-flare"`
7018
7019 - `"gpt-image-1.5"`
7020
7021 - `"chatgpt-image-latest"`
7022
6815 - `moderation: optional "auto" or "low" (default: "auto")`7023 - `moderation: optional "auto" or "low" (default: "auto")`
6816 7024
6817 Moderation level for the generated image. Default: `auto`.7025 Moderation level for the generated image. Default: `auto`.
6826 7034
6827 `minimum: 0`, `maximum: 100`7035 `minimum: 0`, `maximum: 100`
6828 7036
6829 - `output_format: optional "png" or "webp" or "jpeg" (default: "png")`7037 - `output_format: optional "png" or "webp" or "jpeg" or 2 more (default: "png")`
6830 7038
6831 The output format of the generated image. One of `png`, `webp`, or7039 The output format of the generated image. One of `png`, `webp`, `jpeg`,
6832 `jpeg`. Default: `png`.7040 `gif`, or `svg`. Default: `png`. GIF and SVG output require a model
7041 that supports the selected format. GIF output does not support
7042 partial image streaming (`partial_images` greater than `0`),
7043 `input_image_mask`, or custom `output_compression`.
7044 Responses lifecycle events can still be streamed for GIF output.
6833 7045
6834 - `"png"`7046 - `"png"`
6835 7047
6837 7049
6838 - `"jpeg"`7050 - `"jpeg"`
6839 7051
7052 - `"gif"`
7053
7054 - `"svg"`
7055
6840 - `partial_images: optional integer (default: 0)`7056 - `partial_images: optional integer (default: 0)`
6841 7057
6842 Number of partial images to generate in streaming mode, from 0 (default value) to 3.7058 Number of partial images to generate in streaming mode, from 0 (default value) to 3.
6880 7096
6881 - `"auto"`7097 - `"auto"`
6882 7098
7099 - `svg: optional object { model, reasoning }`
7100
7101 SVG author model settings. Requires `output_format` to be `svg`.
7102 When SVG model selection is enabled, omitting this object uses the
7103 outer response model. Otherwise, the default SVG author is used and
7104 explicit model overrides are unavailable.
7105
7106 - `model: optional string`
7107
7108 `minLength: 1`
7109
7110 - `reasoning: optional object { effort } or null`
7111
7112 Reasoning effort for SVG authoring. When omitted, uses the author model's default in both Images and Responses.
7113
7114 - `effort: optional "none" or "minimal" or "low" or 4 more`
7115
7116 Controls how much effort the model should spend on reasoning for this request.
7117
7118 - `"none"`
7119
7120 - `"minimal"`
7121
7122 - `"low"`
7123
7124 - `"medium"`
7125
7126 - `"high"`
7127
7128 - `"xhigh"`
7129
7130 - `"max"`
7131
6883 - `LocalShell object { type }`7132 - `LocalShell object { type }`
6884 7133
6885 A tool that allows the model to execute shell commands in a local environment.7134 A tool that allows the model to execute shell commands in a local environment.
9564 9813
9565 - `"programmatic_tool_calling"`9814 - `"programmatic_tool_calling"`
9566 9815
9567 - `ImageGeneration object { type, action, background, 9 more }`9816 - `ImageGeneration object { type, action, background, 13 more }`
9568 9817
9569 A tool that generates images using the GPT image models.9818 A tool that generates images using the GPT image models.
9570 9819
9600 9849
9601 - `"auto"`9850 - `"auto"`
9602 9851
9852 - `complexity: optional "low" or "medium" or "high"`
9853
9854 Computation spent planning the image, independently of rendering quality.
9855 Overrides the outer response's `reasoning.effort` for image generation.
9856 When omitted, inherits a supported outer reasoning effort or uses the
9857 image model's configured default.
9858 For SVG output, controls the reference image, not the SVG author's
9859 reasoning.
9860
9861 - `"low"`
9862
9863 - `"medium"`
9864
9865 - `"high"`
9866
9867 - `frame_count: optional integer (default: 9)`
9868
9869 Number of GIF frames. Requires `output_format` to be `gif`. Default: 9.
9870
9871 `minimum: 2`, `maximum: 16`
9872
9873 - `frame_duration_ms: optional integer (default: 200)`
9874
9875 Duration of each GIF frame in milliseconds, rounded to 10 ms.
9876 Requires `output_format` to be `gif`. Default: 200.
9877
9878 `minimum: 20`, `maximum: 2000`
9879
9603 - `input_fidelity: optional "high" or "low" or null`9880 - `input_fidelity: optional "high" or "low" or null`
9604 9881
9605 Control how much effort the model will exert to match the style and features, especially facial features, of input images. Supports `high` and `low` on `gpt-image-1.5`; `gpt-image-1-mini` supports only `low`. For `gpt-image-2`, omit this parameter. Defaults to `low` on supported models.9882 Control how much effort the model will exert to match the style and features, especially facial features, of input images. Supports `high` and `low` on `gpt-image-1.5`; `gpt-image-1-mini` supports only `low`. For `gpt-image-2`, omit this parameter. Defaults to `low` on supported models.
9621 9898
9622 Base64-encoded mask image.9899 Base64-encoded mask image.
9623 9900
9624 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 6 more`9901 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-2" or 9 more`
9625 9902
9626 The image generation model to use. One of `gpt-image-1-mini`,9903 The image generation model to use. One of `gpt-image-1-mini`,
9627 `gpt-image-1.5`, `gpt-image-2`,9904 `gpt-image-1.5`, `gpt-image-2`,
9628 `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`,9905 `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`,
9629 `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`,9906 `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`,
9630 `gpt-image-2.5-flare-2026-09-08`, or `chatgpt-image-latest`. Default:9907 `gpt-image-2.5-flare-2026-09-08`, `gpt-image-2.6-sunburst`,
9908 `gpt-image-2.6-flare`, or `chatgpt-image-latest`. Default:
9631 `gpt-image-2`.9909 `gpt-image-2`.
9632 9910
9633 `gpt-image-1` was shut down on October 23, 2026. Use9911 `gpt-image-1` was shut down on October 23, 2026. Use
9635 9913
9636 - `string`9914 - `string`
9637 9915
9638 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 6 more`9916 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-2" or 9 more`
9639 9917
9640 The image generation model to use. One of `gpt-image-1-mini`,9918 The image generation model to use. One of `gpt-image-1-mini`,
9641 `gpt-image-1.5`, `gpt-image-2`,9919 `gpt-image-1.5`, `gpt-image-2`,
9642 `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`,9920 `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`,
9643 `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`,9921 `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`,
9644 `gpt-image-2.5-flare-2026-09-08`, or `chatgpt-image-latest`. Default:9922 `gpt-image-2.5-flare-2026-09-08`, `gpt-image-2.6-sunburst`,
9923 `gpt-image-2.6-flare`, or `chatgpt-image-latest`. Default:
9645 `gpt-image-2`.9924 `gpt-image-2`.
9646 9925
9647 `gpt-image-1` was shut down on October 23, 2026. Use9926 `gpt-image-1` was shut down on October 23, 2026. Use
9651 9930
9652 - `"gpt-image-1-mini"`9931 - `"gpt-image-1-mini"`
9653 9932
9654 - `"gpt-image-1.5"`
9655
9656 - `"gpt-image-2"`9933 - `"gpt-image-2"`
9657 9934
9658 - `"gpt-image-2-2026-04-21"`9935 - `"gpt-image-2-2026-04-21"`
9665 9942
9666 - `"gpt-image-2.5-flare-2026-09-08"`9943 - `"gpt-image-2.5-flare-2026-09-08"`
9667 9944
9945 - `"gpt-image-2.6-sunburst"`
9946
9947 - `"gpt-image-2.6-flare"`
9948
9949 - `"gpt-image-1.5"`
9950
9951 - `"chatgpt-image-latest"`
9952
9668 - `moderation: optional "auto" or "low" (default: "auto")`9953 - `moderation: optional "auto" or "low" (default: "auto")`
9669 9954
9670 Moderation level for the generated image. Default: `auto`.9955 Moderation level for the generated image. Default: `auto`.
9679 9964
9680 `minimum: 0`, `maximum: 100`9965 `minimum: 0`, `maximum: 100`
9681 9966
9682 - `output_format: optional "png" or "webp" or "jpeg" (default: "png")`9967 - `output_format: optional "png" or "webp" or "jpeg" or 2 more (default: "png")`
9683 9968
9684 The output format of the generated image. One of `png`, `webp`, or9969 The output format of the generated image. One of `png`, `webp`, `jpeg`,
9685 `jpeg`. Default: `png`.9970 `gif`, or `svg`. Default: `png`. GIF and SVG output require a model
9971 that supports the selected format. GIF output does not support
9972 partial image streaming (`partial_images` greater than `0`),
9973 `input_image_mask`, or custom `output_compression`.
9974 Responses lifecycle events can still be streamed for GIF output.
9686 9975
9687 - `"png"`9976 - `"png"`
9688 9977
9690 9979
9691 - `"jpeg"`9980 - `"jpeg"`
9692 9981
9982 - `"gif"`
9983
9984 - `"svg"`
9985
9693 - `partial_images: optional integer (default: 0)`9986 - `partial_images: optional integer (default: 0)`
9694 9987
9695 Number of partial images to generate in streaming mode, from 0 (default value) to 3.9988 Number of partial images to generate in streaming mode, from 0 (default value) to 3.
9733 10026
9734 - `"auto"`10027 - `"auto"`
9735 10028
10029 - `svg: optional object { model, reasoning }`
10030
10031 SVG author model settings. Requires `output_format` to be `svg`.
10032 When SVG model selection is enabled, omitting this object uses the
10033 outer response model. Otherwise, the default SVG author is used and
10034 explicit model overrides are unavailable.
10035
10036 - `model: optional string`
10037
10038 `minLength: 1`
10039
10040 - `reasoning: optional object { effort } or null`
10041
10042 Reasoning effort for SVG authoring. When omitted, uses the author model's default in both Images and Responses.
10043
10044 - `effort: optional "none" or "minimal" or "low" or 4 more`
10045
10046 Controls how much effort the model should spend on reasoning for this request.
10047
10048 - `"none"`
10049
10050 - `"minimal"`
10051
10052 - `"low"`
10053
10054 - `"medium"`
10055
10056 - `"high"`
10057
10058 - `"xhigh"`
10059
10060 - `"max"`
10061
9736 - `LocalShell object { type }`10062 - `LocalShell object { type }`
9737 10063
9738 A tool that allows the model to execute shell commands in a local environment.10064 A tool that allows the model to execute shell commands in a local environment.
10763 11089
10764 - `"programmatic_tool_calling"`11090 - `"programmatic_tool_calling"`
10765 11091
10766 - `ImageGeneration object { type, action, background, 9 more }`11092 - `ImageGeneration object { type, action, background, 13 more }`
10767 11093
10768 A tool that generates images using the GPT image models.11094 A tool that generates images using the GPT image models.
10769 11095
10799 11125
10800 - `"auto"`11126 - `"auto"`
10801 11127
11128 - `complexity: optional "low" or "medium" or "high"`
11129
11130 Computation spent planning the image, independently of rendering quality.
11131 Overrides the outer response's `reasoning.effort` for image generation.
11132 When omitted, inherits a supported outer reasoning effort or uses the
11133 image model's configured default.
11134 For SVG output, controls the reference image, not the SVG author's
11135 reasoning.
11136
11137 - `"low"`
11138
11139 - `"medium"`
11140
11141 - `"high"`
11142
11143 - `frame_count: optional integer (default: 9)`
11144
11145 Number of GIF frames. Requires `output_format` to be `gif`. Default: 9.
11146
11147 `minimum: 2`, `maximum: 16`
11148
11149 - `frame_duration_ms: optional integer (default: 200)`
11150
11151 Duration of each GIF frame in milliseconds, rounded to 10 ms.
11152 Requires `output_format` to be `gif`. Default: 200.
11153
11154 `minimum: 20`, `maximum: 2000`
11155
10802 - `input_fidelity: optional "high" or "low" or null`11156 - `input_fidelity: optional "high" or "low" or null`
10803 11157
10804 Control how much effort the model will exert to match the style and features, especially facial features, of input images. Supports `high` and `low` on `gpt-image-1.5`; `gpt-image-1-mini` supports only `low`. For `gpt-image-2`, omit this parameter. Defaults to `low` on supported models.11158 Control how much effort the model will exert to match the style and features, especially facial features, of input images. Supports `high` and `low` on `gpt-image-1.5`; `gpt-image-1-mini` supports only `low`. For `gpt-image-2`, omit this parameter. Defaults to `low` on supported models.
10820 11174
10821 Base64-encoded mask image.11175 Base64-encoded mask image.
10822 11176
10823 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 6 more`11177 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-2" or 9 more`
10824 11178
10825 The image generation model to use. One of `gpt-image-1-mini`,11179 The image generation model to use. One of `gpt-image-1-mini`,
10826 `gpt-image-1.5`, `gpt-image-2`,11180 `gpt-image-1.5`, `gpt-image-2`,
10827 `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`,11181 `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`,
10828 `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`,11182 `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`,
10829 `gpt-image-2.5-flare-2026-09-08`, or `chatgpt-image-latest`. Default:11183 `gpt-image-2.5-flare-2026-09-08`, `gpt-image-2.6-sunburst`,
11184 `gpt-image-2.6-flare`, or `chatgpt-image-latest`. Default:
10830 `gpt-image-2`.11185 `gpt-image-2`.
10831 11186
10832 `gpt-image-1` was shut down on October 23, 2026. Use11187 `gpt-image-1` was shut down on October 23, 2026. Use
10834 11189
10835 - `string`11190 - `string`
10836 11191
10837 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 6 more`11192 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-2" or 9 more`
10838 11193
10839 The image generation model to use. One of `gpt-image-1-mini`,11194 The image generation model to use. One of `gpt-image-1-mini`,
10840 `gpt-image-1.5`, `gpt-image-2`,11195 `gpt-image-1.5`, `gpt-image-2`,
10841 `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`,11196 `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`,
10842 `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`,11197 `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`,
10843 `gpt-image-2.5-flare-2026-09-08`, or `chatgpt-image-latest`. Default:11198 `gpt-image-2.5-flare-2026-09-08`, `gpt-image-2.6-sunburst`,
11199 `gpt-image-2.6-flare`, or `chatgpt-image-latest`. Default:
10844 `gpt-image-2`.11200 `gpt-image-2`.
10845 11201
10846 `gpt-image-1` was shut down on October 23, 2026. Use11202 `gpt-image-1` was shut down on October 23, 2026. Use
10850 11206
10851 - `"gpt-image-1-mini"`11207 - `"gpt-image-1-mini"`
10852 11208
10853 - `"gpt-image-1.5"`
10854
10855 - `"gpt-image-2"`11209 - `"gpt-image-2"`
10856 11210
10857 - `"gpt-image-2-2026-04-21"`11211 - `"gpt-image-2-2026-04-21"`
10864 11218
10865 - `"gpt-image-2.5-flare-2026-09-08"`11219 - `"gpt-image-2.5-flare-2026-09-08"`
10866 11220
11221 - `"gpt-image-2.6-sunburst"`
11222
11223 - `"gpt-image-2.6-flare"`
11224
11225 - `"gpt-image-1.5"`
11226
11227 - `"chatgpt-image-latest"`
11228
10867 - `moderation: optional "auto" or "low" (default: "auto")`11229 - `moderation: optional "auto" or "low" (default: "auto")`
10868 11230
10869 Moderation level for the generated image. Default: `auto`.11231 Moderation level for the generated image. Default: `auto`.
10878 11240
10879 `minimum: 0`, `maximum: 100`11241 `minimum: 0`, `maximum: 100`
10880 11242
10881 - `output_format: optional "png" or "webp" or "jpeg" (default: "png")`11243 - `output_format: optional "png" or "webp" or "jpeg" or 2 more (default: "png")`
10882 11244
10883 The output format of the generated image. One of `png`, `webp`, or11245 The output format of the generated image. One of `png`, `webp`, `jpeg`,
10884 `jpeg`. Default: `png`.11246 `gif`, or `svg`. Default: `png`. GIF and SVG output require a model
11247 that supports the selected format. GIF output does not support
11248 partial image streaming (`partial_images` greater than `0`),
11249 `input_image_mask`, or custom `output_compression`.
11250 Responses lifecycle events can still be streamed for GIF output.
10885 11251
10886 - `"png"`11252 - `"png"`
10887 11253
10889 11255
10890 - `"jpeg"`11256 - `"jpeg"`
10891 11257
11258 - `"gif"`
11259
11260 - `"svg"`
11261
10892 - `partial_images: optional integer (default: 0)`11262 - `partial_images: optional integer (default: 0)`
10893 11263
10894 Number of partial images to generate in streaming mode, from 0 (default value) to 3.11264 Number of partial images to generate in streaming mode, from 0 (default value) to 3.
10932 11302
10933 - `"auto"`11303 - `"auto"`
10934 11304
11305 - `svg: optional object { model, reasoning }`
11306
11307 SVG author model settings. Requires `output_format` to be `svg`.
11308 When SVG model selection is enabled, omitting this object uses the
11309 outer response model. Otherwise, the default SVG author is used and
11310 explicit model overrides are unavailable.
11311
11312 - `model: optional string`
11313
11314 `minLength: 1`
11315
11316 - `reasoning: optional object { effort } or null`
11317
11318 Reasoning effort for SVG authoring. When omitted, uses the author model's default in both Images and Responses.
11319
11320 - `effort: optional "none" or "minimal" or "low" or 4 more`
11321
11322 Controls how much effort the model should spend on reasoning for this request.
11323
11324 - `"none"`
11325
11326 - `"minimal"`
11327
11328 - `"low"`
11329
11330 - `"medium"`
11331
11332 - `"high"`
11333
11334 - `"xhigh"`
11335
11336 - `"max"`
11337
10935 - `LocalShell object { type }`11338 - `LocalShell object { type }`
10936 11339
10937 A tool that allows the model to execute shell commands in a local environment.11340 A tool that allows the model to execute shell commands in a local environment.
11500 11903
11501 The canonical name of the agent that produced this item.11904 The canonical name of the agent that produced this item.
11502 11905
11503 - `ImageGenerationCall object { id, result, status, 9 more }`11906 - `ImageGenerationCall object { id, result, status, 10 more }`
11504 11907
11505 An image generation request made by the model.11908 An image generation request made by the model.
11506 11909
11596 11999
11597 - `"unknown"`12000 - `"unknown"`
11598 12001
11599 - `output_format: optional "png" or "webp" or "jpeg" or null`12002 - `output_format: optional "png" or "webp" or "jpeg" or 2 more or null`
11600 12003
11601 The output format used for generation.12004 The output format used for generation.
11602 12005
11606 12009
11607 - `"jpeg"`12010 - `"jpeg"`
11608 12011
12012 - `"gif"`
12013
12014 - `"svg"`
12015
11609 - `quality: optional "low" or "medium" or "high" or 3 more or null`12016 - `quality: optional "low" or "medium" or "high" or 3 more or null`
11610 12017
11611 The quality of the image generated by the image generation tool call. One of `low`, `medium`, `high`, `xhigh`, `max`, or `auto`.12018 The quality of the image generated by the image generation tool call. One of `low`, `medium`, `high`, `xhigh`, `max`, or `auto`.
11642 12049
11643 - `"1536x1024"`12050 - `"1536x1024"`
11644 12051
12052 - `svg_usage: optional object { input_tokens, model, output_tokens, 2 more }`
12053
12054 - `input_tokens: integer`
12055
12056 - `model: string`
12057
12058 - `output_tokens: integer`
12059
12060 - `reasoning_tokens: integer`
12061
12062 - `total_tokens: integer`
12063
11645 - `CodeInterpreterCall object { id, code, container_id, 4 more }`12064 - `CodeInterpreterCall object { id, code, container_id, 4 more }`
11646 12065
11647 A tool call to run code.12066 A tool call to run code.
12694 Keys are strings with a maximum length of 64 characters. Values are strings13113 Keys are strings with a maximum length of 64 characters. Values are strings
12695 with a maximum length of 512 characters.13114 with a maximum length of 512 characters.
12696 13115
12697 - `model: "gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 108 more or string`13116 - `model: "gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 109 more or string`
12698 13117
12699 Model ID used to generate the response, like `gpt-6-astra`. OpenAI13118 Model ID used to generate the response, like `gpt-6-astra`. OpenAI
12700 offers a wide range of models with different capabilities, performance13119 offers a wide range of models with different capabilities, performance
12701 characteristics, and price points. Refer to the [model guide](/api/docs/models)13120 characteristics, and price points. Refer to the [model guide](/api/docs/models)
12702 to browse and compare available models.13121 to browse and compare available models.
12703 13122
12704 - `"gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 108 more`13123 - `"gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 109 more`
12705 13124
12706 Model ID used to generate the response, like `gpt-6-astra`. OpenAI13125 Model ID used to generate the response, like `gpt-6-astra`. OpenAI
12707 offers a wide range of models with different capabilities, performance13126 offers a wide range of models with different capabilities, performance
12926 13345
12927 - `"gpt-5.6-cyber"`13346 - `"gpt-5.6-cyber"`
12928 13347
13348 - `"gpt-6-cyber"`
13349
12929 - `"gpt-rosalind-research"`13350 - `"gpt-rosalind-research"`
12930 13351
12931 - `"gpt-6-rosalind"`13352 - `"gpt-6-rosalind"`
14414 14835
14415 - `"programmatic_tool_calling"`14836 - `"programmatic_tool_calling"`
14416 14837
14417 - `ImageGeneration object { type, action, background, 9 more }`14838 - `ImageGeneration object { type, action, background, 13 more }`
14418 14839
14419 A tool that generates images using the GPT image models.14840 A tool that generates images using the GPT image models.
14420 14841
14450 14871
14451 - `"auto"`14872 - `"auto"`
14452 14873
14874 - `complexity: optional "low" or "medium" or "high"`
14875
14876 Computation spent planning the image, independently of rendering quality.
14877 Overrides the outer response's `reasoning.effort` for image generation.
14878 When omitted, inherits a supported outer reasoning effort or uses the
14879 image model's configured default.
14880 For SVG output, controls the reference image, not the SVG author's
14881 reasoning.
14882
14883 - `"low"`
14884
14885 - `"medium"`
14886
14887 - `"high"`
14888
14889 - `frame_count: optional integer (default: 9)`
14890
14891 Number of GIF frames. Requires `output_format` to be `gif`. Default: 9.
14892
14893 `minimum: 2`, `maximum: 16`
14894
14895 - `frame_duration_ms: optional integer (default: 200)`
14896
14897 Duration of each GIF frame in milliseconds, rounded to 10 ms.
14898 Requires `output_format` to be `gif`. Default: 200.
14899
14900 `minimum: 20`, `maximum: 2000`
14901
14453 - `input_fidelity: optional "high" or "low" or null`14902 - `input_fidelity: optional "high" or "low" or null`
14454 14903
14455 Control how much effort the model will exert to match the style and features, especially facial features, of input images. Supports `high` and `low` on `gpt-image-1.5`; `gpt-image-1-mini` supports only `low`. For `gpt-image-2`, omit this parameter. Defaults to `low` on supported models.14904 Control how much effort the model will exert to match the style and features, especially facial features, of input images. Supports `high` and `low` on `gpt-image-1.5`; `gpt-image-1-mini` supports only `low`. For `gpt-image-2`, omit this parameter. Defaults to `low` on supported models.
14471 14920
14472 Base64-encoded mask image.14921 Base64-encoded mask image.
14473 14922
14474 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 6 more`14923 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-2" or 9 more`
14475 14924
14476 The image generation model to use. One of `gpt-image-1-mini`,14925 The image generation model to use. One of `gpt-image-1-mini`,
14477 `gpt-image-1.5`, `gpt-image-2`,14926 `gpt-image-1.5`, `gpt-image-2`,
14478 `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`,14927 `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`,
14479 `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`,14928 `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`,
14480 `gpt-image-2.5-flare-2026-09-08`, or `chatgpt-image-latest`. Default:14929 `gpt-image-2.5-flare-2026-09-08`, `gpt-image-2.6-sunburst`,
14930 `gpt-image-2.6-flare`, or `chatgpt-image-latest`. Default:
14481 `gpt-image-2`.14931 `gpt-image-2`.
14482 14932
14483 `gpt-image-1` was shut down on October 23, 2026. Use14933 `gpt-image-1` was shut down on October 23, 2026. Use
14485 14935
14486 - `string`14936 - `string`
14487 14937
14488 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 6 more`14938 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-2" or 9 more`
14489 14939
14490 The image generation model to use. One of `gpt-image-1-mini`,14940 The image generation model to use. One of `gpt-image-1-mini`,
14491 `gpt-image-1.5`, `gpt-image-2`,14941 `gpt-image-1.5`, `gpt-image-2`,
14492 `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`,14942 `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`,
14493 `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`,14943 `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`,
14494 `gpt-image-2.5-flare-2026-09-08`, or `chatgpt-image-latest`. Default:14944 `gpt-image-2.5-flare-2026-09-08`, `gpt-image-2.6-sunburst`,
14945 `gpt-image-2.6-flare`, or `chatgpt-image-latest`. Default:
14495 `gpt-image-2`.14946 `gpt-image-2`.
14496 14947
14497 `gpt-image-1` was shut down on October 23, 2026. Use14948 `gpt-image-1` was shut down on October 23, 2026. Use
14501 14952
14502 - `"gpt-image-1-mini"`14953 - `"gpt-image-1-mini"`
14503 14954
14504 - `"gpt-image-1.5"`
14505
14506 - `"gpt-image-2"`14955 - `"gpt-image-2"`
14507 14956
14508 - `"gpt-image-2-2026-04-21"`14957 - `"gpt-image-2-2026-04-21"`
14515 14964
14516 - `"gpt-image-2.5-flare-2026-09-08"`14965 - `"gpt-image-2.5-flare-2026-09-08"`
14517 14966
14967 - `"gpt-image-2.6-sunburst"`
14968
14969 - `"gpt-image-2.6-flare"`
14970
14971 - `"gpt-image-1.5"`
14972
14973 - `"chatgpt-image-latest"`
14974
14518 - `moderation: optional "auto" or "low" (default: "auto")`14975 - `moderation: optional "auto" or "low" (default: "auto")`
14519 14976
14520 Moderation level for the generated image. Default: `auto`.14977 Moderation level for the generated image. Default: `auto`.
14529 14986
14530 `minimum: 0`, `maximum: 100`14987 `minimum: 0`, `maximum: 100`
14531 14988
14532 - `output_format: optional "png" or "webp" or "jpeg" (default: "png")`14989 - `output_format: optional "png" or "webp" or "jpeg" or 2 more (default: "png")`
14533 14990
14534 The output format of the generated image. One of `png`, `webp`, or14991 The output format of the generated image. One of `png`, `webp`, `jpeg`,
14535 `jpeg`. Default: `png`.14992 `gif`, or `svg`. Default: `png`. GIF and SVG output require a model
14993 that supports the selected format. GIF output does not support
14994 partial image streaming (`partial_images` greater than `0`),
14995 `input_image_mask`, or custom `output_compression`.
14996 Responses lifecycle events can still be streamed for GIF output.
14536 14997
14537 - `"png"`14998 - `"png"`
14538 14999
14540 15001
14541 - `"jpeg"`15002 - `"jpeg"`
14542 15003
15004 - `"gif"`
15005
15006 - `"svg"`
15007
14543 - `partial_images: optional integer (default: 0)`15008 - `partial_images: optional integer (default: 0)`
14544 15009
14545 Number of partial images to generate in streaming mode, from 0 (default value) to 3.15010 Number of partial images to generate in streaming mode, from 0 (default value) to 3.
14583 15048
14584 - `"auto"`15049 - `"auto"`
14585 15050
15051 - `svg: optional object { model, reasoning }`
15052
15053 SVG author model settings. Requires `output_format` to be `svg`.
15054 When SVG model selection is enabled, omitting this object uses the
15055 outer response model. Otherwise, the default SVG author is used and
15056 explicit model overrides are unavailable.
15057
15058 - `model: optional string`
15059
15060 `minLength: 1`
15061
15062 - `reasoning: optional object { effort } or null`
15063
15064 Reasoning effort for SVG authoring. When omitted, uses the author model's default in both Images and Responses.
15065
15066 - `effort: optional "none" or "minimal" or "low" or 4 more`
15067
15068 Controls how much effort the model should spend on reasoning for this request.
15069
15070 - `"none"`
15071
15072 - `"minimal"`
15073
15074 - `"low"`
15075
15076 - `"medium"`
15077
15078 - `"high"`
15079
15080 - `"xhigh"`
15081
15082 - `"max"`
15083
14586 - `LocalShell object { type }`15084 - `LocalShell object { type }`
14587 15085
14588 A tool that allows the model to execute shell commands in a local environment.15086 A tool that allows the model to execute shell commands in a local environment.
15477 15975
15478 - `"programmatic_tool_calling"`15976 - `"programmatic_tool_calling"`
15479 15977
15480 - `ImageGeneration object { type, action, background, 9 more }`15978 - `ImageGeneration object { type, action, background, 13 more }`
15481 15979
15482 A tool that generates images using the GPT image models.15980 A tool that generates images using the GPT image models.
15483 15981
15513 16011
15514 - `"auto"`16012 - `"auto"`
15515 16013
16014 - `complexity: optional "low" or "medium" or "high"`
16015
16016 Computation spent planning the image, independently of rendering quality.
16017 Overrides the outer response's `reasoning.effort` for image generation.
16018 When omitted, inherits a supported outer reasoning effort or uses the
16019 image model's configured default.
16020 For SVG output, controls the reference image, not the SVG author's
16021 reasoning.
16022
16023 - `"low"`
16024
16025 - `"medium"`
16026
16027 - `"high"`
16028
16029 - `frame_count: optional integer (default: 9)`
16030
16031 Number of GIF frames. Requires `output_format` to be `gif`. Default: 9.
16032
16033 `minimum: 2`, `maximum: 16`
16034
16035 - `frame_duration_ms: optional integer (default: 200)`
16036
16037 Duration of each GIF frame in milliseconds, rounded to 10 ms.
16038 Requires `output_format` to be `gif`. Default: 200.
16039
16040 `minimum: 20`, `maximum: 2000`
16041
15516 - `input_fidelity: optional "high" or "low" or null`16042 - `input_fidelity: optional "high" or "low" or null`
15517 16043
15518 Control how much effort the model will exert to match the style and features, especially facial features, of input images. Supports `high` and `low` on `gpt-image-1.5`; `gpt-image-1-mini` supports only `low`. For `gpt-image-2`, omit this parameter. Defaults to `low` on supported models.16044 Control how much effort the model will exert to match the style and features, especially facial features, of input images. Supports `high` and `low` on `gpt-image-1.5`; `gpt-image-1-mini` supports only `low`. For `gpt-image-2`, omit this parameter. Defaults to `low` on supported models.
15534 16060
15535 Base64-encoded mask image.16061 Base64-encoded mask image.
15536 16062
15537 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 6 more`16063 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-2" or 9 more`
15538 16064
15539 The image generation model to use. One of `gpt-image-1-mini`,16065 The image generation model to use. One of `gpt-image-1-mini`,
15540 `gpt-image-1.5`, `gpt-image-2`,16066 `gpt-image-1.5`, `gpt-image-2`,
15541 `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`,16067 `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`,
15542 `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`,16068 `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`,
15543 `gpt-image-2.5-flare-2026-09-08`, or `chatgpt-image-latest`. Default:16069 `gpt-image-2.5-flare-2026-09-08`, `gpt-image-2.6-sunburst`,
16070 `gpt-image-2.6-flare`, or `chatgpt-image-latest`. Default:
15544 `gpt-image-2`.16071 `gpt-image-2`.
15545 16072
15546 `gpt-image-1` was shut down on October 23, 2026. Use16073 `gpt-image-1` was shut down on October 23, 2026. Use
15548 16075
15549 - `string`16076 - `string`
15550 16077
15551 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 6 more`16078 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-2" or 9 more`
15552 16079
15553 The image generation model to use. One of `gpt-image-1-mini`,16080 The image generation model to use. One of `gpt-image-1-mini`,
15554 `gpt-image-1.5`, `gpt-image-2`,16081 `gpt-image-1.5`, `gpt-image-2`,
15555 `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`,16082 `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`,
15556 `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`,16083 `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`,
15557 `gpt-image-2.5-flare-2026-09-08`, or `chatgpt-image-latest`. Default:16084 `gpt-image-2.5-flare-2026-09-08`, `gpt-image-2.6-sunburst`,
16085 `gpt-image-2.6-flare`, or `chatgpt-image-latest`. Default:
15558 `gpt-image-2`.16086 `gpt-image-2`.
15559 16087
15560 `gpt-image-1` was shut down on October 23, 2026. Use16088 `gpt-image-1` was shut down on October 23, 2026. Use
15564 16092
15565 - `"gpt-image-1-mini"`16093 - `"gpt-image-1-mini"`
15566 16094
15567 - `"gpt-image-1.5"`
15568
15569 - `"gpt-image-2"`16095 - `"gpt-image-2"`
15570 16096
15571 - `"gpt-image-2-2026-04-21"`16097 - `"gpt-image-2-2026-04-21"`
15578 16104
15579 - `"gpt-image-2.5-flare-2026-09-08"`16105 - `"gpt-image-2.5-flare-2026-09-08"`
15580 16106
16107 - `"gpt-image-2.6-sunburst"`
16108
16109 - `"gpt-image-2.6-flare"`
16110
16111 - `"gpt-image-1.5"`
16112
16113 - `"chatgpt-image-latest"`
16114
15581 - `moderation: optional "auto" or "low" (default: "auto")`16115 - `moderation: optional "auto" or "low" (default: "auto")`
15582 16116
15583 Moderation level for the generated image. Default: `auto`.16117 Moderation level for the generated image. Default: `auto`.
15592 16126
15593 `minimum: 0`, `maximum: 100`16127 `minimum: 0`, `maximum: 100`
15594 16128
15595 - `output_format: optional "png" or "webp" or "jpeg" (default: "png")`16129 - `output_format: optional "png" or "webp" or "jpeg" or 2 more (default: "png")`
15596 16130
15597 The output format of the generated image. One of `png`, `webp`, or16131 The output format of the generated image. One of `png`, `webp`, `jpeg`,
15598 `jpeg`. Default: `png`.16132 `gif`, or `svg`. Default: `png`. GIF and SVG output require a model
16133 that supports the selected format. GIF output does not support
16134 partial image streaming (`partial_images` greater than `0`),
16135 `input_image_mask`, or custom `output_compression`.
16136 Responses lifecycle events can still be streamed for GIF output.
15599 16137
15600 - `"png"`16138 - `"png"`
15601 16139
15603 16141
15604 - `"jpeg"`16142 - `"jpeg"`
15605 16143
16144 - `"gif"`
16145
16146 - `"svg"`
16147
15606 - `partial_images: optional integer (default: 0)`16148 - `partial_images: optional integer (default: 0)`
15607 16149
15608 Number of partial images to generate in streaming mode, from 0 (default value) to 3.16150 Number of partial images to generate in streaming mode, from 0 (default value) to 3.
15646 16188
15647 - `"auto"`16189 - `"auto"`
15648 16190
16191 - `svg: optional object { model, reasoning }`
16192
16193 SVG author model settings. Requires `output_format` to be `svg`.
16194 When SVG model selection is enabled, omitting this object uses the
16195 outer response model. Otherwise, the default SVG author is used and
16196 explicit model overrides are unavailable.
16197
16198 - `model: optional string`
16199
16200 `minLength: 1`
16201
16202 - `reasoning: optional object { effort } or null`
16203
16204 Reasoning effort for SVG authoring. When omitted, uses the author model's default in both Images and Responses.
16205
16206 - `effort: optional "none" or "minimal" or "low" or 4 more`
16207
16208 Controls how much effort the model should spend on reasoning for this request.
16209
16210 - `"none"`
16211
16212 - `"minimal"`
16213
16214 - `"low"`
16215
16216 - `"medium"`
16217
16218 - `"high"`
16219
16220 - `"xhigh"`
16221
16222 - `"max"`
16223
15649 - `LocalShell object { type }`16224 - `LocalShell object { type }`
15650 16225
15651 A tool that allows the model to execute shell commands in a local environment.16226 A tool that allows the model to execute shell commands in a local environment.
16038 16613
16039 The identifier of the actor that created the item.16614 The identifier of the actor that created the item.
16040 16615
16041 - `ImageGenerationCall object { id, result, status, 9 more }`16616 - `ImageGenerationCall object { id, result, status, 10 more }`
16042 16617
16043 An image generation request made by the model.16618 An image generation request made by the model.
16044 16619
16134 16709
16135 - `"unknown"`16710 - `"unknown"`
16136 16711
16137 - `output_format: optional "png" or "webp" or "jpeg" or null`16712 - `output_format: optional "png" or "webp" or "jpeg" or 2 more or null`
16138 16713
16139 The output format used for generation.16714 The output format used for generation.
16140 16715
16144 16719
16145 - `"jpeg"`16720 - `"jpeg"`
16146 16721
16722 - `"gif"`
16723
16724 - `"svg"`
16725
16147 - `quality: optional "low" or "medium" or "high" or 3 more or null`16726 - `quality: optional "low" or "medium" or "high" or 3 more or null`
16148 16727
16149 The quality of the image generated by the image generation tool call. One of `low`, `medium`, `high`, `xhigh`, `max`, or `auto`.16728 The quality of the image generated by the image generation tool call. One of `low`, `medium`, `high`, `xhigh`, `max`, or `auto`.
16180 16759
16181 - `"1536x1024"`16760 - `"1536x1024"`
16182 16761
16762 - `svg_usage: optional object { input_tokens, model, output_tokens, 2 more }`
16763
16764 - `input_tokens: integer`
16765
16766 - `model: string`
16767
16768 - `output_tokens: integer`
16769
16770 - `reasoning_tokens: integer`
16771
16772 - `total_tokens: integer`
16773
16183 - `CodeInterpreterCall object { id, code, container_id, 4 more }`16774 - `CodeInterpreterCall object { id, code, container_id, 4 more }`
16184 16775
16185 A tool call to run code.16776 A tool call to run code.
17773 18364
17774 - `"programmatic_tool_calling"`18365 - `"programmatic_tool_calling"`
17775 18366
17776 - `ImageGeneration object { type, action, background, 9 more }`18367 - `ImageGeneration object { type, action, background, 13 more }`
17777 18368
17778 A tool that generates images using the GPT image models.18369 A tool that generates images using the GPT image models.
17779 18370
17809 18400
17810 - `"auto"`18401 - `"auto"`
17811 18402
18403 - `complexity: optional "low" or "medium" or "high"`
18404
18405 Computation spent planning the image, independently of rendering quality.
18406 Overrides the outer response's `reasoning.effort` for image generation.
18407 When omitted, inherits a supported outer reasoning effort or uses the
18408 image model's configured default.
18409 For SVG output, controls the reference image, not the SVG author's
18410 reasoning.
18411
18412 - `"low"`
18413
18414 - `"medium"`
18415
18416 - `"high"`
18417
18418 - `frame_count: optional integer (default: 9)`
18419
18420 Number of GIF frames. Requires `output_format` to be `gif`. Default: 9.
18421
18422 `minimum: 2`, `maximum: 16`
18423
18424 - `frame_duration_ms: optional integer (default: 200)`
18425
18426 Duration of each GIF frame in milliseconds, rounded to 10 ms.
18427 Requires `output_format` to be `gif`. Default: 200.
18428
18429 `minimum: 20`, `maximum: 2000`
18430
17812 - `input_fidelity: optional "high" or "low" or null`18431 - `input_fidelity: optional "high" or "low" or null`
17813 18432
17814 Control how much effort the model will exert to match the style and features, especially facial features, of input images. Supports `high` and `low` on `gpt-image-1.5`; `gpt-image-1-mini` supports only `low`. For `gpt-image-2`, omit this parameter. Defaults to `low` on supported models.18433 Control how much effort the model will exert to match the style and features, especially facial features, of input images. Supports `high` and `low` on `gpt-image-1.5`; `gpt-image-1-mini` supports only `low`. For `gpt-image-2`, omit this parameter. Defaults to `low` on supported models.
17830 18449
17831 Base64-encoded mask image.18450 Base64-encoded mask image.
17832 18451
17833 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 6 more`18452 - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-2" or 9 more`
17834 18453
17835 The image generation model to use. One of `gpt-image-1-mini`,18454 The image generation model to use. One of `gpt-image-1-mini`,
17836 `gpt-image-1.5`, `gpt-image-2`,18455 `gpt-image-1.5`, `gpt-image-2`,
17837 `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`,18456 `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`,
17838 `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`,18457 `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`,
17839 `gpt-image-2.5-flare-2026-09-08`, or `chatgpt-image-latest`. Default:18458 `gpt-image-2.5-flare-2026-09-08`, `gpt-image-2.6-sunburst`,
18459 `gpt-image-2.6-flare`, or `chatgpt-image-latest`. Default:
17840 `gpt-image-2`.18460 `gpt-image-2`.
17841 18461
17842 `gpt-image-1` was shut down on October 23, 2026. Use18462 `gpt-image-1` was shut down on October 23, 2026. Use
17844 18464
17845 - `string`18465 - `string`
17846 18466
17847 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 6 more`18467 - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-2" or 9 more`
17848 18468
17849 The image generation model to use. One of `gpt-image-1-mini`,18469 The image generation model to use. One of `gpt-image-1-mini`,
17850 `gpt-image-1.5`, `gpt-image-2`,18470 `gpt-image-1.5`, `gpt-image-2`,
17851 `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`,18471 `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`,
17852 `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`,18472 `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`,
17853 `gpt-image-2.5-flare-2026-09-08`, or `chatgpt-image-latest`. Default:18473 `gpt-image-2.5-flare-2026-09-08`, `gpt-image-2.6-sunburst`,
18474 `gpt-image-2.6-flare`, or `chatgpt-image-latest`. Default:
17854 `gpt-image-2`.18475 `gpt-image-2`.
17855 18476
17856 `gpt-image-1` was shut down on October 23, 2026. Use18477 `gpt-image-1` was shut down on October 23, 2026. Use
17860 18481
17861 - `"gpt-image-1-mini"`18482 - `"gpt-image-1-mini"`
17862 18483
17863 - `"gpt-image-1.5"`
17864
17865 - `"gpt-image-2"`18484 - `"gpt-image-2"`
17866 18485
17867 - `"gpt-image-2-2026-04-21"`18486 - `"gpt-image-2-2026-04-21"`
17874 18493
17875 - `"gpt-image-2.5-flare-2026-09-08"`18494 - `"gpt-image-2.5-flare-2026-09-08"`
17876 18495
18496 - `"gpt-image-2.6-sunburst"`
18497
18498 - `"gpt-image-2.6-flare"`
18499
18500 - `"gpt-image-1.5"`
18501
18502 - `"chatgpt-image-latest"`
18503
17877 - `moderation: optional "auto" or "low" (default: "auto")`18504 - `moderation: optional "auto" or "low" (default: "auto")`
17878 18505
17879 Moderation level for the generated image. Default: `auto`.18506 Moderation level for the generated image. Default: `auto`.
17888 18515
17889 `minimum: 0`, `maximum: 100`18516 `minimum: 0`, `maximum: 100`
17890 18517
17891 - `output_format: optional "png" or "webp" or "jpeg" (default: "png")`18518 - `output_format: optional "png" or "webp" or "jpeg" or 2 more (default: "png")`
17892 18519
17893 The output format of the generated image. One of `png`, `webp`, or18520 The output format of the generated image. One of `png`, `webp`, `jpeg`,
17894 `jpeg`. Default: `png`.18521 `gif`, or `svg`. Default: `png`. GIF and SVG output require a model
18522 that supports the selected format. GIF output does not support
18523 partial image streaming (`partial_images` greater than `0`),
18524 `input_image_mask`, or custom `output_compression`.
18525 Responses lifecycle events can still be streamed for GIF output.
17895 18526
17896 - `"png"`18527 - `"png"`
17897 18528
17899 18530
17900 - `"jpeg"`18531 - `"jpeg"`
17901 18532
18533 - `"gif"`
18534
18535 - `"svg"`
18536
17902 - `partial_images: optional integer (default: 0)`18537 - `partial_images: optional integer (default: 0)`
17903 18538
17904 Number of partial images to generate in streaming mode, from 0 (default value) to 3.18539 Number of partial images to generate in streaming mode, from 0 (default value) to 3.
17942 18577
17943 - `"auto"`18578 - `"auto"`
17944 18579
18580 - `svg: optional object { model, reasoning }`
18581
18582 SVG author model settings. Requires `output_format` to be `svg`.
18583 When SVG model selection is enabled, omitting this object uses the
18584 outer response model. Otherwise, the default SVG author is used and
18585 explicit model overrides are unavailable.
18586
18587 - `model: optional string`
18588
18589 `minLength: 1`
18590
18591 - `reasoning: optional object { effort } or null`
18592
18593 Reasoning effort for SVG authoring. When omitted, uses the author model's default in both Images and Responses.
18594
18595 - `effort: optional "none" or "minimal" or "low" or 4 more`
18596
18597 Controls how much effort the model should spend on reasoning for this request.
18598
18599 - `"none"`
18600
18601 - `"minimal"`
18602
18603 - `"low"`
18604
18605 - `"medium"`
18606
18607 - `"high"`
18608
18609 - `"xhigh"`
18610
18611 - `"max"`
18612
17945 - `LocalShell object { type }`18613 - `LocalShell object { type }`
17946 18614
17947 A tool that allows the model to execute shell commands in a local environment.18615 A tool that allows the model to execute shell commands in a local environment.