应用配置
Application Configuration Overview
Configuration guide for various applications
Supported Applications
smai.ai is compatible with the OpenAI API, thus supporting all applications that are compatible with OpenAI. Below are the configuration guides for common applications:
OpenAI Official Client
OpenAI Python/Node.js SDK configuration
Cursor
AI code editor configuration
ChatBox
Desktop AI chat application configuration
Custom Integration
General configuration methods for other applications
General Configuration
Regardless of which application you use, configuring smai.ai typically requires just two parameters:
| Parameter | Value |
|---|---|
| API Base URL | https://api.smai.ai/v1 |
| API Key | Your smai.ai API token |
Get API Key
If you do not have an API Key yet, please create a token first.
Configuration Example
The configuration interface for most applications is similar:
- Find the API settings or OpenAI configuration options
- Set the API Base URL to
https://api.smai.ai/v1 - Enter your API Key
- Choose the model you want to use
