Image Generationtextimagevideo

Nano Banana 2.1

Google 高效图像生成与对话式编辑模型,提升视觉质量、提示词遵循、多轮角色一致性与文字渲染,支持 Google 搜索增强及 1K、2K、4K 输出。

Input

Generation mode

Describe the image with text only, no reference upload required.

Resolution
Aspect ratio
Output format
Thinking level
Ready to generateReady to generate

API Reference

POSThttps://api.token360.ai/v1/images/generations
curl https://api.token360.ai/v1/images/generations \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer your-api-key" \
  -d '{
  "model": "nano-banana-2.1",
  "prompt": "A cute cat sitting on a windowsill",
  "n": 1,
  "resolution": "1k",
  "aspect_ratio": "1:1",
  "output_format": "default",
  "thinking_level": "medium",
  "include_thoughts": false,
  "media_resolution": "MEDIA_RESOLUTION_UNSPECIFIED",
  "enable_web_search": false,
  "enable_image_search": false
}'