Banana 2 API — Live Pricing, Specs & SDK Guide
Technical Summary & Live Pricing
Call Banana 2 API (req/banana-2) on API Store Hub starting from 1,000 ST/req via /v1/images/generations (Image Generation API). Prepaid ST billing with cURL, Python, TypeScript and IDE examples.
- Model Name
- Banana 2
- Primary Model ID
req/banana-2- Model Family
- Google Gemini
- Starting Price
- 1,000 ST/req (1 VND = 1 ST)
- Protocol & Endpoint
/v1/images/generations— Image Generation API- Compatible Apps & SDKs
- POST /v1/images/generations, POST /v1/images/edits, OpenAI SDK, cURL, n8n, Dify
Active Lanes & Variants
| Model ID | Lane | Billing Unit | Price (ST / VND) | Min/Request | Context Window | Max Output | Features |
|---|---|---|---|---|---|---|---|
req/banana-2 | Fixed Request (req/) | Per request | 1,000 ST/req | - | - | - | Image generation, Gemini API |
Practical Cost Estimator (ST / VND)
| Volume | Estimated Cost (ST) | VND Equivalent |
|---|---|---|
| 10 images | 10,000 ST | 10,000 VNĐ |
| 100 images | 100,000 ST | 100,000 VNĐ |
| 1,000 images | 1,000,000 ST | 1,000,000 VNĐ |
| 10,000 images | 10,000,000 ST | 10,000,000 VNĐ |
Integration Snippets: cURL, Python, TypeScript & Anthropic / Claude Code
cURL
curl https://apistorehub.com/v1/images/generations \
-H "Authorization: Bearer sk-ash-your_key" \
-H "Content-Type: application/json" \
-d '{"model":"req/banana-2","prompt":"Minimalist studio product shot, soft lighting","size":"1024x1024"}'Python SDK
import os
from openai import OpenAI
client = OpenAI(base_url="https://apistorehub.com/v1", api_key=os.environ["API_KEY"])
img = client.images.generate(model="req/banana-2", prompt="Modern minimalist workspace", size="1024x1024")
print(img.data[0].url)TypeScript SDK
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://apistorehub.com/v1", apiKey: process.env.API_KEY });
const img = await client.images.generate({ model: "req/banana-2", prompt: "Editorial architecture photo", size: "1024x1024" });
console.log(img.data);Anthropic / Claude Code & CLI
export OPENAI_BASE_URL="https://apistorehub.com/v1"
export OPENAI_API_KEY="sk-ash-your_key"
export ANTHROPIC_BASE_URL="https://apistorehub.com"
export ANTHROPIC_AUTH_TOKEN="sk-ash-your_key"
export MODEL_ID="req/banana-2"Model FAQ
- How much does Banana 2 API cost on API Store Hub?
- Banana 2 is live across 1 lane variant(s) starting from 1,000 ST/req (1 VND = 1 ST), settled accurately to actual usage.
- What context window and protocol does Banana 2 support?
- Banana 2 (Google Gemini) provides N/A context over /v1/images/generations (Image Generation API) and works with POST /v1/images/generations, POST /v1/images/edits, OpenAI SDK, cURL, n8n, Dify.
- How do I integrate Banana 2 with Python, TypeScript, or Claude Code?
- Set base_url to https://apistorehub.com/v1 (OpenAI SDK) or https://apistorehub.com (Anthropic SDK / Claude Code), pass model="req/banana-2", and authenticate with a sk-ash- key.
- Does Banana 2 share one ST credit balance with other AI models?
- Yes. Every model on API Store Hub shares one prepaid ST credit balance and a single API key.