What is Nano Banana 2 2K?
Nano Banana 2 2K is an AI image generation model designed for high-quality commercial visuals. On UniAll AI, the public model id is `NanoBanana2-2K`.
It supports both text-to-image and image-to-image workflows, making it useful for generating new visuals from prompts or transforming a reference image into a polished output.
Key capabilities
- **Text-to-image**: create images from a written prompt.
- **Image-to-image**: use one reference image plus a prompt for guided generation.
- **Async API**: submit generation jobs through an asynchronous image endpoint.
- **Resolution options**: 0.5K, 1K, 2K, and 4K tiers are available in the same model family.
- **Aspect ratios**: supports `1:1`, `16:9`, `9:16`, `4:3`, and `3:4`.
- **Batch output**: generate 1 to 4 images per request.
Who should use it?
Nano Banana 2 2K is suitable for teams that need consistent, production-ready image assets, including:
- Ecommerce teams creating product posters or main product images
- Marketing teams producing social media and ad creatives
- Designers building brand visuals and campaign concepts
- Developers adding AI image generation to SaaS products or internal tools
- Agencies and platform operators integrating image workflows for customers
API usage
Use the UniAll AI image generation endpoint:
```http POST /v1/images/generations ```
The request is asynchronous. Set the model to `NanoBanana2-2K` and choose a generation mode.
Text-to-image example
```json { "model": "NanoBanana2-2K", "generation_mode": "text_to_image", "prompt": "A premium skincare product poster with soft studio lighting, clean background, sharp details, luxury commercial style.", "aspect_ratio": "1:1", "resolution": "2K", "num_images": 1 } ```
Image-to-image example
```json { "model": "NanoBanana2-2K", "generation_mode": "image_to_image", "prompt": "Turn the reference product photo into a polished ecommerce hero image with clean lighting and a minimal premium background.", "image_url": "https://example.com/reference.png", "aspect_ratio": "1:1", "resolution": "2K", "num_images": 1 } ```
Supported parameters
| Parameter | Required | Description | |---|---:|---| | `model` | Yes | Use `NanoBanana2-2K`. | | `prompt` | Yes | Text instruction for the image. | | `generation_mode` | Recommended | `text_to_image` or `image_to_image`. | | `image_url` | Required for image-to-image | Reference image URL. Supports PNG, JPEG, and WebP uploads. | | `aspect_ratio` | No | `1:1`, `16:9`, `9:16`, `4:3`, or `3:4`. Default is `1:1`. | | `resolution` | No | Output tier such as `2K`. | | `num_images` | No | Number of outputs, from 1 to 4. |
Pricing angle
Nano Banana 2 2K is billed per generated image. The listed UniAll AI user price for the 2K tier is **$0.0816 per image**, shown as about **$0.082 / image**. API or partner pricing may differ by account type and resolution tier.
Current family tiers include:
- 0.5K: from $0.0408 / image for standard user pricing
- 1K: from $0.0544 / image for standard user pricing
- 2K: from $0.0816 / image for standard user pricing
- 4K: from $0.1088 / image for standard user pricing
Failed generations are eligible for refund handling when supported by the platform configuration.
Best-fit workflows
Nano Banana 2 2K works well when image quality matters but you still need API automation:
- Product photo enhancement and ecommerce main images
- Campaign posters and brand visuals
- Social media creative generation
- Reference-image guided redesign
- AI image workflows inside SaaS, CMS, or marketplace tools
For developers, the main advantage is a simple image-generation interface with clear required fields, async processing, and predictable per-image billing.
常见问题
What is the public model id for Nano Banana 2 2K?
The public model id is `NanoBanana2-2K`. Use this value in the `model` field when calling the UniAll AI image generation API.
Does Nano Banana 2 2K support both text-to-image and image-to-image?
Yes. It supports `text_to_image` with a prompt, and `image_to_image` with both a prompt and an `image_url` reference image.
How is Nano Banana 2 2K priced?
It is billed per generated image. The standard UniAll AI user price for the 2K tier is $0.0816 per image, displayed as about $0.082 / image. Pricing can vary by resolution and account type.