Skip to content

API Address Information ​

Main API Addresses ​

1. OpenAI SDK Compatible Interface Recommended ​

ItemDetails
Base URLhttps://api.agentsflare.com/v1
Full Address Examplehttps://api.agentsflare.com/v1/chat/completions
Authentication MethodBearer Token
Content Typeapplication/json
Applicable ModelsOpenAI (including gpt-6.1-terra), Gemini (SDK method), Grok, Deepseek (including deepseek-flash), Kimi (including kimi-k3.1-pro-highspeed and kimi-k3.1-pro), GLM (including glm-5.3 and glm-5.3-flash), etc.
Service StatusStable

Model List Interface ​

EndpointDescriptionUse Case
https://api.agentsflare.com/v1/modelsList ModelsRetrieve all available models for the current account

Responses Interface ​

EndpointDescriptionUse Case
https://api.agentsflare.com/v1/responsesResponses APICalling Codex series models (gpt-5.3-codex, gpt-5.2-codex, etc.) and Pro models; supports function calling, code generation, and other advanced features

Embeddings Interface ​

EndpointDescriptionUse Case
https://api.agentsflare.com/v1/embeddingsEmbeddings APIText vectorization with text-embedding-v4; supports dimensions and encoding_format parameters. See text-embedding-v4 API Examples

API Key Usage Statistics Interface ​

Use this endpoint to query usage associated with the API Key supplied in the Authorization header for a specified time range.

ItemDetails
Endpointhttps://api.agentsflare.com/v1/usage-stats
MethodGET
AuthenticationAuthorization: Bearer $TOKEN
fromStart time in ISO 8601 format, including the time-zone offset
toEnd time in ISO 8601 format, including the time-zone offset
bash
curl --location --get 'https://api.agentsflare.com/v1/usage-stats' \
  --data-urlencode 'from=2026-08-26T00:00:00+08:00' \
  --data-urlencode 'to=2026-08-26T23:00:00+08:00' \
  --header "Authorization: Bearer $TOKEN"

The API Key is identified from the Bearer Token; no separate Key ID parameter is required. --data-urlencode ensures that the + sign in the time-zone offset is encoded correctly.

2. Anthropic API Interface Recommended ​

ItemDetails
Base URLhttps://api.agentsflare.com/anthropic/v1/messages
Authentication MethodBearer Token
Content Typeapplication/json
Applicable ModelsClaude (including claude-haiku-5-5)
Service StatusStable
FeaturesSupports streaming response, thinking content

3. Google Generative AI Interface Recommended ​

ItemDetails
Base URLhttps://api.agentsflare.com/google/v1/models/
Authentication MethodBearer Token
Content Typeapplication/json
Applicable ModelsGemini (Request method), Nano Banana, Veo
Service StatusStable
FeaturesSupports automatic channel switching on 429, SSE streaming

4. BytePlus Interface (Seedance) Recommended ​

ItemDetails
Base URLhttps://api.agentsflare.com/byteplus/v3/contents/generations/tasks
Authentication MethodBearer Token
Content Typeapplication/json
Applicable ModelsSeedance
Service StatusStable

5. Kling AI Interface Recommended ​

ItemDetails
Base URLhttps://api.agentsflare.com/klingai/v1/videos
Authentication MethodBearer Token
Content Typeapplication/json
Applicable ModelsKling v2.5 Turbo, Kling v1.6
Service StatusStable
FeaturesSupports text2video, image2video, multi-image2video

6. Zhipu OCR Interface Recommended ​

ItemDetails
Base URLhttps://api.agentsflare.com/zhipu/v4/layout_parsing
Authentication MethodBearer Token
Content Typeapplication/json
Applicable Modelsglm-ocr
Service StatusStable
FeaturesSupports both image URL and base64 transmission; focused on OCR and layout parsing

7. MiniMax Video Generation Interface (MiniMax-H3) Recommended ​

ItemDetails
Base URLhttps://api.agentsflare.com/minimax/v2
Authentication MethodBearer Token
Content Typeapplication/json
Applicable ModelsMiniMax-H3
Service StatusStable
FeaturesText-to-video, image-to-video (first/last frame), reference-to-video, 768P/2K output, H3-Context-IR prompt enhancement

Endpoints ​

