Google Gemini
Gemini text generation, Veo video, and Nano Banana image generation with model-tier pricing.
by Google · ai, media
Accepts
Payment rails: tempo
This service prices in Tempo USDC, which a Robinhood Chain wallet cannot spend. MeshGateway takes USDG on your side and bridges it to Tempo through a solver network in about a second, holding no float of its own. The solver charges a roughly flat fee per bridge, quoted in the 402 challenge at cost.
Endpoints
| Endpoint | Upstream price | Pay through MeshGateway |
|---|---|---|
POST /:version/models/* Generate content (Gemini, Veo, Imagen, etc.) - price varies by model | per usage | /x/gemini/:version/models/* |
GET /:version/operations/* Poll async operation status | per usage | /x/gemini/:version/operations/* |
POST /:version/files Upload file for multimodal input | per usage | /x/gemini/:version/files |
GET /:version/models List available models (free) | free | /x/gemini/:version/models |
GET /:version/models/* Get model details (free) | free | /x/gemini/:version/models/* |
GET /:version/files List uploaded files (free) | free | /x/gemini/:version/files |
GET /:version/files/* Get file details (free) | free | /x/gemini/:version/files/* |
DELETE /:version/files/* Delete an uploaded file (free) | free | /x/gemini/:version/files/* |
GET /:version/cachedContents List cached contents (free) | free | /x/gemini/:version/cachedContents |
GET /:version/cachedContents/* Get cached content details (free) | free | /x/gemini/:version/cachedContents/* |
Pay it in USDG, live
The relay is live for this service: sign one USDG payment and MeshGateway settles it, bridges to Tempo, and pays the upstream invoice. The quote in the 402 covers the upstream price plus the solver fee, at cost.
Sign in with your wallet to try an endpoint straight from the browser.
Inspect the upstream challenge
Hit the real endpoint and see the 402 payment challenge this service returns right now, straight from the source.
Pay in USDG from Robinhood Chain
This service prices per call (tokens consumed, result size), so the relay quotes a maximum first, charges that in USDG, and settles the difference after the upstream call completes.
# 402 challenge in USDG on Robinhood Chain curl -i https://api.meshgateway.co/x/gemini/:version/models/* # Pay it with a signed permit2 authorization curl https://api.meshgateway.co/x/gemini/:version/models/* \ -H "payment-signature: $SIGNED_PAYLOAD" # -> upstream response, plus payment-response with the settlement tx
Upstream docs: https://ai.google.dev/docs