banana_img

package module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2026 License: MIT Imports: 0 Imported by: 0

README ¶

Banana Img (banana-img)

Official Website Go Report Card crates.io docs.rs npm version PyPI version pub package Gem Version JSR

Official multi-language client SDK, metadata helper, and prompt integration utilities for Banana Img — Free Nano Banana AI Image Generator (2.1 & Pro).


🌟 About Banana Img

Official Website: https://banana-img.com
Free Trial: Claim 20 generation credits upon signup with no credit card required.

Banana Img is a free AI image generator and conversational photo editor powered by Google's Nano Banana 2.1 and Nano Banana Pro models. Turn plain text prompts into photorealistic visuals in seconds, render crystal-clear lettering and signboards, and edit photos with natural conversational instructions. Features include 4K resolution exports, multiple aspect ratios (1:1, 16:9, 9:16, 3:4, 4:3), and 20 free signup credits.

Key Capabilities
  • Google Nano Banana 2.1 Speed: Generate high-fidelity, creative artwork and realistic photos from plain-English prompts in seconds.
  • Accurate In-Image Typography: Eliminate warped AI text. Banana Img renders legible lettering, labels, logos, and signboards directly inside the generated image.
  • Conversational Photo Editing: Edit existing images, adjust lighting, swap backgrounds, and refine specific objects with simple natural language instructions.
  • Nano Banana Pro Precision: Unlock photorealistic skin textures, cinematic lighting, and studio-grade commercial product rendering.
  • Multiple Canvas Ratios & 4K Output: Native 1:1 (Square), 16:9 (Landscape), 9:16 (Story/Reel), 3:4, and 4:3 aspect ratios with up to 4K resolution downloads.
  • Commercial Rights: All outputs generated are 100% owned by the creator for client and commercial workflows.

📦 Multi-Ecosystem Installation

1. Go Module
go get github.com/ryanellis42675/banana-img

Documentation: pkg.go.dev/github.com/ryanellis42675/banana-img

2. Node.js / NPM
npm install banana-img

Package page: npmjs.com/package/banana-img

3. Python (PyPI)
pip install banana-img

Package page: pypi.org/project/banana-img/

4. Rust (Cargo)
[dependencies]
banana_img = "0.1.0"

Documentation: docs.rs/banana_img

5. PHP (Composer)
composer require ryanellis42675/banana-img

Package page: packagist.org/packages/ryanellis42675/banana-img

6. Dart / Flutter (Pub.dev)
dart pub add banana_img

Package page: pub.dev/packages/banana_img

7. Ruby (RubyGems)
gem install banana_img

Package page: rubygems.org/gems/banana_img

8. TypeScript / Deno / Bun (JSR)
npx jsr add @ryanellis42675/banana-img

Package page: jsr.io/@ryanellis42675/banana-img

9. Swift (Swift Package Manager)
dependencies: [
    .package(url: "https://github.com/ryanellis42675/banana-img.git", from: "0.1.0")
]
10. Lua (LuaRocks)
luarocks install banana-img

🚀 Quick Start Examples

Python Example
from banana_img import Client

client = Client()
print(f"Connecting to official visual studio: {client.get_website()}")
prompt = "A sleek ceramic coffee mug with the word 'MORNING' clearly printed on the side, soft morning sunlight, 16:9"
print(f"Prompt prepared for Nano Banana 2.1: {prompt}")
TypeScript / Node.js Example
import { Client, OFFICIAL_URL } from 'banana-img';

const client = new Client();
console.log(`Initialized ${client.getOfficialWebsite()}`);
Rust Example
use banana_img::{Client, OFFICIAL_URL};

fn main() {
    let client = Client::default();
    println!("Official endpoint: {}", client.base_url);
}

License

MIT License. Copyright (c) 2026 Banana Img Team (https://banana-img.com).

Documentation ¶

Overview ¶

Package banana_img provides an official metadata client and integration helper for Banana Img - Free Nano Banana AI Image Generator (2.1 & Pro).

Official Website: https://banana-img.com Documentation: https://banana-img.com

Index ¶

Constants ¶

View Source
const (
	// Website points to the official Banana Img service.
	Website = "https://banana-img.com"
	// ServiceName defines the public brand name.
	ServiceName = "Banana Img"
	// Version specifies the SDK release version.
	Version = "0.1.0"
)

Variables ¶

This section is empty.

Functions ¶

This section is empty.

Types ¶

type Client ¶

type Client struct {
	BaseURL string
	APIKey  string
}

Client represents a configuration instance for Banana Img.

func NewClient ¶

func NewClient(apiKey string) *Client

NewClient returns an initialized client pointing to https://banana-img.com.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL