The prompt for image generation
Output format for the images
Radio description

Explore different use cases and parameter configurations
The prompt for image editing
Click to upload or drag and drop
Supported formats: JPEG, PNG, WEBP Maximum file size: 10MB; Maximum files: 10
List of URLs of input images for editing,up to 10 images.
Output format for the images
Radio description

Explore different use cases and parameter configurations
A text description of the image you want to generate
Click to upload or drag and drop
Supported formats: JPEG, PNG, WEBP Maximum file size: 30MB; Maximum files: 8
Input images to transform or use as reference (supports up to 8 images)
Aspect ratio of the generated image
Resolution of the generated image
Format of the output image

Explore different use cases and parameter configurations
Complete guide to using
价格亲民的 Nano Banana API,支持精准 AI 图像编辑
快速、逼真的图像生成与编辑。Nano Banana API 价格亲民,稳定支持高并发,并提供完善的 API 文档,集成更省心。了解更多,请查看 Nano Banana API 开发者指南。
from 5000+ reviews
将 Gemini 2.5 Flash Image Preview 能力接入 Nano Banana API
谷歌发布的 Gemini 2.5 Flash Image(即 “Nano Banana” 背后的核心模型),重新定义了 AI 图像生成与编辑。于 2025 年 8 月 26 日上线后,这一先进的 AI 图像模型让用户只需输入自然语言提示(如“在背景中加一片夕阳”),即可快速生成或修改画面。它能够高效输出高清图像,保持风格一致,并支持多样化的艺术风格。Nano Banana 为 AI 图像工具设立了全新标准,让专业级效果触手可及。 通过 Kie.ai,开发者可无缝调用 Nano Banana API,将其集成到应用中。相比直接使用谷歌的 Gemini 2.5 Flash Image API,Kie.ai 提供更具性价比的选择,并支持稳定的高并发运行,确保在高负载下依旧流畅。配合清晰的 API 文档与简便的 Nano Banana API 密钥配置,开发者可以快速上手,以亲民的 Nano Banana API 价格,充分释放 Gemini 2.5 Flash Image 的图像生成能力。
Nano Banana API — 主要功能

直观的自然语言编辑体验
Nano Banana API 支持基于自然语言的高精度图像编辑。只需输入简单的文本提示(如“添加一抹夕阳光晕”或“把椅子换成王座”),即可得到对应图像。除了解读基础指令外,它还能精准理解复杂输入,准确还原用户意图并生成逼真图像。

稳定可靠的输出
Gemini 2.5 Flash Image API 在多次迭代编辑中保持一致性,避免失真或风格漂移。无论对同一张图进行多次修改,还是在批量任务中应用相似编辑,Nano Banana API 都能确保结果稳定一致。

精确控制的像素级编辑
借助 Gemini 2.5 Flash Image API,物体替换、背景修改或人像优化等操作可实现像素级精确。Nano Banana API 在保留原始场景完整性的同时,让每次修改自然融入,呈现专业级图像效果。

极速性能
速度是 Nano Banana API 的一大优势:通常在几十秒内完成图像生成与编辑。这样的高效性能足以支持近实时应用,从即时内容创作到快速原型设计,帮助开发者在不牺牲质量的前提下保持高效工作流。

