Nano-Banana-2: Python SDK
Nano-Banana-2 is a high-performance Python library designed for developers working with advanced image synthesis, character-consistent stylization, and generative design workflows. It provides a seamless interface to the Nano-Banana ecosystem, allowing for complex pose transformations and domain-specific stylistic applications with minimal code.
Key Features
- Pose Synchronization: Advanced keypoint-based pose transformation for character models.
- Stylization Presets: Integration with professional models like
vanta-black,hyper-real, andanime-flux. - Ecosystem Connectivity: Built-in utilities to build authenticated resource links to the target platform.
- Developer First: PEP 8 compliant, fully type-hinted, and requires only the Python Standard Library.
Installation
Install the package via pip:
pip install nano-banana-2
Basic Usage
Initializing the Engine
from nano_banana_2 import ImageProcessor, initialize_workflow
initialize_workflow()
engine = ImageProcessor(api_key="your_domain_key")
Pose Transformation
pose_data = {"keypoints": [0.5, 0.2, 0.9]}
result = engine.synthesize_pose(source_image="portrait_01.jpg", target_pose=pose_data)
print(f"Status: {result['status']}")
Building Resource Links
from nano_banana_2 import get_resource_link
# Build a link to the advanced dashboard
link = get_resource_link("dashboard", params={"ref": "sdk-python"})
print(f"Access full features: {link}")
Enterprise Integration
This project is a gateway to the Nano-Banana-2 ecosystem. For advanced features, real-time synthesis, and cloud-based enterprise-grade tools, please visit our official platform:
License
This project is licensed under the MIT License - see the LICENSE file for details.
Metadata
Release files for nano-banana-2 1767173.744.68
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nano_banana_2-1767173.744.68.tar.gz | 3.7 kB | Without provenance | Details for nano_banana_2-1767173.744.68.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nano_banana_2-1767173.744.68-py3-none-any.whl | Python 3 | none | any | Details for nano_banana_2-1767173.744.68-py3-none-any.whl |
Total release size: 7.9 kB
Release files / nano_banana_2-1767173.744.68.tar.gz
| Download URL | nano_banana_2-1767173.744.68.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
437e882b5fd4751ab3c403a117b6cab4a1f90c5ae0b23b0fe83f926bdd367765
|
|
BLAKE2b-256 checksum How to use checksums |
cd5deebc3a81d2d6e7c2defbedc115093ee1f585f6722bbab0ee1442a1a499a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Release files / nano_banana_2-1767173.744.68-py3-none-any.whl
| Download URL | nano_banana_2-1767173.744.68-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dfa6f8d23232a820566d26cac44b5ca98f11d8e14558f6ba170a9abef988e2f8
|
|
BLAKE2b-256 checksum How to use checksums |
13de4287562a5433efcc1f435a9a103c8636590a3b6f218b4aee9a0046545354
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Security for nano-banana-2 1767173.744.68
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.