Skip to content

docs: publish Gemini native image references - #15

Merged
sam2tom merged 1 commit into
mainfrom
codex/docs-gemini-native-generatecontent
Aug 31, 2026
Merged

docs: publish Gemini native image references#15
sam2tom merged 1 commit into
mainfrom
codex/docs-gemini-native-generatecontent

Conversation

@sam2tom

@sam2tom sam2tom commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add Official Native API pages for Nano Banana Pro and Nano Banana 2
  • document native GenerateContent passthrough and routing boundaries
  • clarify that Gemini Interactions supports mapped Omni models, not every google/* model
  • add navigation and regression coverage

Validation

  • npm run validate
  • npm run test:doc-content
  • npm run test:public-api
  • npm run test:links
  • npm run build
  • npm run test:built-public-api

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Aug 31, 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-08-31T10:17:51.998728Z 91f0fe2 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.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 91f0fe2a5d

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

"content": {
"role": "model",
"parts": [
{"inline_data": {"mime_type": "image/png", "data": "<base64-image>"}}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Use camelCase for Gemini response media fields

Clients following this response example will look for inline_data.mime_type, but GenerateContent JSON uses inlineData.mimeType, as shown by the request on this page, the companion Gemini 3 Pro Image response, and the shared OpenAPI schema. Since this page documents native Gemini passthrough, use the actual camelCase response keys so copied parsing code can find and decode the returned image.

Useful? React with 👍 / 👎.

@sam2tom
sam2tom merged commit 6c6530b into main Aug 31, 2026
1 check passed
@sam2tom sam2tom changed the title docs: publish Gemini native image references docs: expand official native API references Aug 31, 2026
@sam2tom sam2tom changed the title docs: expand official native API references docs: publish Gemini native image references Aug 31, 2026
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