1. 默认模块
TikHub-AI-Proxy
  • 默认模块
    • Overview (PLEASE READ)
    • Streaming API
    • OpenAI
      • OpenAI response
      • OpenAI embeddings
      • OpenAI audio transcription
      • DeepSeek chat completion
      • OpenAI image generation
      • OpenAI image edit
      • OpenAI image edit (legacy alias)
      • Chat completion
    • Claude
      • Claude message
      • Claude chat completion
    • DeepSeek
      • DeepSeek chat completion
      • DeepSeek chat completion
    • Gemini
      • Gemini content
    • Kimi
      • Chat completion
    • Qwen
      • Chat completion
    • Schemas
      • ChatCompletionRequest
      • ImageGenerationRequest
      • ChatMessage
      • ImageEditRequest
      • Tool
      • ImageGenerationResponse
      • ToolCall
      • ChatCompletionResponse
      • ChatCompletionChoice
      • ContentFilterResults
      • UsageInfo
      • EmbeddingRequest
      • EmbeddingResponse
      • TranscriptionRequest
      • TranscriptionResponse
      • ClaudeMessageRequest
      • ClaudeMessageResponse
      • VideoCreateRequest
      • VideoResponse
      • VideoRemixRequest
      • GeminiGenerateContentRequest
      • VideoListResponse
      • ResponseRequest
      • GeminiContent
      • VideoDeleteResponse
      • GeminiGenerationConfig
      • GeminiGenerateContentResponse
      • ResponseObject
      • SeedanceTaskRequest
      • SeedanceTaskCreateResponse
      • SeedanceTaskResponse
      • KlingText2VideoRequest
      • KlingImage2VideoRequest
      • KlingTaskResponse
      • KlingTaskDetailResponse
      • KlingTaskListResponse
      • VeoGenerateRequest
      • VeoOperationResponse
      • VeoFetchOperationRequest
      • VeoFetchOperationResponse
  • V2
    • OpenAI
      • OpenAI response
      • OpenAI embeddings
      • OpenAI audio transcription
      • Chat completion (all text models)
      • OpenAI image generation
      • OpenAI image edit
      • OpenAI image edit (legacy alias)
    • Claude
      • Claude message
    • DeepSeek
      • DeepSeek chat completion
    • Gemini
      • Gemini content
    • Schemas
      • ChatCompletionRequest
      • ChatMessage
      • Tool
      • ToolCall
      • ChatCompletionResponse
      • ChatCompletionChoice
      • ContentFilterResults
      • UsageInfo
      • EmbeddingRequest
      • EmbeddingResponse
      • TranscriptionResponse
      • ClaudeMessageRequest
      • ClaudeMessageResponse
      • GeminiGenerateContentRequest
      • GeminiContent
      • GeminiGenerationConfig
      • GeminiGenerateContentResponse
      • ResponseRequest
      • ResponseObject
      • ImageGenerationRequest
      • ImageGenerationResponse
  1. 默认模块

Overview (PLEASE READ)

TikHub AI Proxy Documentation#

Overview#

TikHub AI Proxy offers unified access to multiple leading AI models through a single API key, featuring centralized billing, rate control, and usage monitoring.
The service allows developers and teams to switch between AI providers seamlessly without changing application logic.
TikHub AI Proxy is currently in BETA. If you encounter any issues or would like to request additional model support, please contact us.

Getting Started#

1. Create an Account and Obtain an API Key#

💡
Sign up at 👉 https://ai.tikhub.io
Once registered, generate your API key from the console.

2. Review Supported Models#

Your TikHub API key grants access to all models listed on the pricing page:
💡
https://ai.tikhub.io/pricing
Refer to this page for model availability, pricing, and usage limits.

3. Retrieve Your API Key#

Access your API key from the developer console:
💡
https://ai.tikhub.io/console/token
Keep this key secure, as it is required for all API requests.

Migrating Existing Integrations#

If you are already using official AI provider APIs (OpenAI, Claude, Gemini, etc.), migrating to TikHub AI Proxy requires no code changes.

Migration Steps#

1.
Update the base URL to:
https://ai.tikhub.io
2.
Replace your existing API key with your TikHub API key
3.
Keep all request formats unchanged
Important SDK Compatibility Notice:
TikHub AI Proxy is NOT compatible with official SDKs (OpenAI Python SDK, Anthropic SDK, Google AI SDK, etc.). You must use direct HTTP/HTTPS requests to interact with the AI Proxy API.

New Integrations#

If you are not currently integrated with any official AI provider, please refer to the endpoint documentation below to begin using TikHub AI Proxy from scratch.

Supported Platforms and Models#

PlatformAvailable Models
OpenAIGPT-3.5, GPT-4, GPT-4o, GPT-4.1, GPT-5, O1, O3, O4 series
ClaudeHaiku, Sonnet, Opus (4.5)
DeepSeekChat, Reasoner, R1, V3 series
GeminiGemini 2.5, Gemini 3.0 (Flash, Pro, Image)
SoraSora 2, Sora 2 Pro (Video Generation)

Authentication#

Standard Authentication#

Most endpoints use Bearer token authentication:

Provider-Specific Authentication#

Some APIs require alternative headers:
Claude Messages API
Gemini API

Base URL#

All API requests should be sent to:
https://ai.tikhub.io

Support#

For technical support, documentation inquiries, or account-related assistance, please visit:
🌐 https://ai.tikhub.io
📩 https://tikhub.io/contact
Our team will respond as soon as possible.
Modified at 2026-02-07 13:46:15
Next
Streaming API
Built with