Nano Banana Pro
gemini-3-pro-imageGenerate and edit images with Nano Banana Pro from Gemini through one Spiral API key. Generates or edits images from text and image inputs with Google's Nano Banana Pro, with optional Google Search grounding. It runs in the background and returns images. Pay as you go, with no subscription.
Pricing
$0.175 per 1K or 2K image ($0.312 at 4K). Prompt: $2.60 per 1M tokens. Reasoning: $15.60 per 1M tokens. Google Search: $0.0182 per query.
Limits
- Runs
- In the background
- Returns
- image
- Longest queue wait
- 1 hour
- Run deadline
- 30 minutes
- Longest run, end to end
- 225 minutes
- Largest inline input
- 1 MB
- Largest input file
- 2 GB
- Largest output
- 5 GB
Input
| Field | Kind | Default | Description |
|---|---|---|---|
contents required | JSON | — | The content of the current conversation with the model. |
tools | JSON | — | Grounding with Google Search, the only tool this model takes (web search). Set generationConfig.responseModalities to ["TEXT", "IMAGE"]. Every search query the model runs is billed. |
generationConfig | JSON | — | Configuration options for model generation and outputs. |
systemInstruction | JSON | — | Developer set system instruction(s). |
Same request in code
curl https://api.spiral.ai/v1/runs \
-H "Authorization: Bearer $SPIRAL_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"provider": "gemini",
"model": "gemini-3-pro-image",
"input": {
"contents": [
{}
]
}
}'Frequently asked questions
How much does Nano Banana Pro cost?
$0.175 per 1K or 2K image ($0.312 at 4K). Prompt: $2.60 per 1M tokens. Reasoning: $15.60 per 1M tokens. Google Search: $0.0182 per query. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.
How do I use Nano Banana Pro through an API?
Send `POST /v1/runs` with `"provider": "gemini"`, `"model": "gemini-3-pro-image"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.
Do I need an account with Gemini to use Nano Banana Pro?
No. Spiral runs it on its own Gemini account and charges your Spiral balance.
Can my AI agent use Nano Banana Pro?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.