This API supports both image generation from text prompts and image editing based on provided images and instructions. For image generation, developers simply supply a descriptive prompt and specify the desired output format (PNG or JPEG). For editing, users can upload images directly or provide URLs, along with a prompt detailing the desired modifications. The system supports up to five images for editing in a single request. The API is designed for flexibility, allowing for a diverse range of use cases, from creating original artwork to refining existing visuals. Detailed examples and parameter configurations are available to help developers quickly understand and utilize the full potential of the model.
The Nano Banana API prioritizes ease of use and commercial viability. It offers straightforward input parameters, including a required prompt and optional output format selection. The API returns images directly, simplifying integration into existing workflows. The model’s ability to perform seamless style transformations and generate physics-aware visuals makes it ideal for applications requiring high-fidelity and realistic imagery. Developers can explore various use cases and parameter settings to optimize results for their specific needs, and the API is explicitly licensed for commercial use, providing peace of mind for production deployments.