Step 1: Obtain the API Key
- Log in to the API Console for Overseas Operations
- Go to the token page and create a API Key
- Then use it via
Authorization: Bearer YOUR_API_KEY
Step 2: Configure Base URL
https://api.openai.comhttps://api.openai.com/v1
https://api.aiid.edu.kghttps://api.aiid.edu.kg
Step 3: Send your first request
Python
cURL
Integration Recommendations
- For new projects, start with the OpenAI compatible API first
- For image editing, be sure to pay attention to
multipart/form-dataand the file field requirements - For the video task API, save
task_idoroperation_namefirst before querying - If debugging fails, first check the HTTP status code,
error.code, anderror.message
Next Steps
- Online debugging: see
en/online-debug - AI-generated calling code: see
en/ai-codegen - Model groups and capabilities: see
en/models
