← Back to Models

google/nano-banana

Google Nano Banana text-to-image generation with optional image input support.

image text-to-image

Pricing

Base: 4 credits per image

Adjustments:

Example Pricing:

Base request: 5 credits
Range: 6 - 6 credits

Input Parameters

Prompt required string

A text description of the image you want to generate

Image Input array

Input images to transform or use as reference (supports multiple images)

Default: []

output_format string

Format of the output image

Default: jpg

Options: jpg, png

Directives

Advanced Keys:
output_format
Hidden Keys:
Raw JSON
{
    "identifier": "google/nano-banana",
    "type": "image",
    "category": "text-to-image",
    "description": "Google Nano Banana text-to-image generation with optional image input support.",
    "pricing": {
        "version": 1,
        "base": {
            "unit": "image",
            "credits": 4
        },
        "adjustments": [],
        "display": {
            "min_credits": 6,
            "max_credits": 6
        }
    },
    "directives": {
        "advancedKeys": [
            "output_format"
        ],
        "hiddenKeys": [],
        "imageArrayKeys": [
            "image_input"
        ]
    },
    "inputSchema": {
        "type": "object",
        "title": "Input",
        "required": [
            "prompt"
        ],
        "properties": {
            "prompt": {
                "type": "string",
                "title": "Prompt",
                "x-order": 0,
                "description": "A text description of the image you want to generate"
            },
            "image_input": {
                "type": "array",
                "items": {
                    "type": "string",
                    "format": "uri"
                },
                "title": "Image Input",
                "default": [],
                "x-order": 1,
                "description": "Input images to transform or use as reference (supports multiple images)"
            },
            "output_format": {
                "enum": [
                    "jpg",
                    "png"
                ],
                "type": "string",
                "title": "output_format",
                "description": "Format of the output image",
                "default": "jpg",
                "x-order": 2
            }
        }
    },
    "outputSchema": {
        "type": "string",
        "title": "Output",
        "format": "uri"
    }
}