Skip to content

Commit a771913

Browse files
authored
chore(api): refresh image model API reference (#115)
## Summary Refresh the CLI's transformed OpenAPI snapshot and CastIron generation metadata for the current image-model documentation. ## Changes - Include the GPT Image 2 model names in the JSON image-editing schema and refresh the Responses image-generation documentation, including the supported `chatgpt-image-latest` alias. - No generated CLI command, flag, public API, or runtime behavior changes. ## (manual) No handwritten SDK changes or merge-conflict resolutions. Co-authored-by: apcha-oai <228803254+apcha-oai@users.noreply.github.com>
1 parent ee92673 commit a771913

2 files changed

Lines changed: 16 additions & 8 deletions

File tree

.castiron.stats.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
schema_version: 1
2-
generation_id: 94c4c9fb-2ce1-42d1-b5c0-d8bc191bba4f
3-
openapi_spec_hash: a99ded1ea34cf528a9cd5f064167f26a
4-
openapi_transformed_spec_hash: e24c9d9339620c3cce8bbdd80e9ef8ed
2+
generation_id: 573ef3f3-70b3-469e-b94e-e45b454e0f21
3+
openapi_spec_hash: a85edbfc22ff719d064bce2705c7394e
4+
openapi_transformed_spec_hash: f8e7644df5aee22dfcd0ea2b70942054
55
config_hash: 85382dd94c503b5d225adc7636a77c9f
6-
codegen_sha: f46bf3ed0393c2ac417c28795218dc77bcb3639f
6+
codegen_sha: 41a541ca2502e24807be5dbb70483623cfb27032
77
codegen_hash: 53578461aae4eae57293c4cac0f13154c80fa8c277371932c76970d211bc78e1
8-
public_codegen_sha: 175f05ee3eda671c279e61f4dcbf3f7101a9522d
8+
public_codegen_sha: af6fa13681d98be26da62c2f835b09242c9a3beb

api_reference/openapi.transformed.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35398,14 +35398,16 @@ components:
3539835398
- type: string
3539935399
enum:
3540035400
- gpt-image-1.5
35401+
- gpt-image-2
35402+
- gpt-image-2-2026-04-21
3540135403
- gpt-image-1
3540235404
- gpt-image-1-mini
3540335405
- chatgpt-image-latest
3540435406
- type: 'null'
3540535407
x-oaiTypeLabel: string
3540635408
default: gpt-image-1.5
3540735409
example: gpt-image-1.5
35408-
description: The model to use for image editing.
35410+
description: The GPT image model to use for image editing, including `gpt-image-2` and its dated snapshot `gpt-image-2-2026-04-21`.
3540935411
images:
3541035412
type: array
3541135413
minItems: 1
@@ -39136,7 +39138,10 @@ components:
3913639138
- gpt-image-1.5
3913739139
- chatgpt-image-latest
3913839140
description: |
39139-
The image generation model to use. Default: `gpt-image-1`.
39141+
The image generation model to use. One of `gpt-image-1`,
39142+
`gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,
39143+
`gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:
39144+
`gpt-image-1`.
3914039145
default: gpt-image-1
3914139146
quality:
3914239147
type: string
@@ -68512,7 +68517,10 @@ components:
6851268517
- gpt-image-1.5
6851368518
- chatgpt-image-latest
6851468519
description: |
68515-
The image generation model to use. Default: `gpt-image-1`.
68520+
The image generation model to use. One of `gpt-image-1`,
68521+
`gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,
68522+
`gpt-image-2-2026-04-21`, or `chatgpt-image-latest`. Default:
68523+
`gpt-image-1`.
6851668524
default: gpt-image-1
6851768525
quality:
6851868526
type: string

0 commit comments

Comments
 (0)