# Gemini 3 Pro Image

Gemini 3 Pro Image costs $0.134 per image on LLM API. It generates and edits images.

Model ID: `gemini-3-pro-image` · Google · Image generation · Released November 20, 2025
Updated: 2026-10-13
Canonical: https://llmapi.ai/models/google-gemini-3-pro-image/

- Per image: $0.134
- Modes: Generate, Edit
- Input images: Up to 14

## Pricing

Served by Together AI, the only provider.

| Price | Amount | Per |
| --- | --- | --- |
| Image | $0.134 | per image |

**Volume pricing.** At higher monthly volume, Gemini 3 Pro Image may cost less. Book a call and sales will quote a price for your usage. [Book a call with sales](https://meetings.hubspot.com/julia-andriienko/llmapi) or [Create an account first](https://app.llmapi.ai/signup).

## Specifications

- Modes: Generate, Edit
- Output formats: JPEG, PNG
- Input images: Up to 14, 20 MB each

## Call Gemini 3 Pro Image

### Generate (`POST /v1/images/generations`)

Set LLMAPI_KEY to your LLM API key.

```python
import base64
import os

from openai import OpenAI

client = OpenAI(
    base_url="https://api.llmapi.ai/v1",
    api_key=os.environ["LLMAPI_KEY"],
)

result = client.images.generate(
    model="gemini-3-pro-image",
    prompt="A lighthouse at dawn, watercolor",
    response_format="b64_json",
)
with open(f"image.{result.output_format}", "wb") as f:
    f.write(base64.b64decode(result.data[0].b64_json))
```

Docs: [Generate docs](https://docs.llmapi.ai/api/v1/images)

### Edit (`POST /v1/images/edits`)

Set LLMAPI_KEY to your LLM API key.

```python
import base64
import os

from openai import OpenAI

client = OpenAI(
    base_url="https://api.llmapi.ai/v1",
    api_key=os.environ["LLMAPI_KEY"],
)

result = client.images.edit(
    model="gemini-3-pro-image",
    image=open("photo.png", "rb"),
    prompt="Replace the sky with a sunset",
    response_format="b64_json",
)
with open(f"edited.{result.output_format}", "wb") as f:
    f.write(base64.b64decode(result.data[0].b64_json))
```

Docs: [Edit docs](https://docs.llmapi.ai/api/v1/images)

## More from Google

- [Nano Banana 2.1](https://llmapi.ai/models/gemini-nano-banana-2-1/): $0.0336 per image
- [Nano Banana 2 Lite](https://llmapi.ai/models/gemini-3-1-flash-lite-image/): $0.0336 per image
- [Gemini 3.1 Flash Image (Preview)](https://llmapi.ai/models/google-gemini-3-1-flash-image-preview/): $0.5 / $60 per 1M input / output

Prices synced 2026-11-09.

Next step: [Get API key](https://app.llmapi.ai/signup)
