Mục đích
Hướng dẫn somark cho aliapi.me, gồm Base URL tương thích OpenAI, API key, tên model, cấu trúc request và cách xử lý lỗi.
专项模型
Hướng dẫn somark cho aliapi.me, gồm Base URL tương thích OpenAI, API key, tên model, cấu trúc request và cách xử lý lỗi.
Hướng dẫn somark cho aliapi.me, gồm Base URL tương thích OpenAI, API key, tên model, cấu trúc request và cách xử lý lỗi.
https://api.aliapi.me/v1.Authorization: Bearer YOUR_API_KEY./v1/chat/completions.{
"model": "copy-model-name-from-catalog",
"messages": [
{"role": "user", "content": "your task here"}
]
}Start with a minimal chat request, then verify the API key, Base URL, model name, quota, request fields and request logs.