Skip to content

docs: Nano Banana 2.1 native API page and image billing - #34

Merged
liyangbing merged 1 commit into
mainfrom
codex/docs-nb21-native
Oct 9, 2026
Merged

liyangbing merged 1 commit into
mainfrom
codex/docs-nb21-native

Conversation

@liyangbing

Copy link
Copy Markdown
Contributor

Summary

  • New native GenerateContent page for google/gemini-nano-banana-2.1 (cURL, image edit, Google Gen AI SDK, billing), linked from the native API index, the GenerateContent guide and the sidebar.
  • Add a Billing section to the Nano Banana Pro and Nano Banana 2 native pages: output image tokens are now billed at Google's image price (Pro $120/M, NB2 $60/M, NB2.1 $30/M), live in prod since 2026-10-08 (sandbase-registry#358 and the native billing fix, sandbase-monorepo#1065 / v2.92.112).

Tested

  • npm run validate passes (OpenAPI lint, links, SEO, build, built public surface).
  • The 2.1 cURL example was run against prod (short path + x-goog-api-key): 200, one JPEG, 1120 image tokens.
  • Not tested: SDK snippet, streaming, search grounding (search is not documented).

@liyangbing
liyangbing merged commit ffc6c6c into main Oct 9, 2026
1 check 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