一个 API,接入
全球顶级 AI 模型
GPT、Claude、Gemini、Sora 到 Nano Banana —— 用一套 OpenAI 兼容接口全部接入,价格低至官方 3 折。
注册即送 20 Credits 体验额度,无需信用卡
from openai import OpenAI
client = OpenAI(
base_url="https://aiboxapi.com/v1",
api_key="sk-...",
)
resp = client.chat.completions.create(
model="gpt-4o",
messages=[{"role": "user", "content": "用一句话介绍 AiBox"}],
)
print(resp.choices[0].message.content)- 500+
- AI 模型
- 70%
- 最高省成本
- 99.9%
- 服务可用性
- OpenAI
- 接口兼容
聚合全球顶级 AI 供应商
文本 · 图像 · 视频 · 音频
一套接口全覆盖
无需在多家平台间切换,用同一套 OpenAI 兼容接口调用各领域顶级模型。
- 文本对话
- GPT · Claude · Gemini · DeepSeek
- 图像生成
- Nano Banana · GPT-Image · Seedream
- 视频生成
- Sora · Veo · Kling
- 音频语音
- TTS 合成 · 语音识别

热门模型
精选各类目顶级模型,几分钟即可开始接入。
grok-imagine-2.0-ext
qwen-image-3.0
gemini-2.5-flash-image-preview
Nano Banana (gemini-2.5-flash-image-preview) is Google DeepMind's fast, conversational image generation and editing model. It delivers natural-language text-to-image, precise multi-turn edits, strong character consistency, and multi-image fusion at low latency.
seedream-5-0-pro
Seedream 5.0 Pro (doubao-seedream-5-0-pro) is quality-first text-to-image model. It produces cinematic 1K and 2K images with best-in-class text rendering, supports up to 10 reference images for style and character consistency, and unifies generation and editing in a single API call.
midjourney
Midjourney is a leading text-to-image AI model renowned for its painterly aesthetics, strong composition, and cinematic lighting. Generate high-quality images from text prompts or reference images, with fine-grained control over style, aspect ratio, and creative parameters — accessible programmatically through AiBox's unified API, no Discord required.
wan2.7-image
wan‑2‑7‑image is an advanced image generation model in Alibaba’s Wan 2.7 series designed to create high‑quality visuals from text prompts. It excels at generating detailed, realistic images with accurate object representation and rich composition. The model supports multimodal input (e.g., combining text with reference images) to influence style and structure, and it’s well‑suited for creative workflows such as marketing assets, product visuals, social media graphics, and artistic content production. With strong semantic understanding and prompt adherence, wan‑2‑7‑image delivers both fidelity and expressive visual output.
gpt-image-2
GPT Image 2 delivers next-gen AI image generation from text prompts with near-perfect text rendering, native 4K output, and deep world knowledge. As the latest in the GPT Image series, this GPT Image API supports model, prompt, and other parameters — ideal for production workflows.
imagen-4.0-apimart
Imagen-4.0 is Google DeepMind’s flagship text-to-image model, designed to generate high-quality, photorealistic images from text prompts. It delivers up to 2K resolution with improved detail, lighting, and texture, along with significantly better text rendering and prompt adherence. 
为什么选择 AiBox
统一平台、透明计价、真人支持,让你专注于产品本身。
官方直连
聚合官方与认证渠道,链路清晰,告别层层转手。
透明计价
按 token / 按次计费一目了然,方便做成本预测。
统一控制台
密钥、配额、用量在多模型间统一查看与管理。
快速接入
兼容常见调用格式,示例代码改配置即可跑通。
组合折扣
多模型组合与用量阶梯,让规模使用更划算。
真人支持
集成与账单问题有工程师跟进,不靠纯机器人。
3 分钟快速集成
几分钟内即可开始使用数百种 AI 模型
开始调用模型
通过统一接口访问 GPT-5、Claude、Sora 等数百种 AI 模型,即刻开启 AI 之旅
curl --request POST \
--url https://aiboxapi.com/v1/chat/completions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "gpt-4o",
"messages": [
{
"role": "system",
"content": "You are a professional AI assistant."
},
{
"role": "user",
"content": "Tell me about the history of artificial intelligence."
}
]
}'仅需一行指令,即可在任意 Agent 使用 AiBox
复制一段提示词到 CodeX、Claude、Cursor 等任意 Agent,让它立刻读懂 AiBox 全部模型和接口,并向其提问。
请阅读以下 AiBox 的文档索引,并基于此回答我的问题: https://aiboxapi.com/llms.txt 关于 AiBox:统一的 AI API 网关,通过 OpenAI 兼容协议提供 500+ 模型 —— 聊天(GPT、Claude、Gemini)、图像(Nano Banana、GPT-Image-2、Imagen)、视频(Sora、Veo、Kling)、音频,按成功请求计费。 我的问题:如何用 Python 调用 Sora 2 生成一段 5 秒的视频?