Banana 2 4K API — 실시간 요금, 사양 및 SDK 연동 가이드
Technical Summary & Live Pricing
API Store Hub에서 Banana 2 4K API(req/banana-2-4k)를 2,000 ST/회부터 호출하세요. /v1/images/generations(Image Generation API) 지원, 투명한 ST 선불 결제 및 cURL·Python·TypeScript 예제 제공.
- Model Name
- Banana 2 4K
- Primary Model ID
req/banana-2-4k- Model Family
- Google Gemini
- Starting Price
- 2,000 ST/회 (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-4k | Fixed Request (req/) | Per request | 2,000 ST/req | - | - | - | Image generation, Gemini API |
Practical Cost Estimator (ST / VND)
| Volume | Estimated Cost (ST) | VND Equivalent |
|---|---|---|
| 10 images | 20,000 ST | 20,000 VNĐ |
| 100 images | 200,000 ST | 200,000 VNĐ |
| 1,000 images | 2,000,000 ST | 2,000,000 VNĐ |
| 10,000 images | 20,000,000 ST | 20,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-4k","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-4k", 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-4k", 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-4k"Model FAQ
- How much does Banana 2 4K API cost on API Store Hub?
- Banana 2 4K is live across 1 lane variant(s) starting from 2,000 ST/회 (1 VND = 1 ST), settled accurately to actual usage.
- What context window and protocol does Banana 2 4K support?
- Banana 2 4K (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 4K 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-4k", and authenticate with a sk-ash- key.
- Does Banana 2 4K 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.