EndpointMethodDescription
https://api.agentsflare.com/minimax/v2/video_generationPOSTCreate a video generation task
https://api.agentsflare.com/minimax/v2/h3_context_irPOSTCreate an H3-Context-IR prompt enhancement task
https://api.agentsflare.com/minimax/v2/video_regenerationPOSTCreate a video regeneration task (768P → 2K)
https://api.agentsflare.com/minimax/v2/query/video_generation/{task_id}GETQuery task status/result (shared by all three task types)

See MiniMax-H3 API Examples for detailed request/response samples.

Legacy Interfaces (Maintenance Mode) ​

8. Legacy Google API Interface No Longer Updated ​

ItemDetails
Base URLhttps://api.agentsflare.com/googleapi/google/v1/models/
Authentication MethodBearer Token
Content Typeapplication/json
Applicable ModelsGemini, Nano Banana, Veo
Service StatusMaintenance Mode
NoteStill available but no longer updated. Migration to new address recommended

Deployment Information ​

ItemDetails
Deployment LocationSingapore
Network LatencyApproximately 100ms (low latency level)
Domestic Access StatusDoes not affect normal access for domestic users
Availability99.9% SLA

Address Selection Guide ​

💡 Selection Recommendations

  1. Using OpenAI SDK? Use https://api.agentsflare.com/v1
  2. Using Claude or MiniMax? Use https://api.agentsflare.com/anthropic/v1/messages
  3. Using Google models (Request method)? Use https://api.agentsflare.com/google/v1/models/
  4. Using Seedance? Use https://api.agentsflare.com/byteplus/v3/contents/generations/tasks
  5. Using Kling AI? Use https://api.agentsflare.com/klingai/v1/videos
  6. Using GLM-OCR? Use https://api.agentsflare.com/zhipu/v4/layout_parsing
  7. Using MiniMax-H3 (video generation)? Use https://api.agentsflare.com/minimax/v2/video_generation (see Endpoints above for the full list)
  8. Using text-embedding-v4 (embeddings)? Use https://api.agentsflare.com/v1/embeddings (same OpenAI-compatible base URL as chat completions)
  9. If you're still using the old Google API address, migrate to the new address for better service

Feature Comparison ​

FeatureOpenAI SDK InterfaceAnthropic InterfaceGoogle New InterfaceBytePlus InterfaceKling AI InterfaceZhipu OCR InterfaceMiniMax-H3 InterfaceGoogle Old Interface
OpenAI SDK Compatible✅❌❌❌❌❌❌❌
Anthropic SDK Compatible❌✅❌❌❌❌❌❌
429 Auto Channel Switch✅✅✅✅✅✅✅❌
Streaming Response✅✅✅❌❌❌❌✅
Continuous Updates✅✅✅✅✅✅✅❌
Recommended✅✅✅✅✅✅✅⚠️

FAQ ​

How to choose the right API address? ​

Choose based on the model and SDK you're using:

  • Using OpenAI SDK? Choose https://api.agentsflare.com/v1
  • Using Anthropic SDK? Choose https://api.agentsflare.com/anthropic/v1/messages
  • Using Native Google API? Choose https://api.agentsflare.com/google/v1/models/
  • Using Seedance? Choose https://api.agentsflare.com/byteplus/v3/contents/generations/tasks
  • Using Kling AI? Choose https://api.agentsflare.com/klingai/v1/videos
  • Using GLM-OCR? Choose https://api.agentsflare.com/zhipu/v4/layout_parsing
  • Using MiniMax-H3 (video generation)? Choose https://api.agentsflare.com/minimax/v2/video_generation (create), /h3_context_ir (prompt enhancement), /video_regeneration (768P→2K regeneration), /query/video_generation/{id} (query)
  • Using text-embedding-v4 (embeddings)? Choose https://api.agentsflare.com/v1/embeddings (OpenAI SDK compatible)

Can I still use the old address? ​

The old Google API address (https://api.agentsflare.com/googleapi/google/v1/models/) is still available but no longer receives feature updates and optimizations. We recommend migrating to the new address for better service quality.

Will migrating to the new address affect existing services? ​

No. Old and new addresses can coexist. You can migrate gradually without affecting existing services.

This documentation is licensed under CC BY-SA 4.0.