Skip to content

Quick Start ​

1. Account Registration ​

The platform now supports online registration and login, and also supports obtaining Token quota through redemption codes. Please contact the platform administrator for how to get the redemption code. For detailed account registration, activation process and usage instructions, please refer to the Basic Usage documentation.

2. API Configuration ​

1. Get Your Token ​

  1. Log in to the dashboard
  2. Go to "API Keys" page
  3. Click "Add Key" to get your API Key

2. API Endpoint ​

The platform supports multiple API formats. Choose the corresponding address based on the model you use.

OpenAI Compatible Protocol

Address TypeFull AddressApplicable Scenario
Base URLhttps://ai-tokenhub.com/api/v1The base address to fill in when developing with an OpenAI-compatible SDK. The SDK will automatically append the endpoint path.
Chat Completionshttps://ai-tokenhub.com/api/v1/chat/completionsUsed when sending HTTP requests directly to call the chat dialogue interface.
Responseshttps://ai-tokenhub.com/api/v1/responsesUsed when sending HTTP requests directly to call the asynchronous task result query interface.

Anthropic Protocol

Address TypeFull AddressApplicable Scenario
Base URLhttps://ai-tokenhub.com/api/anthropicThe base address to fill in when developing with the Anthropic native SDK. The SDK will automatically append the endpoint path.
Messageshttps://ai-tokenhub.com/api/anthropic/v1/messagesUsed when sending HTTP requests directly to call the chat dialogue interface.

Multimodal Model APIs

Multimodal models use the Ark protocol and are not interchangeable with OpenAI/Anthropic chat interfaces (/api/v1, /api/anthropic). The base address is /api/v2.

Model TypeFull AddressApplicable Scenario
Image Models (Seedream Series)https://ai-tokenhub.com/api/v2/images/generationsSend HTTP requests directly to call Seedream series image generation API
Audio Models (TTS)https://ai-tokenhub.com/api/v2/tts/unidirectionalSend HTTP requests directly to call TTS model for unidirectional streaming speech synthesis
Video Models (Seedance Series) V3https://ai-tokenhub.com/api/v3/contents/generations/tasksSend HTTP requests directly to create Seedance series video generation tasks (V3 API, asynchronous tasks, requires polling with task query API for results)
Video Models (Seedance Series)https://ai-tokenhub.com/api/v2/contents/generations/tasksSend HTTP requests directly to create Seedance series video generation tasks (asynchronous tasks, requires polling with task query API for results)

3. Model Selection ​

Model names are listed in the "Models" section of the website's top navigation. Make sure to use the exact model name.

3. Testing & Verification ​

Use one of the following methods to verify your API configuration:

  1. Test online on the chat page (recommended if you want to integrate into your own chat software)
  2. Use the online debugging feature in the documentation (recommended for API-based application development)
  3. Call it in AI programming software (like Claude Code, Cline, etc.)
  4. Use API tools (like Postman) for interface testing

Request Example ​

For complete multi-language API request examples and debugging methods, please refer to the API Test documentation.