Nano Banana 2

Model Information

Display Name: Nano Banana 2

API Model ID: google/nano-banana-2

Category: Text To Image

Description: Nano Banana 2 is Google's latest image generation and editing model (Gemini 3.1 Flash Image), offering faster generation, higher quality, and expanded capabilities. **Key Features:** - Up to 4K resolution output - Support for up to 14 reference images - Improved text rendering for typography - Enhanced material and lighting realism - Web search integration for real-time info - Multi-object and multi-character consistency **Capabilities:** - High-quality text-to-image generation - Image editing with natural language - Multi-image fusion and composition - Style transfer and scene manipulation - Accurate multilingual text rendering - Complex scene understanding **Output Options:** - **Aspect Ratios:** 1:1, 3:2, 2:3, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9, 1:4, 4:1, 1:8, 8:1 - **Formats:** JPEG, PNG - **Resolution:** 512px, 1K, 2K, 4K **Pricing:** Cost varies by resolution (per megapixel). Higher resolutions increase generation cost. **Use Cases:** - Professional content creation - Typography and design work - Product visualization - Multi-subject compositions - High-resolution print materials

How to Use This Model

To use Nano Banana 2 via the HInow.ai API, use the model ID: google/nano-banana-2

API Request Example (Chat/Text)


POST https://api.hinow.ai/v1/chat/completions
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json

{
  "model": "google/nano-banana-2",
  "messages": [
    {"role": "user", "content": "Your message here"}
  ]
}
              

API Request Example (Image Generation)


POST https://api.hinow.ai/v1/images/generations
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json

{
  "model": "google/nano-banana-2",
  "prompt": "Your image description here"
}
              

Pricing

  • total: $0.10

Available Parameters

  • aspect_ratio: Output image aspect ratio (default: 1:1) (Options: 1:1, 3:2, 2:3, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9, 1:4, 4:1, 1:8, 8:1)
  • resolution: Output resolution (default: 2k) (Options: 2k, 4k)
  • output_format: Output image format (default: png) (Options: png, jpeg)

Quick Reference

To use this model, set: "model": "google/nano-banana-2"

Featured: No

Documentation: https://hinow.ai/models/google/nano-banana-2

API Endpoint: https://api.hinow.ai/v1

Back to Models
Nano Banana 2

Nano Banana 2

google/nano-banana-2

$0.100
per image

About

Nano Banana 2 is Google's latest image generation and editing model (Gemini 3.1 Flash Image), offering faster generation, higher quality, and expanded capabilities.

Key Features:

  • Up to 4K resolution output
  • Support for up to 14 reference images
  • Improved text rendering for typography
  • Enhanced material and lighting realism
  • Web search integration for real-time info
  • Multi-object and multi-character consistency

Capabilities:

  • High-quality text-to-image generation
  • Image editing with natural language
  • Multi-image fusion and composition
  • Style transfer and scene manipulation
  • Accurate multilingual text rendering
  • Complex scene understanding

Output Options:

  • Aspect Ratios: 1:1, 3:2, 2:3, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9, 1:4, 4:1, 1:8, 8:1
  • Formats: JPEG, PNG
  • Resolution: 512px, 1K, 2K, 4K

Pricing:

Cost varies by resolution (per megapixel). Higher resolutions increase generation cost.

Use Cases:

  • Professional content creation
  • Typography and design work
  • Product visualization
  • Multi-subject compositions
  • High-resolution print materials

Capabilities

Text To ImageImage To Image

Parameters

aspect_ratio

Output image aspect ratio (default: 1:1)

1:13:22:33:44:34:55:49:1616:921:91:44:11:88:1
resolution

Output resolution (default: 2k)

2k4k
output_format

Output image format (default: png)

pngjpeg

Code Examples

curl -X POST https://api.hinow.ai/v1/images \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $HINOW_API_KEY" \
  -d '{
    "model": "google/nano-banana-2",
    "prompt": "Transform this image into cyberpunk style",
    "images": [
      "https://example.com/image1.jpg",
      "data:image/png;base64,iVBORw0KGgo..."
    ],
    "parameters": {
      "aspect_ratio": "1:1",
      "resolution": "2k",
      "output_format": "png"
    }
  }'