> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chexnik.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Models

> Choose between NanoBanana, NanoBanana 2, and NanoBanana Pro.

Three models are available, each with text-to-image and image-to-image endpoints.

<CardGroup cols={3}>
  <Card title="NanoBanana" icon="bolt">
    Fast model. Output is fixed at **1K**.
  </Card>

  <Card title="NanoBanana 2" icon="circle-star">
    Higher quality. Selectable resolution and the full aspect-ratio set.
  </Card>

  <Card title="NanoBanana Pro" icon="crown">
    Top tier. Selectable resolution and the full aspect-ratio set.
  </Card>
</CardGroup>

## Endpoints

| Model          | Resolution   | Text-to-image                | Image-to-image (URLs)       |
| -------------- | ------------ | ---------------------------- | --------------------------- |
| NanoBanana     | 1K only      | `POST /nb/text-generations`  | `POST /nb/url-generations`  |
| NanoBanana 2   | 1K · 2K · 4K | `POST /nb2/text-generations` | `POST /nb2/url-generations` |
| NanoBanana Pro | 1K · 2K · 4K | `POST /text-generations`     | `POST /url-generations`     |

## Differences

<AccordionGroup>
  <Accordion title="NanoBanana — fast">
    Output is fixed at **1K**. The `resolution` field is **not accepted** and supplying it is rejected. Supported aspect ratios are a subset of the full set — see [Aspect ratios](/concepts/aspect-ratios).
  </Accordion>

  <Accordion title="NanoBanana 2 — higher quality">
    Selectable [resolution](/concepts/resolutions) (`1K`, `2K`, `4K`) and the full aspect-ratio set, including `1:4`, `1:8`, `4:1`, `8:1`, and `auto`.
  </Accordion>

  <Accordion title="NanoBanana Pro — top tier">
    Selectable [resolution](/concepts/resolutions) (`1K`, `2K`, `4K`) and the full aspect-ratio set. Uses the unprefixed endpoints `POST /text-generations` and `POST /url-generations`.
  </Accordion>
</AccordionGroup>
