Skip to main content

Step 1: Obtain the API Key

  1. Log in to the API Console for Overseas Operations
  2. Go to the token page and create a API Key
  3. Then use it via Authorization: Bearer YOUR_API_KEY

Step 2: Configure Base URL

If the existing client default is set to:
  • https://api.openai.com
  • https://api.openai.com/v1
Then replace them with:
  • https://api.aiid.edu.kg
  • https://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-data and the file field requirements
  • For the video task API, save task_id or operation_name first before querying
  • If debugging fails, first check the HTTP status code, error.code, and error.message

Next Steps

  • Online debugging: see en/online-debug
  • AI-generated calling code: see en/ai-codegen
  • Model groups and capabilities: see en/models