Skip to content

feat(api): add image complexity and GIF and SVG output controls - #1339

Merged
marcuswood-oai merged 1 commit into
mainfrom
castiron/promotions/pr-418
Nov 5, 2026
Merged

marcuswood-oai merged 1 commit into
mainfrom
castiron/promotions/pr-418

Conversation

@marcuswood-oai

Copy link
Copy Markdown
Contributor

Summary

Java callers can set image complexity, request animated GIFs, and configure SVG output.

Changes

  • Set GIF frame count and duration for new images and edits.
  • Select an SVG author model and read its token usage.
  • Use the GPT Image 2.6 model names when creating or editing images and with the Responses image tool.

@marcuswood-oai
marcuswood-oai requested a review from a team as a code owner November 4, 2026 23:36
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-04T23:47:19.289185Z ba33fde New commits
🔒 Security Review ✅ Completed 2026-11-04T23:47:45.449072Z ba33fde New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Castiron-Internal-PR: openai/openai-java-internal#418
Castiron-Source-SHA: 489021eb1773d94b45321e2de5f62998830cf58e
Castiron-Public-Base-SHA: c50def0
@marcuswood-oai
marcuswood-oai force-pushed the castiron/promotions/pr-418 branch from 29104f5 to ba33fde Compare November 4, 2026 23:46
@marcuswood-oai
marcuswood-oai added this pull request to the merge queue Nov 5, 2026

@jbeckwith-oai jbeckwith-oai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed ba33fde for correctness, serialization, compatibility and edge cases. The new image model names, complexity and GIF/SVG controls agree with the schema; generated stable/beta/conversations shapes and reasoning nullability are consistent. No actionable findings. Applicable hosted checks, including OkTest, passed. Static review only; no candidate code or local tests executed.

@markstuart-oai markstuart-oai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed ba33fde1; no actionable correctness or maintainability findings. The new image options and model names reach the existing request bodies and multipart map. Builders, accessors, validation, and SVG usage types agree with the schema. The HTTP regression covers populated, null, and omitted SVG reasoning.

Hosted checks at this head: 14 passed, 0 skipped. Source-only review: I did not run candidate code, tests, or builds locally.

Merged via the queue into main with commit 45b63e2 Nov 5, 2026
14 checks passed
@openai-sdks openai-sdks Bot mentioned this pull request Nov 5, 2026
VitorEAFeliciano pushed a commit to Navegos/openai-java that referenced this pull request Nov 18, 2026
Automated Release PR
---


##
[4.100.0](openai/openai-java@v4.99.0...v4.100.0)
(2026-11-05)


### Features

* **api:** add image complexity and GIF and SVG output controls
([openai#1339](openai#1339))
([45b63e2](openai@45b63e2))
* **api:** expand agent turn errors and image and audio options
([openai#1334](openai#1334))
([c50def0](openai@c50def0))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: openai-sdks[bot] <284451331+openai-sdks[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants