Skip to content

Update Nano Banana to 0.0.11 for edit ratios and object outputs - #4137

Closed
acedatacloud-dev wants to merge 1 commit into
langgenius:mainfrom
AceDataCloud:acedata/nano-banana-edit-ratio-011-20261205
Closed

acedatacloud-dev wants to merge 1 commit into
langgenius:mainfrom
AceDataCloud:acedata/nano-banana-edit-ratio-011-20261205

Conversation

@acedatacloud-dev

Copy link
Copy Markdown
Contributor

Plugin Submission

Plugin information

Submission type

  • New plugin
  • Version update

What changed

This update maintains acedatacloud/nano-banana for installed workflows. The active 0.0.5 package defaults edit requests to 1:1 even when the user has not chosen a new canvas. The current API lets an edit inherit the first reference image's ratio when the parameter is omitted, and supports explicit auto on generation and editing. Version 0.0.11 exposes auto, omits an unspecified edit ratio and preserves choices explicitly saved in workflows. The generation action still defaults to 1:1. It also rejects unsupported 2K and 4K options for the 1K-only model family before sending a request, and corrects the four result types Dify CE classifies as File instead of Object. Existing IDs, endpoints, credentials and permissions are unchanged. Compatibility note: the only potential breaking change is for edits that relied on the implicit square canvas. A workflow that relied on editing's implicit square canvas should explicitly select 1:1.

We understand the consolidation guidance from #3892. Ace Media 0.2.6 covers the same four Nano Banana tools, but its edit action still defaults to 1:1 and neither of its two image actions exposes the API's auto option. This review asks whether the specific compatibility fixes can be delivered in place for existing standalone workflows, following the already-published Suno #4106 maintenance approach. We would follow your guidance if the fix should be accompanied by a migration to Ace Media instead.

The candidate includes original product-specific artwork and identifies Ace Data Cloud as the independent publisher. The name describes the supported service. Ace Data Cloud claims no affiliation with or endorsement by Google. The previous unsigned repository files are preserved byte-for-byte in the 0.0.4 archive and 0.0.5 archive.

Risk level

  • Low risk
  • Medium risk
  • High risk

Required checks

  • I have read the Marketplace submission requirements and curation policy.
  • I have read the Plugin Development Guidelines. This request presents descriptive service-name use and an existing listing update for review.
  • I installed the candidate in an isolated Dify Plugin Daemon and documented Dify CE and Cloud test scope below.
  • The package contains only runtime files and required documentation and artwork.
  • The package contains no secrets, local credentials, .env files, .git directories, virtual environments, caches, logs, or IDE files.
  • The package contains no executables or bundled binaries.
  • The README contains setup, usage, credentials, network requirements and the source repository link.
  • The package includes PRIVACY.md, referenced from manifest.yaml.
  • User-facing text is primarily in English, with a Simplified Chinese README.

Security and privacy notes

The plugin sends the configured credential, prompts, optional reference image URLs and optional callback URLs to the fixed https://api.acedata.cloud API. It passes URLs as inputs without requesting those destinations from the plugin. Input constraints require references for edits and verify aspect ratio and resolution before submitting. The client uses timeouts, does not follow redirects and does not retry paid generation. Dify may render output URLs according to its own network configuration. The Toolkit's static network finding identifies the existing request site that joins the fixed host with declared API paths.

Local validation

  • Source PR #19 and merged main CI passed. On Python 3.12 and Dify SDK 0.9.1, 93 tests passed. Tests exercised auto for both operations, omitted and explicit edit ratios, the generation default, and local rejection of unsupported 2K/4K combinations. The enum was compared with the published API.
  • Dify CLI 0.6.15 built the package. The exact merged-source build, host archive and downloaded author release all have SHA-256 9287bbc2c6fdd152f5c8aa86c65d05377e39222511dfe41d74b2f99399481aa0. Content checksum 76a18e3f2c3eb7f105917cfbf6ceb4d2340f4ee7c74f906d7add9e78247816dc.
  • The unsigned candidate installed in an isolated Dify Plugin Daemon 0.6.15 host, with four tools, four Object result schemas and matching plugin/provider light and dark icons. Each image selector exposes all eight ratios including auto. The generation selector defaults to 1:1, and the edit selector has no default.
  • The four output constraints were previously tested against the exact signed 0.0.5 and unsigned author packages in Dify CE 1.20.0. Prior workflow evidence. New ratio behavior was tested with mocked request transport. No real service or paid calls were made.
  • Marketplace Toolkit and local governance found zero blocking issues and no known vulnerabilities in the pinned dependencies. The same-author comparison produced 25 non-blocking source-skeleton warnings. The full repository checks will run on this PR.

Reviewer notes

The unchanged standalone identity permits updates for previously installed workflows. Signed Marketplace installation, actual automatic upgrade, Dify Cloud and real billable requests remain untested for 0.0.11. AI assistance was used for implementation and verification.

@crazywoola, could you review this compatibility update for the installed Nano Banana ID and advise on any migration requirement? Thank you.

@acedatacloud-dev

Copy link
Copy Markdown
Contributor Author

We audited the actual archives for the existing acedatacloud/nano-banana ID. The signed 0.0.5 archive still uses the yellow Nano Banana JPEG, while the current 0.0.11 review archive uses a different illustration. The intended correction restores the same image bytes already present in signed 0.0.5.

A local 0.0.12 package keeps the ratio handling and four Object output definitions in this PR. It passed 93 repository tests and an isolated Dify Plugin Daemon install. All four plugin and provider icon responses matched the existing JPEG.

@crazywoola, could you tell us what artwork rights or attribution evidence you need for retaining the exact image already in this signed listing? We are checking the records before replacing this PR's package. Please review the functional changes on this original PR and hold publication of its current illustration while we resolve the icon. Dify artwork rules

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant