Simply change the API address from api.openai.com to Base_URL** in the code for seamless integration.#Model compatibility.#
Our API is 100% fully compatible with the OpenAI interface protocol, supporting seamless integration with various applications that utilize the OpenAI interface.
Note: All chat models (including non-OpenAI models) support the official OpenAI library. Please follow the OpenAI request method for request URLs and formats.
Reference:OpenAI official developmentAuthentication#
All API requests should include your API key (token KEY) in the HTTP Header under Authorization
, as shown below:API URL#
Please check the API address for the current site in our API website -> Console.
Note: Do not mix up the API address and KEY to avoid request failures that are difficult to troubleshoot.。References#
Modified at 2025-05-22 03:59:40