Skip to content

feat: support GPT Image 2.5 request parameters - #5

Merged
ningzimu merged 2 commits into
mainfrom
feature/gpt-image-2-5
Sep 10, 2026
Merged

ningzimu merged 2 commits into
mainfrom
feature/gpt-image-2-5

Conversation

@ningzimu

Copy link
Copy Markdown
Owner

Summary

  • Default image requests to GPT Image 2.5 Flare and allow Sunburst selection.
  • Support xhigh/max quality and transparent PNG/WebP with model-specific validation.
  • Distinguish requested models from backend-reported models and document OAuth limitations.

User-visible changes

  • Add GPT Image 2.5 options while preserving legacy model validation.
  • Update Chinese and English usage documentation and the skill reference.

Changelog

  • Updated CHANGELOG.md

Verification

  • python3 -m unittest discover -s tests -v: 6 tests passed.
  • python3 -m py_compile skills/codex-gpt-image/scripts/codex_gpt_image.py: passed.
  • git diff --check: passed.
  • Live Codex OAuth requests returned images for both model names, a transparent PNG with alpha, and a blue-to-green cup edit.

Notes

An invalid model name also returned an image. The backend omitted the actual model ID and returned dimensions different from the requested size. Successful requests therefore do not establish actual model routing or quality enforcement. Generated test images are excluded from this PR.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 10, 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-09-10T17:36:59.681413Z 1e3a647 PR opened
ℹ️ 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.

@ningzimu
ningzimu merged commit e22fb47 into main Sep 10, 2026
2 checks passed
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.

1 participant