GPT Image 2.6 4K API — 即時定價、參數規格與 SDK 接入指南
Technical Summary & Live Pricing
透過 API Store Hub 呼叫 GPT Image 2.6 4K API(req/gpt-image-2.6-4k),低至 5,500 ST/次,支援 /v1/images/generations(Image Generation API)。透明 ST 預付計費,提供 cURL、Python、TypeScript 完整範例。
- Model Name
- GPT Image 2.6 4K
- Primary Model ID
req/gpt-image-2.6-4k- Model Family
- OpenAI GPT
- Starting Price
- 5,500 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/gpt-image-2.6-4k | Fixed Request (req/) | Per request | 5,500 ST/req | - | - | - | Image generation, OpenAI API |
Practical Cost Estimator (ST / VND)
| Volume | Estimated Cost (ST) | VND Equivalent |
|---|---|---|
| 10 images | 55,000 ST | 55,000 VNĐ |
| 100 images | 550,000 ST | 550,000 VNĐ |
| 1,000 images | 5,500,000 ST | 5,500,000 VNĐ |
| 10,000 images | 55,000,000 ST | 55,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/gpt-image-2.6-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/gpt-image-2.6-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/gpt-image-2.6-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/gpt-image-2.6-4k"Model FAQ
- How much does GPT Image 2.6 4K API cost on API Store Hub?
- GPT Image 2.6 4K is live across 1 lane variant(s) starting from 5,500 ST/次 (1 VND = 1 ST), settled accurately to actual usage.
- What context window and protocol does GPT Image 2.6 4K support?
- GPT Image 2.6 4K (OpenAI GPT) 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 GPT Image 2.6 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/gpt-image-2.6-4k", and authenticate with a sk-ash- key.
- Does GPT Image 2.6 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.