第三方工具

ONLYOFFICE Hướng Dẫn API

Hướng dẫn ONLYOFFICE 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.

Mục đích

Hướng dẫn ONLYOFFICE 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.

Checklist tích hợp

  • Base URL: https://api.aliapi.me/v1.
  • Authentication: Authorization: Bearer YOUR_API_KEY.
  • Model names should be copied from the aliapi.me model catalog.
  • Endpoint hint: /v1/chat/completions.

Cấu trúc request

{
  "model": "copy-model-name-from-catalog",
  "messages": [
    {"role": "user", "content": "your task here"}
  ]
}

Xử lý lỗi

Start with a minimal chat request, then verify the API key, Base URL, model name, quota, request fields and request logs.

Hình ảnh tham khảo

Hình ảnh đã được mirror trên tài nguyên aliapi.me. Ví dụ endpoint dùng https://api.aliapi.me/v1.

ONLYOFFICE配置
ONLYOFFICE配置
ONLYOFFICE配置
ONLYOFFICE配置
ONLYOFFICE配置
ONLYOFFICE配置