Banana 2 API — Bảng giá, thông số & hướng dẫn tích hợp

Tóm tắt thông số kỹ thuật & đơn giá

Gọi Banana 2 API (req/banana-2) qua API Store Hub với giá từ 1.000 ST/lượt trên endpoint /v1/images/generations (Image Generation API). Thanh toán Credit ST minh bạch, kèm mã mẫu cURL, Python, TypeScript và Claude Code.

Tên model
Banana 2
Primary Model ID
req/banana-2
Họ model
Google Gemini
Giá khởi điểm
1.000 ST/lượt (1 VNĐ = 1 ST)
Giao thức & Endpoint
/v1/images/generations — Image Generation API
Ứng dụng tương thích
POST /v1/images/generations, POST /v1/images/edits, OpenAI SDK, cURL, n8n, Dify

Các lane & biến thể đang mở

Banana 2
Model IDLaneĐơn vịGiá ST / VNĐSàn tối thiểu/reqContext WindowMax OutputTính năng
req/banana-2Theo lượt (req/)Theo lượt1.000 ST/req---Image generation, Gemini API

Bảng ước tính chi phí thực tế (ST / VNĐ)

Số lượngChi phí ước tính (ST)Quy đổi VNĐ
10 ảnh10.000 ST10.000 VNĐ
100 ảnh100.000 ST100.000 VNĐ
1.000 ảnh1.000.000 ST1.000.000 VNĐ
10.000 ảnh10.000.000 ST10.000.000 VNĐ

Mã mẫu tích hợp cURL, Python, TypeScript & 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"

Câu hỏi thường gặp về model

Giá gọi Banana 2 API trên API Store Hub là bao nhiêu?
Banana 2 hiện có 1 biến thể/lane đang mở với giá khởi điểm 1.000 ST/lượt (1 VNĐ = 1 ST), trừ tiền chính xác theo mức tiêu thụ thực tế.
Banana 2 hỗ trợ context window và tính năng gì?
Banana 2 thuộc họ Google Gemini với cửa sổ ngữ cảnh N/A, giao thức /v1/images/generations (Image Generation API), tương thích POST /v1/images/generations, POST /v1/images/edits, OpenAI SDK, cURL, n8n, Dify.
Làm sao tích hợp Banana 2 bằng SDK hiện có?
Chỉ cần trỏ Base URL về https://apistorehub.com/v1 (OpenAI SDK) hoặc https://apistorehub.com (Anthropic SDK / Claude Code), đặt model="req/banana-2" và dùng API key có tiền tố sk-ash-.
Có dùng chung ví Credit ST giữa Banana 2 và các model khác không?
Có. Toàn bộ các model trên API Store Hub dùng chung 1 số dư Credit ST và 1 API key duy nhất, nạp nhanh qua chuyển khoản ngân hàng.