Generate and edit images via Ace Data Cloud Nano Banana Images API.
Generate one Nano Banana image from a prompt. This guide takes you from your first API key to the result in a Dify Workflow. Screenshots use Dify CE 1.17.1 in English; later versions may move the same controls.
Read in Simplified Chinese · API and pricing
Open Nano Banana by acedatacloud in Dify Marketplace. Check the author is acedatacloud, choose Install, and select your Dify workspace. In Dify, open Integrations → Tools → Tool Plugin → Nano Banana.
If your Dify server cannot open Marketplace, ask its administrator to enable outbound access and plugin installation. The plugin needs HTTPS to .
Copy only the token string. Do not add , quotation marks, or the screenshot's redacted characters. A platform management token (for example, a token) is not the generation API key this plugin expects. Confirm service access and a sufficient balance before the first run.
Open Studio → Create → Create from Blank → Workflow, name it, and create this path by dragging from each node's right connector to the next node:
Start → Nano Banana Generate Image → Nano Banana Retrieve Task → Output.
Use the + button to add a Tool, select this plugin, and choose the exact action above. Rename the generation node Nano Banana and the query node Retrieve completed task to match the screenshots. Leave Start inputs empty for this fixed first example. Keep Retry on Failure off on the generation node.
Select Nano Banana Generate Image and set these fields. Leave unmentioned optional fields empty.
Prompt ():
For editing, select Nano Banana Edit Image, set Reference image URLs to a JSON array such as , and describe the change. Replace the placeholder URL with your own accessible image. Model variants have separate access and pricing.
Select Nano Banana Retrieve Task. In Task ID, click the variable picker (or type ) and choose Nano Banana → task_id. It must be the output variable from the generation node, not its name typed as plain text. Set Wait up to seconds to ; leave Trace ID empty for this example.
Select Output, click + to add output fields, and choose the variables below from Retrieve completed task:
Click Test Run → Start Run. Generation may finish before the bounded wait expires; otherwise is normal. Do not rerun the whole workflow while it is pending, because that submits a new generation. Copy its task ID and create a separate Start → Nano Banana Retrieve Task → Output workflow with that ID and a wait of 0 or 240. Query the same ID until and ; then open the links in . A green Dify workflow alone is not proof that the service task finished.
A completed result has this shape (the URL below illustrates the field; use your own returned URL):
Actual Dify workflow after installing version 0.0.2 from the official Marketplace on October 11, 2026. The service returned a completed 1024×1024 image. Your task ID and media URL will differ.
Version 0.0.3 adds to generation and editing. Select it in Model; 1K, 2K and 4K are available. The default remains . Check current model pricing before switching.
Download the ready-to-import workflow. Install this plugin first, import the workflow in Studio, then configure your own credential.
The free plugin sends your chosen inputs and token to ; API calls follow current service pricing. Keys stay in Dify credential storage. See Privacy. Only submit content you have permission to process.
Source · Report a problem · [email protected] · Advanced capabilities. Development and test evidence live in the source repository, separate from this first-run guide.
Some outbound calls build their address at runtime, so the list may be incomplete.
Last checked 10/11/2026 03:40 PM · version 0.0.3