Nunchux
MODEL
Nano-Banana-2.1
T2II2I

Get Started

Integrate this model into your application with a few lines of code.

You need an API key to use this model.

Example request

A complete request you can copy and run in your language of choice.
# Synchronous: one POST returns the image inline, as base64 JPEG bytes.
# The envelope is {id, status, usage, created, updated, service_tier, steps, ...}
# — NOT data[].b64_json. steps[] composition varies (the signature step is
# optional, thinking models add a thought step), so take the first data part.
curl -s https://api.nunchux.ai/v1/google/v1beta/interactions \
  -H "Authorization: Bearer $NUNCHUX_API_KEY" \
  -H "Content-Type: application/json" \
  -H "User-Agent: YourApp/1.0" \
  -d '{
        "model": "gemini-nano-banana-2.1",
        "input": [
            {
                "type": "text",
                "text": "a giraffe eating bananas from a banana tree in the rainforest as monkeys join and eat it too"
            }
        ],
        "response_format": {
            "type": "image",
            "image_size": "1K",
            "aspect_ratio": "1:1"
        }
    }' | jq -r '[.steps[].content[]? | select(.data)][0].data' | base64 -d > output.jpg

Get help setting up a Dedicated Enterprise Endpoint

Contact our sales team to get discounted rates for monthly reserved endpoints on the latest GPUs

Contact Sales