Nano Banana 2.1 Text to Image API

google/nano-banana-2.1/text-to-image
1K / 2K / 4K · 4 / 6 / 10 credits

Nano Banana 2.1 Text to Image 将文本提示词转化为 1K–4K 图像,支持排版文字渲染与全景画幅。它精准维持透视与光影质感,消除全景比例下的平铺伪影。

获取 API Key
输入
1230 / 20,000
输出已就绪
6 credits / 张 · $0.030

继续使用

示例

output.jpg

Create a sweeping 21:9 cinematic fantasy environment concept painting titled only in the viewer's imagination: Echo Survey of the Lava Fjord. An adult female geological surveyor in a weathered ochre expedition cloak leads one shaggy six-horned pack beast along a curved black basalt shore, both readable silhouettes in the lower left foreground. Their surveying equipment is practical and unbranded. Irregular glassy tidal pools and sharp wet volcanic stones fill the close foreground; a single continuous fjord sweeps through the middle distance toward a vast dormant volcano beneath layered low clouds on the far right. A restrained ember-red glow escapes one distant lava fissure while pale silver dusk lights the water and warm reflections touch the travelers. Build the entire panorama as one spatially coherent landscape with varied geological formations, natural transitions, consistent perspective, atmospheric distance, and a clear focal journey. No mirrored scenery, repeated stitched sections, duplicated travelers, or tiled rock patterns. Luminous matte-painting brushwork, epic scale, restrained color, a quiet human story within immense geology. No text, diagrams, labels, advertising, brands, logos, or signatures.

output.jpg

Paint a vertical 3:4 cinematic fantasy narrative keyframe inside the backstage dressing room of an underground theater carved into ancient dark stone. One elderly male tailor with small round spectacles carefully places the final stitch in a deep plum feather shawl worn by one adult female actress, moments before she enters the stage. Frame both expressive faces and the tailor's working hands clearly; show a single needle, a fine loose thread, layered iridescent feathers, worn velvet, and the actress gently holding one edge of the shawl. In the background, a narrow mirror shows a physically consistent partial reflection of the actress, a few hanging wooden puppet props remain distinct, and a gap in a heavy curtain reveals warm copper stage sidelighting against cool blue light entering through a high stone opening. Her anxious anticipation and his quiet concentration tell the story without words. Finished painterly concept art with refined gouache-like textures, precise material separation, believable anatomy, cinematic value grouping, rich shadows, and controlled detail. Exactly two main people; no extra limbs, duplicated tools, impossible mirror faces, lettering, advertising, brands, logos, or signatures.

Nano Banana 2.1 Text to Image

Nano Banana 2.1 Text to Image 是 Google 基于 Gemini 3.6 Flash 研发的高效图像生成模型。作为兼顾高推理速度与画质的主力,它支持 1K、2K 与 4K 输出,在多语言文字排版与全景去伪影上表现出众。该模型为海报设计、信息图表与高频商业视觉创作提供了高性价比的专业级出图体验。

为什么选择 Nano Banana 2.1 Text to Image?

  • 原生 1K、2K 与 4K 多档高清分辨率支持 1K(默认)、2K 与 4K 三档原生分辨率输出,满足从日常社媒轻量物料到专业印刷级画册的不同清晰度交付需求。

  • 突破性的复杂排版图文与文字渲染显著增强了多语言文本生成与信息图表排版能力,可在宣传海报、包装标签与指示标牌中呈现清晰可辨、拼写准确的印刷字样。

  • 消除极端全景画幅比例的平铺伪影修复了超宽屏与极窄全景比例(如 1:4、4:1、1:8 与 8:1)下的图案重复拼接缺陷,在 21:9 等多样化画幅下呈现平滑自然的完整构图。

  • Flash 级高推理速度与普惠计费沿袭 Gemini 3.6 Flash 底座的高效推理架构,相较前代大幅降低出图成本,1K 生成仅需 4 积分($0.020),助力高频创作与规模化部署。

  • 深度多模态思考机制强化空间层次内置 Thinking 多模态思考能力,在处理包含多物体、复杂光照与空间层次的长提示词时,展现出卓越的逻辑遵循与画面真实感。

参数

参数要求说明
prompt必填

非空白文本,最多 20,000 字符。

size可选

选择输出比例。

默认1:12:33:23:44:34:55:49:1616:921:9
resolution可选

输出分辨率,决定本次费用。

默认1K2K4K

使用教程

  1. 构建结构化提示词在提示词中详细描述画面主体、艺术风格、环境布光与空间构图,如需渲染画面文字建议使用双引号明确标出。

  2. 选择画面比例与分辨率根据分发载体选择 1:1、16:9 等 10 种画幅比例之一,并选定 1K、2K 或 4K 输出分辨率。

  3. 提交异步生成任务发送 API 请求提交参数并获取唯一 task_id,后台集群立即开始执行高效并行推理。

  4. 轮询任务执行状态使用 task_id 查询生成状态接口,在状态变更为 finished 后获取返回的图片文件列表。

  5. 获取并下载高保真图片读取响应中的图片访问链接并保存成品,图片内嵌 SynthID 数字标识确保创作溯源。

价格

每次输出一张图片,按 resolution 计费。1 credit = $0.005。

