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

# Nano Banana

> Fast, low-cost image generation and editing.

Nano Banana is a fast, low-cost image model built for quick iteration and
editing. Reach for it when speed and price matter more than maximum fidelity.

## Best for

* Rapid iteration and drafts.
* High-volume generation on a budget.
* Simple edits and variations.

|                      |                               |
| -------------------- | ----------------------------- |
| **Modality**         | Image (text in, image out)    |
| **Example model id** | `nano-banana`                 |
| **Endpoint**         | `POST /v1/images/generations` |

## Example

<CodeGroup>
  ```bash cURL theme={null}
  curl https://api.heyaskr.ai/v1/images/generations \
    -H "Authorization: Bearer ASKR_API_KEY" \
    -H "Content-Type: application/json" \
    -d '{
      "model": "nano-banana",
      "prompt": "a sticker of a happy avocado, flat vector style",
      "size": "1024x1024",
      "n": 1
    }'
  ```

  ```python Python theme={null}
  import requests

  r = requests.post(
      "https://api.heyaskr.ai/v1/images/generations",
      headers={"Authorization": "Bearer ASKR_API_KEY"},
      json={
          "model": "nano-banana",
          "prompt": "a sticker of a happy avocado, flat vector style",
          "size": "1024x1024",
          "n": 1,
      },
  )
  print(r.json()["data"][0]["url"])
  ```
</CodeGroup>

## Pricing

Priced per image. As a rough guide, expect around **\$0.01 per 1024×1024 image**,
one of the cheapest ways to generate on Askr.

<div className="askr-img-placeholder">
  <span><strong>Image</strong><br />Nano Banana sample output: a flat-vector avocado sticker</span>
</div>

<Note>
  The model id and prices above are examples. Confirm the exact id and current
  price against the live [`/v1/models`](/api-reference/list-models) list before you
  rely on them. Image URLs expire after 24 hours, so download anything you want to keep.
</Note>
