Nano Banana 2.1 | Text to Image.

  • Google
  • 文生图
  • 按用量计费

Google Nano Banana 2.1 generates images from text prompts at supported aspect ratios and resolutions.

查看 API 文档

看看 Nano Banana 2.1 | Text to Image 擅长什么。

  • 最适合

    适用场景

    Nano Banana 2.1 Text to Image is useful when this specific operation fits between source preparation and delivery. These scenarios show how it can support…

  • 限制与技巧

    Make the main subject, composition, lighting and intended visual style unambiguous.

    When references are available, state which details should be retained and which should change. Start with one clear creative direction before adding several…

  • 相关模型

    Alibaba | Qwen Image | 2.1 | Turbo | Text to Image

    用相同输入运行,对比输出、速度和价格。

    查看模型

模型文档

关于此模型

Google Nano Banana 2.1 generates images from text prompts at supported aspect ratios and resolutions. Create visual concepts for design and content teams.

概览

Nano Banana 2.1 Text to Image Overview

Google Nano Banana 2.1 generates images from text prompts at supported aspect ratios and resolutions. Create visual concepts for design and content teams.

A text prompt defines the image while exposed aspect-ratio and resolution options set the output shape.

Nano Banana 2.1 Text to Image from Google is available through each::labs in the nano-banana-2.1 family. Required fields are prompt.

aspect_ratio: Auto lets Google choose the aspect ratio; no aspectRatio is sent. resolution: Resolution.

Use the Nano Banana 2.1 Text to Image API when you need this transformation or analysis as a repeatable step in an application or creative pipeline. The sections below distinguish the required material, adjustable controls and checks that matter before delivery.

能力

能力

  • A text prompt defines the image while exposed aspect-ratio and resolution options set the output shape.
  • aspect_ratio: Auto lets Google choose the aspect ratio; no aspectRatio is sent.
  • resolution: Resolution.
  • num_images: Number of images to generate.
  • Produces a array result for the next stage of your workflow.

使用场景

Use Cases for Nano Banana 2.1 Text to Image

Nano Banana 2.1 Text to Image is useful when this specific operation fits between source preparation and delivery. These scenarios show how it can support different parts of a working pipeline.

Creators

Draft a design concept. Use a representative source or a concise brief, then inspect the result before preparing a larger set of assets.

Design and marketing teams

Generate a visual storyboard frame. Compare the result with the intended message, composition and destination. Keep reviewable versions of the source and output.

Developers

Explore an image direction for a product campaign. Inspect the actual returned value before connecting it to another step, and keep the chosen request settings with the result.

Start with a clear definition of the desired result and use the exposed controls to reach it. Keep any additional generation, editing or application logic in separate steps so that the effect of this operation remains easy to review.

使用技巧

使用技巧

Make the main subject, composition, lighting and intended visual style unambiguous. When references are available, state which details should be retained and which should change. Start with one clear creative direction before adding several competing requests.

  • resolution: Resolution.
  • num_images: Number of images to generate.
  • Example direction: “A ceramic cup on a pale stone table, soft window light, centered composition, uncluttered background.”
  • Example direction: “An editorial illustration of a small garden, balanced shapes, muted green palette, simple background.”

Compare one deliberate adjustment at a time. Inspect the part of the result affected by that change, then check the rest of the asset or response for unwanted side effects before reusing the settings.

技术规格

技术规格

  • Result type: array.
  • Required fields: prompt.
  • aspect_ratio: string; options 1:1, 3:2, 2:3, 3:4, 1:4, 4:1, 4:3, 4:5, 5:4, 1:8, 8:1, 9:16, 16:9, 21:9, auto.
  • resolution: string; options 1K, 2K, 4K.
  • output_format: string or null; options png, jpeg, webp, None; default "png".
  • prompt: string.

Values must use the types and accepted options listed in the parameter reference. A displayed default does not remove a required-field requirement. Choose a supported output setting for this entry rather than borrowing a preset from a related model.

注意事项

注意事项

Review lettering, small structures, edges and any requested product details at the intended display size. An attractive first impression is not enough to establish that a visual matches its brief.

Optional settings are not necessarily interchangeable with those on another entry in the same family. Use the accepted names, types and values shown for this operation.

Check the returned content against the original input and your application requirements. A successful request means the operation completed; your application still needs to verify that the response is suitable for the next step.

关键考量

关键考量

Use the selected entry's exact options and review fine detail and any generated lettering.

Google Nano Banana 2.1 Standard Global token rates (input $1.50/M, cached $0.15/M, text+thinking $7.50/M, image $30/M); actual usage only. No discount applied.

Prepare prompt before starting. Optional settings include aspect_ratio, resolution, num_images. Keep these settings aligned with the intended delivery, especially when a later step expects a particular type or format.

Run a representative request before scaling to a larger collection. Judge the result against the source and the brief, and account for all generated outputs or usage-sensitive options when estimating a batch.

局限性

局限性

  • aspect_ratio: allowed values: ["1:1", "3:2", "2:3", "3:4", "1:4", "4:1", "4:3", "4:5", "5:4", "1:8", "8:1", "9:16", "16:9", "21:9", "auto"].
  • resolution: allowed values: ["1K", "2K", "4K"].

Unsupported parameters do not establish additional capabilities. A generated result can differ from the intended brief, so review detail and consistency before publication.

关于此模型的问题

简明解答。如有与您的配置相关的具体问题,请联系我们的团队。

联系工程师按您的预期用量做好规划。
  • Google Nano Banana 2.1 Text-to-Image generates images from written descriptions. This integration on each::labs is limited to text prompts and does not accept reference images or perform image editing. Google documents fifteen supported aspect ratios and three image resolutions for this model.

准备好补齐这块短板了吗?

找到模型。搭建 workflow。上线成果。