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

# Nano Banana

> Fast image generation with Google Gemini 2.5 Flash

Generate images quickly using Nano Banana powered by Gemini 2.5 Flash.

## Model

```
google/nano-banana
```

## Parameters

| Parameter      | Type   | Required | Description                                                                                        |
| -------------- | ------ | -------- | -------------------------------------------------------------------------------------------------- |
| `prompt`       | string | Yes      | Text description of the image                                                                      |
| `aspect_ratio` | string | No       | `default`, `1:1`, `2:3`, `3:2`, `3:4`, `4:3`, `4:5`, `5:4`, `9:16`, `16:9`, `21:9`. Default: `1:1` |
| `image_urls`   | array  | No       | Reference images                                                                                   |

## Example Request

```bash theme={null}
curl -X POST https://api.unifically.com/v1/tasks \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "google/nano-banana",
    "input": {
      "prompt": "A futuristic city skyline at sunset with flying cars",
      "aspect_ratio": "16:9"
    }
  }'
```

## With Reference Images

```bash theme={null}
curl -X POST https://api.unifically.com/v1/tasks \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "google/nano-banana",
    "input": {
      "prompt": "Transform this into anime style",
      "aspect_ratio": "1:1",
      "image_urls": ["https://example.com/reference.jpg"]
    }
  }'
```

## Response

```json theme={null}
{
  "code": 200,
  "success": true,
  "data": {
    "task_id": "abc123def456",
    "status": "processing"
  }
}
```
