Skip to content
GoogleImageChatgemini-3-pro-image-preview

Gemini 3 Pro Image (Preview)

Google's most capable image model, up to 4K.

Gemini 3 Pro Image generates and edits images from a prompt, with 1K, 2K, and 4K output. Billed per generated image, so the price is the price whatever the prompt looks like.

  • High-fidelity images
  • 4K output
  • Image editing

Model details

Context window
66K tokens
Max output
33K tokens
Input
Text, images
Output
Text, images
Capabilities
Vision, Streaming, JSON output
Interfaces
OpenAI-style Image Generation, Image editing, OpenAI-style Chat Completions, Anthropic-style Messages, OpenAI-style Responses

Pricing

What each generation costs. The Cloakray price is what you are charged — no gateway fee is added on top of it.

Gemini 3 Pro Image (Preview) pricing.
ResolutionPrice
1K / image$0.1344
2K / image$0.1344
4K / image$0.24
/ 1M input tokens$2
/ 1M output tokens$12
/ 1M image input tokens$2

Why teams pick it

  • Generates and edits at up to 4K
  • Priced per image, not per prompt length
  • Reads reference images as input

Call Gemini 3 Pro Image (Preview)

Gemini 3 Pro Image (Preview) answers on any of the APIs below — pick the one your code already speaks and just swap in your Cloakray key.

/v1/images/generationsOpenAI-style Image Generation · openai SDK or plain HTTP
curl https://api.cloakray.com/v1/images/generations \
  -H "Authorization: Bearer ckr_..." \
  -H "Content-Type: application/json" \
  -d '{
  "model": "gemini-3-pro-image-preview",
  "prompt": "A quartz crystal on a workbench"
}'
/v1/images/editsImage editing · openai SDK or plain HTTP
curl https://api.cloakray.com/v1/images/edits \
  -H "Authorization: Bearer ckr_..." \
  -F 'model=gemini-3-pro-image-preview' \
  -F 'prompt=Make the background blue' \
  -F 'image=@input.png'
/v1/chat/completionsOpenAI-style Chat Completions · openai SDK or plain HTTP
curl https://api.cloakray.com/v1/chat/completions \
  -H "Authorization: Bearer ckr_..." \
  -H "Content-Type: application/json" \
  -d '{
  "model": "gemini-3-pro-image-preview",
  "messages": [
    {
      "role": "user",
      "content": "Hello"
    }
  ]
}'
/v1/messagesAnthropic-style Messages · @anthropic-ai/sdk SDK or plain HTTP
curl https://api.cloakray.com/v1/messages \
  -H "Authorization: Bearer ckr_..." \
  -H "Content-Type: application/json" \
  -d '{
  "model": "gemini-3-pro-image-preview",
  "max_tokens": 1024,
  "messages": [
    {
      "role": "user",
      "content": "Hello"
    }
  ]
}'
/v1/responsesOpenAI-style Responses · openai SDK or plain HTTP
curl https://api.cloakray.com/v1/responses \
  -H "Authorization: Bearer ckr_..." \
  -H "Content-Type: application/json" \
  -d '{
  "model": "gemini-3-pro-image-preview",
  "input": "Hello"
}'

Conversation compaction is also available at POST /v1/responses/compact.

More from Google