開發者專區

為建構者而生

一個 API。所有模型。

透過單一、OpenAI 相容的 API 存取 361 個 AI 模型。無供應商鎖定。無需多重整合。只有簡潔的端點和可預測的回應。

API 存取

即插即用相容

shape

OpenAI 相容

Same endpoints, same request format, same response structure. Change your base URL, keep your code. Switch in minutes, not days.

shape

REST API

Clean, predictable, well-documented. JSON in, JSON out. Standard HTTP methods. Works with any language, any framework.

shape

串流支援

Server-sent events for real-time responses. Watch tokens arrive as they're generated. No polling, no waiting.

認證

預設安全

shape

API 金鑰

Generate, rotate, revoke instantly. Scoped permissions per key. Name them, track them, control them.

shape

自帶金鑰

Use your existing provider accounts. Add your Anthropic, Google, Mistral, or other API keys. Your contracts, our interface.

shape

速率限制

Generous defaults for all plans. Burst allowances for spiky workloads. Custom limits available for high-volume needs.

開發者體驗

更快交付

shape

API 測試環境

Test requests live in your browser. Tweak parameters, see responses instantly. Prototype without writing code. Export when ready.

shape

SDK 與函式庫

Official libraries for Python, Node.js, and more. Or use any OpenAI SDK - they just work. Get started in minutes.

shape

Webhooks

Push notifications for async operations. Image generated? Video ready? Get notified. Don't poll, subscribe.

shape

詳細錯誤

Clear error codes. Human-readable messages. Suggestions for fixes. Debug faster, ship sooner.

快速開始

三行程式碼即可開始

curl https://api.zubnet.com/v1/chat/completions \
  -H "Authorization: Bearer $ZUBNET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-sonnet-4-20250514",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

適用於 curl、Python、Node.js 或任何 HTTP 客戶端。您已經熟悉的格式。

準備好建構了嗎?

立即開始交付

取得您的 API 金鑰並開始建構。包含文件、範例和支援。