Nano Banana Pro 2K is a high-quality image generation model available on UniAll AI for teams that need sharper visuals for posters, product assets, brand creatives, and commercial design workflows. The public model id is `NanoBananaPro-2K`.

The model supports both **text-to-image** and **image-to-image** generation through an async API endpoint. It is useful for developers, ecommerce operators, design teams, content platforms, and agencies that want programmable image generation without building model infrastructure.

What Nano Banana Pro 2K can do

Nano Banana Pro 2K is designed for image generation tasks where clarity and visual polish matter. Common use cases include:

  • Ecommerce product posters and hero images
  • Social media campaign visuals
  • Brand concept images
  • Commercial graphics and marketing materials
  • Reference-image based creative variations
  • Automated image generation inside apps or internal tools

Supported generation modes:

| Mode | Description | Required fields | |---|---|---| | `text_to_image` | Generate an image from a text prompt | `prompt` | | `image_to_image` | Generate from a prompt plus one reference image | `prompt`, `image_url` |

API endpoint

Use the UniAll AI image generation endpoint:

```http POST /v1/images/generations ```

The request is asynchronous, so your application should create a generation task and then handle the returned task/result flow according to your UniAll AI integration.

Required and optional parameters

| Parameter | Type | Required | Notes | |---|---:|---:|---| | `model` | string | Yes | Use `NanoBananaPro-2K` | | `generation_mode` | string | Yes | `text_to_image` or `image_to_image` | | `prompt` | string | Yes | Describe the desired image clearly | | `image_url` | string | Required for image-to-image | PNG, JPEG, or WebP reference image URL | | `aspect_ratio` | string | No | `1:1`, `16:9`, `9:16`, `4:3`, `3:4`; default `1:1` | | `resolution` | string | No | `1K`, `2K`, or `4K`; default `1K` | | `num_images` | integer | No | 1 to 4 images; default `1` |

Text-to-image example

```bash curl -X POST "https://api.uniall.ai/v1/images/generations" \ -H "Authorization: Bearer $UNIALL_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "NanoBananaPro-2K", "generation_mode": "text_to_image", "prompt": "A premium skincare product poster on a clean marble surface, soft studio lighting, sharp details, elegant beige background", "aspect_ratio": "1:1", "resolution": "2K", "num_images": 1 }' ```

Image-to-image example

```bash curl -X POST "https://api.uniall.ai/v1/images/generations" \ -H "Authorization: Bearer $UNIALL_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "NanoBananaPro-2K", "generation_mode": "image_to_image", "prompt": "Turn this product photo into a polished ecommerce hero image with clean lighting, realistic shadows, and a premium campaign style", "image_url": "https://example.com/reference.png", "aspect_ratio": "1:1", "resolution": "2K", "num_images": 1 }' ```

Prompting tips

For better results, include:

1. **Subject**: what should appear in the image. 2. **Scene or background**: studio, outdoor, minimal, luxury, ecommerce, etc. 3. **Lighting**: softbox, cinematic, natural light, high-key studio. 4. **Style**: realistic product photography, poster design, editorial, social ad. 5. **Output constraints**: aspect ratio, clean composition, no clutter, space for text.

Example prompt:

```text A premium product poster for a wireless headphone brand, centered product, dark gradient background, rim lighting, realistic reflections, luxury technology advertising style, sharp details, clean space for headline text ```

Pricing angle

Nano Banana Pro 2K is billed per generated image on UniAll AI. The listed user price is **$0.102 per image** for the 2K tier. The same model family also exposes 1K and 4K resolution options, with 4K priced higher. Failed generations are eligible for refund according to the model configuration, while automatic retry is not enabled by default.

For production workloads, estimate cost as:

```text estimated cost = number of generated images × unit price for selected resolution ```

If you request `num_images: 4`, the charge is based on four generated images, not one API call.

Who should use it

Nano Banana Pro 2K is a good fit for:

  • Developers adding AI image generation to SaaS products
  • Ecommerce teams generating product images and campaign assets
  • Marketing teams creating posters and social creatives
  • Agencies building repeatable visual production workflows
  • Businesses that need a domestic or overseas-accessible AI image API through UniAll AI