具备物理感知的逼真视觉效果
依托 Gemini 2.5 Flash Image 的高级推理能力,Nano Banana API 能生成符合现实世界逻辑的图像——光照一致、阴影自然、空间关系准确。无论处理复杂背景还是插入新对象,每次编辑都能保持视觉一致性。
Gemini 2.5 Flash Image Preview API 定价 — 通过 Kie.ai 以更高性价比接入
Google 官方的 Gemini 2.5 Flash Image Preview API 定价为每 100 万输出 token 收费 30 美元。按该计费标准,每张图片约消耗 1,290 token,折合约 0.039 美元/张。该服务可通过 Google AI Studio 或 Vertex AI 访问,需关联 Google Cloud 项目。 通过 Kie.ai 接入同样的 Gemini 2.5 Flash Image Preview 服务,成本更低:每张图约 $0.02,几乎为官方价格的一半。Kie.ai 支持从 $5 起充值点数,无需订阅,且批量购买可享更多折扣。 对于追求高性价比的开发者,Kie.ai 提供的 Nano Banana API(Nano Banana 图片生成模型 API)在价格与性能之间实现良好平衡,让你以更低成本调用 Gemini Flash 的图像生成功能。
Nano Banana API 接入指南
步骤一:注册并获取 Nano Banana API 密钥
在 Kie.ai 注册账号并获取 Nano Banana API 密钥。该密钥用于身份验证,凭此可访问 Gemini 2.5 Flash Image Preview 的全部生成功能。
步骤二:调用 Nano Banana API
使用 Nano Banana API 密钥发起 POST 请求,请求体可包含文本提示或图片 URL。Nano Banana API 通常在数十秒内返回结果,支持图像生成、图像编辑与风格转换等功能。
步骤三:获取并校验结果
处理完成后,API 会返回任务状态与输出数据;若提供回调 URL(callback URL),结果会自动推送到你的应用。建议检查返回的状态码与输出内容完整性,以确认调用成功并便于排查问题。
为什么选择 Kie.ai
Nano Banana API — 实惠定价(约 $0.02/张)
通过 Kie.ai 使用 Nano Banana API(Gemini 2.5 Flash Image Preview),按量付费,每张约 $0.02。支持从 $5 起充值点数,无需订阅;批量购买可享更多折扣,方便在不同规模的项目中接入。
全面的 Nano Banana API 开发者指南
Kie.ai 提供全面的 Nano Banana API 开发者指南,包含分步集成教程、示例代码与最佳实践,帮助你快速无缝对接。同时提供 7×24 小时技术支持(24/7),便于排查问题与上线部署。
高并发下的稳定性能
Kie.ai 保证 Nano Banana API 99.9% 的正常运行时间(uptime),并支持高并发请求。不论是实时内容生成还是大规模应用扩展,Nano Banana 图片生成模型 API 都能保持稳定性能。
对比:Gemini 2.5 Flash Image、Flux Kontext 与 Qwen-Image-Edit
Gemini 2.5 Flash Image、Flux Kontext 与 Qwen-Image-Edit 是领先的 AI 图像生成与编辑工具,各有侧重:Nano Banana AI 在基于自然语言的精准编辑与真实感输出方面表现出色;Flux Kontext 擅长上下文驱动的生成;Qwen-Image-Edit 则以速度与开源可用性为优势。下表比较了它们的主要功能与性能。更多详情请参见 Nano Banana API 开发者指南。
| Gemini 2.5 Flash Image | Flux Kontext | Qwen-Image-Edit | |
|---|---|---|---|
| Core Focus | Precise AI image editing and generation via natural language | Contextual image generation and editing | Fast, open-source image editing |
| Editing Precision | High: Excels in object swaps, style transfers, and scene consistency | Moderate: Good for broad changes, struggles with complex details | High: Fast but less consistent than Nano Banana AI |
| Speed | Fast: tens of seconds per request | Variable: Slower for complex tasks (up to minutes) | Ultra-fast: ~8 seconds per edit |
| Realism & Physics | Superior: Realistic lighting, shadows, and physics-compliant | Good: Contextual realism, occasional inconsistencies | Moderate: Realistic but may alter unintended details |
| Style Transfer | Versatile: Natural transitions across photorealistic, artistic styles | Strong: Smooth style shifts, less precise | Good: Limited by open-source framework |
| Consistency | Exceptional: Maintains consistency across iterations | Inconsistent in complex edits | Moderate: May alter backgrounds or faces |
| Pricing | $0.02 per image on Kie.ai | $0.025 or $0.05 per image on Kie.ai | $0.0165 per image on Kie.ai |