用量费率详情
1K4 credits / 张$0.020 / 张
2K6 credits / 张$0.030 / 张
4K10 credits / 张$0.050 / 张

最佳应用场景

  • 商业宣传海报与信息图表设计借助卓越的图文混排与多语言文字渲染能力,快速生成带有清晰排版标语的广告海报、宣传折页与图表插图。

  • 超宽屏壁纸与全景概念场景绘制针对 21:9、16:9 等宽画幅场景,生成无平铺接缝缺陷的宏大风景、科幻城市与影视概念分镜草图。

  • 电商产品宣传图与创意概念视觉批量构思不同风格、材质质感与布光氛围的商品概念展示图,大幅缩短前期视觉策划周期。

  • 社交媒体矩阵视觉素材批量生成依托低成本与极速响应优势,为多渠道社媒账号快速生产风格统一、尺寸适配的信息流视觉物料。

专家技巧

  • 使用双引号标定排版文字:画面中需要准确显示的英文或多语言短语,建议使用英文半角双引号包裹(例如 "SPRING FESTIVAL 2026"),有助于提升文字边缘锐度与拼写准确率。
  • 明确空间层次与视角描述:在提示词中具体注明镜头视角(如“45度俯角”、“特写镜头”)与光影类型(如“清晨冷调漫反射光”、“黄昏逆光轮廓”),能更好发挥模型的空间建模长处。
  • 利用高阶画幅规避重复纹理:在需要宽幅视觉时,直接选用 21:9 或 16:9 画幅,新架构已修复平铺伪影,无需手动裁剪拼接。
  • 按应用场景选择分辨率:初步构思与批量探索优先使用 4 积分的 1K 模式;选定满意方案后再使用 2K 或 4K 生成高精度终稿,兼顾效率与成本。

注意事项

  • prompt 为必填字段,支持最多 20,000 字符,可详尽描述视觉场景与文字要求。
  • 文生图端点专为纯文本生成图像设计,如需结合已有素材进行修改或参考融合,请使用 Nano Banana 2.1 Edit 端点。
  • 分辨率决定最终扣费,每次生成一张图片,1K / 2K / 4K 分别消耗 4 / 6 / 10 积分,提交前请确认所需规格。
  • 任务执行采用异步处理机制,请求提交后返回 task_id,任务执行完毕后即可在状态响应中读取包含 SynthID 数字水印的成品图片 URL。

Nano Banana 2.1 Text to Image API 常见问题

Nano Banana 2.1 Text to Image API 是什么?

Nano Banana 2.1 Text to Image 是 Google 研发的高效文本生成图像模型。它根据纯文本提示词生成 1K、2K 至 4K 原生高分辨率图像,具备强大的多语言文字排版渲染能力与消除平铺伪影的全景画幅表现。基于 Gemini 3.6 Flash 原生多模态推理底座与内置思考机制,它在深度遵循空间透视与复杂光影描述的同时,以高性价比与极速响应实现高质量商业级交付。你可以通过 API 进行程序化调用,也可以在上方体验区直接在线试用。

Nano Banana 2.1 Text to Image 支持在画面中生成文字吗?

支持。该模型显著强化了文本排版渲染引擎,能够精准生成海报标题、包装文字、指示牌以及图表标注等多种场景下的多语言短文本。在提示词中使用英文半角双引号包裹特定词句,可以进一步增强字母拼写正确率与边缘清晰度。

Nano Banana 2.1 Text to Image 支持哪些输出分辨率与画幅比例?

模型原生支持 1K、2K 与 4K 三种分辨率规格,并提供 1:1、2:3、3:2、3:4、4:3、4:5、5:4、9:16、16:9 和 21:9 共 10 种画幅比例。用户可根据实际分发渠道灵活选择标准方形、竖屏海报或电影级超宽屏比例。

Nano Banana 2.1 Text to Image 如何解决全景比例的平铺伪影问题?

针对早期模型在宽幅比例下容易出现画面内容重复拼接和瓷砖平铺式瑕疵的现象,Nano Banana 2.1 重新优化了极端宽高比的注意力机制,在 2K 与 4K 的全景及宽画幅生成中确保画面的全局连贯性与自然延展。

Nano Banana 2.1 与 Nano Banana 2 和 Pro 版本有何区别?

Nano Banana 2.1 是 Nano Banana 2 的重大升级版本,在保持 Flash 级别出图效率的同时,画质、文字生成与构图能力均大幅提高,且单张成本直降约 50%;相比顶配的 Nano Banana Pro,2.1 版本更具成本效益,是日常高频规模化生成的主力模型。

Nano Banana 2.1 Text to Image 的调用费用是多少?

模型根据请求中配置的 resolution 分辨率档位计费,1K 分辨率每次生成消耗 4 积分($0.020),2K 为 6 积分($0.030),4K 为 10 积分($0.050),每积分按 $0.005 结算。

如何编写提示词以获得最佳的 Nano Banana 2.1 Text to Image 生成效果?

建议结构化组织提示词,具体明确画面主体外观、材质特征、镜头焦段、相机角度与环境光源方向;若画面包含排版文字,务必使用双引号准确标示,避免使用笼统抽象的夸饰词语。