Implementation notes

  • Use `NanoBananaPro-2K` exactly as the `model` value.
  • Use `generation_mode` to choose text-to-image or image-to-image.
  • Provide only one reference image via `image_url` for image-to-image.
  • Keep prompts specific, especially for commercial images.
  • Handle async task status and failures in your application.
  • For batch jobs, control `num_images` and concurrency based on your account limits and budget.
Nano Banana Pro 2K APINano Banana Pro 2K 模型Nano Banana Pro 2K 价格Nano Banana Pro 2K 官方价格Nano Banana Pro 2K 计费Nano Banana Pro 2K 教程Nano Banana Pro 2K 接口文档NanoBananaPro-2K APINanoBananaPro-2K 模型Nano Banana Pro 2K 图片模型Nano Banana Pro 2K 国内可用Nano Banana Pro 2K 海外可用Nano Banana Pro 2K API KeyNano Banana Pro 2K 在线生成

常见问题

What is the Nano Banana Pro 2K API used for?

The Nano Banana Pro 2K API is used to generate high-quality AI images from text prompts or from a prompt plus one reference image. It is suitable for ecommerce visuals, product posters, brand assets, social media images, and commercial creative workflows.

What is the correct model id for Nano Banana Pro 2K?

Use `NanoBananaPro-2K` as the public model id in the `model` field when calling the UniAll AI image generation endpoint.

How is Nano Banana Pro 2K priced?

Nano Banana Pro 2K is billed per generated image. The listed user price for the 2K tier is $0.102 per image. If you generate multiple images in one request, billing is based on the number of output images.

站内推荐路径

Nano Banana Pro 2K APINano Banana Pro 2K 可在 UniAll AI 调用,高质量图片生成,适合需要更高清晰度的海报、素材和商业图。 价格参考:$0.102 / image。查看模型 ID、能力、价格和接入说明。模型Nano Banana Pro APINano Banana Pro 可在 UniAll AI 调用,高质量图片生成,支持参考图创作和 1K/2K/4K 规格切换。 价格参考:$0.102 / image。查看模型 ID、能力、价格和接入说明。模型Grok Imagine Image Quality 怎么用:从 API 接入到高质量文生图、图生图工作流面向开发者和业务团队的 Grok Imagine Image Quality 使用指南,讲解 grok-imagine-image-quality API 接入、提示词、图生图流程、价格控制、风险与场景选择。文章Grok Imagine Image 怎么用:从文生图、图生图到 API 工作流的实战指南面向产品、运营和开发者的 Grok Imagine Image 使用指南,覆盖 grok-imagine-image API、文生图、图生图、成本控制、业务场景、风险与接入清单。文章GPT Image-2 APIGPT Image-2 可在 UniAll AI 调用,OpenAI 图片生成模型,支持参考图、比例、分辨率和画质参数。 价格参考:$0.018 / image。查看模型 ID、能力、价格和接入说明。模型Nano Banana 2 APINano Banana 2 可在 UniAll AI 调用,Nano Banana 2 图片生成模型,支持参考图创作和 1K/2K/4K 规格切换。 价格参考:$0.054 / image。查看模型 ID、能力、价格和接入说明。模型Nano Banana 2 0.5K APINano Banana 2 0.5K 可在 UniAll AI 调用,Nano Banana 2 图片生成模型,支持参考图创作和 0.5K/1K/2K/4K 规格切换。 价格参考:$0.041 / image。查看模型 ID、能力、价格和接入说明。模型Nano Banana 2 2K APINano Banana 2 2K 可在 UniAll AI 调用,Nano Banana 2 高清图片生成,适合海报、商品图和商业素材。 价格参考:$0.082 / image。查看模型 ID、能力、价格和接入说明。模型Nano Banana 2 4K APINano Banana 2 4K 可在 UniAll AI 调用,Nano Banana 2 4K 图片生成,面向精细视觉、高清物料和交付级素材。 价格参考:$0.109 / image。查看模型 ID、能力、价格和接入说明。模型Nano Banana Pro 4K APINano Banana Pro 4K 可在 UniAll AI 调用,高质量图片生成,面向 4K 高清输出和精细视觉素材。 价格参考:$0.204 / image。查看模型 ID、能力、价格和接入说明。模型