https://thapi.cloud/v1

← Tất cả ứng dụng · Mục lục trên /docs

OpenAICấu hình tay

Dify

Nền tảng LLM app: RAG, agent, workflow kéo thả.

URL gốc phải dán

Dán đúng một trong hai kiểu — sai sẽ ra 404 (không phải 401).

https://thapi.cloud/v1

Chuẩn bị

  1. Dify cloud hoặc self-host
  2. Quyền admin Model Provider

Model khuyến nghị: claude-fable-5

Cách nhanh — lệnh / cấu hình

Settings → Model Provider → OpenAI-API-compatible → Add
  Model Name        : claude-fable-5
  API Key           : sk-thapi-...
  API endpoint URL  : https://thapi.cloud/v1
  Model type        : LLM
  Context size      : 1000000
  Max tokens        : 128000
  ☑ Vision support (nếu cần)

Bỏ file / điền Settings ở đâu

Giao diệnany
Settings → Model Provider
Dùng OpenAI-API-compatible (không phải OpenAI official) để đổi endpoint.

Kiểm tra đã chạy đúng

  1. Trong studio Dify chọn model ThAPI và Run thử

Lỗi thường gặp

Triệu chứngNguyên nhânCách xử lý
Invalid URLEndpoint thừa /chat/completions.Chỉ dán https://thapi.cloud/v1 — Dify tự nối path.

Liên quan

n8n · Flowise

Zalo support