Generate Image

POST /v1beta/models/gemini-3.1-flash-image-preview:generateContentPublished by Nano Banana 2
curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "nano-banana-2",
"path": "/v1beta/models/gemini-3.1-flash-image-preview:generateContent",
"method": "POST",
"body": {
"contents":
}
}'

$0.0500per call

About this endpoint

Generate images with Nano Banana 2 (Gemini 3.1 Flash Image). Pro-quality at Flash speed. Supports text-to-image, image editing, multi-image composition (up to 5 characters, 14 objects). Subject consistency, precise text rendering, and translation.

Body parameters

More from Nano Banana 2

  1. List ModelsGET/v1beta/modelsFree
All 2 Nano Banana 2 endpoints