You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 72c656d
Browse filesBrowse the repository at this point in the historyBrowse files
## Summary
Adds an optional markup image to guide image edits.
## Changes
- Provide a transparent PNG markup overlay when editing an image.
- Document that markup must match the first image dimensions and cannot
be combined with a mask.
- Keep the Realtime example responsive to Ctrl-C while waiting for
input, without crashing during interpreter shutdown.
On POSIX, the example polls stdin on the main thread instead of using a
background reader. Partial input, Unicode and subsequent lines are
preserved. Windows retains builtin input.
Validation: all eight example input/shutdown scenarios pass under both
Pydantic versions, plus180 repeated signal cases. Tests reject fatal
interpreter errors and invalid exit statuses; the original two-second
deadline is unchanged. The previous daemon-reader implementation fails
the strengthened tests. Formatting and lint/type checks passed. Public
CI is rerunning on this updated candidate.
Copy file name to clipboardExpand all lines: api_reference/openapi.transformed.yml
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -44419,6 +44419,8 @@ components:
44419
44419
example: high
44420
44420
description: |
44421
44421
The quality of the image that will be generated for GPT image models. The GPT image models support `low`, `medium`, and `high`. `gpt-image-2.5-sunburst` and `gpt-image-2.5-flare`, including their `2026-09-08` snapshots, also support `xhigh` and `max`. Defaults to `auto`.
44422
+
markup:
44423
+
$ref: '#/components/schemas/markup'
44422
44424
required:
44423
44425
- prompt
44424
44426
- image
@@ -46985,6 +46987,9 @@ components:
46985
46987
description: Stream partial image results as events.
46986
46988
partial_images:
46987
46989
$ref: '#/components/schemas/PartialImages'
46990
+
markup:
46991
+
$ref: '#/components/schemas/ImageRefParam'
46992
+
description: A transparent PNG overlaid on the first image, referenced by file ID, HTTPS URL, or base64 data URL. Must match that image's dimensions after orientation and contain transparent pixels. Supports GPT Image 2.5 and 2.6. Cannot be combined with mask.
46988
46993
required:
46989
46994
- images
46990
46995
- prompt
@@ -111105,6 +111110,10 @@ components:
111105
111110
- async
111106
111111
additionalProperties: false
111107
111112
description: The effective settings for compacting the agent's context.
111113
+
markup:
111114
+
type: string
111115
+
format: binary
111116
+
description: A transparent PNG overlaid on the first image to guide the edit. Must match that image's dimensions after orientation and contain transparent pixels. Supports GPT Image 2.5 and 2.6. Cannot be combined with mask.
0 commit comments