How to Build Image Generation and Editing Workflows with the Nano Banana Images API
If your product needs both prompt-based image generation and practical image editing, the awkward part is often not the model call itself—it is designing a request shape that works for both fresh images and edits based on existing assets. What you can do The Nano Banana Images API exposes a single image endpoint for two related workflows: generating images from text and editing images from supplied image URLs. The base URL is https://api.acedata.cloud , and the endpoint is POST /nano-banana/images . Requests use JSON and authenticate with an authorization: Bearer {token} header. The key switch is action : generate : create an image from a text prompt . edit : transform one or more existing images using image_urls plus a prompt . That makes the API useful for builder workflows such as product mockups, image variations, campaign assets, visual QA tools, internal creative dashboards, or any app where users move between “make something” and “change this specific thing.” ...