All services

Service / image

Gemini

Google's Gemini API for AI image generation. Generate images from text prompts using Gemini's image generation model.

Documentation

Payment protocol

x402

01
basesolana

Payment protocol

mpp

02
tempo

Method ledger

1 callable methods

OpenAPI source
POST/v1beta/models/gemini-3-pro-image-preview:generateContent
20000 USDC

Generate an image using Gemini.

POST JSON body with contents array containing parts with a text prompt describing the image. Example: {"contents": [{"parts": [{"text": "A photo of a cat"}]}]}

{
  "body": {
    "contents": [
      {
        "parts": [
          {
            "text": "string (description of the image to generate)"
          }
        ]
      }
    ]
  }
}