API Migration Guide
302.AI is fully aligned with OpenAI Docs and OpenAI API Reference with identical usage methods.
Based on the official Model Endpoint Compatibility
To use the OpenAI API, simply replace api.openai.com with api.302.ai where needed.
Replacement example:
OpenAI : https://api.openai.com/v1/chat/completions
302.AI : https://api.302.ai/v1/chat/completions
Please note:
Some Apps or websites have API_Base as:https://api.openai.com or https://api.openai.com/v1
In this case, it should be replaced with:https://api.302.ai or https://api.302.ai/v1
Last modified: 5 个月前