How to Build Image Generation and Editing Workflows with the Nano Banana Images API
If your product needs both text-to-image generation and image-based editing, the hard part is usually not sending one request; it is designing a workflow that can handle prompts, reference images, callbacks, partial failures, and traceable results. What you can do The Nano Banana Images API exposes one image endpoint for two practical jobs: generating images from text and editing one or more existing images. The base URL is https://api.acedata.cloud , and the endpoint is POST /nano-banana/images . Authentication is done with an HTTP header: authorization: Bearer {token} . The core switch is the action field: generate : create an image from a text prompt . edit : edit existing image material supplied through image_urls . You can also choose a model. The default is nano-banana . Other documented options include nano-banana-2-lite , nano-banana-2 , nano-banana-pro , and their corresponding :official variants. The request can ask for multiple outputs with count , from ...