Nano Banana · Image Generation

Nano Banana · Introduction

Nano-Banana image models for text-to-image and image-to-image. Models: • nano-banana (standard, 10/img) • nano-banana-pro (enhanced, 20/img) • nano-banana-2 (new, more ratios, 20/img) Returns a taskId; poll for the result.

How to call

  1. Submit: POST /api/cqt/generator/nano, returns a taskId.
  2. Query: GET /api/cqt/info/nano?id=taskId, poll until status = succeeded.

Capability map

Common Errors

CodemsgMeaningHow to fix
451input_moderationContent may violate policies (prompt or input image flagged). Message: This content may violate our policies.Change the prompt words or the image, then try again
451output_moderationGenerated result flaggedModify the prompt and retry
400numImages Only supports 1 - 4numImages out of rangeUse numImages between 1 and 4
500timeoutRequest timed outRetry later; contact support if it persists

Errors are returned as upstream bizCode, e.g. upstream bizCode=451, msg=prompt_unsafe.

Tip: after saving your API Key via Authorize, every capability page supports "Try it".