文档
API 参考登录

JanitorAI & custom proxy setup

Configure JanitorAI or any custom OpenAI-compatible chat frontend to route requests through UncensoredLabs abliterated models.

Configure the proxy endpoint

In your chat client API settings, switch the provider mode to Proxy / Custom OpenAI-compatible endpoint. Paste the full completions URL when the client asks for a Proxy URL, or https://uncensoredlabs.dev/v1 when it asks for a Base URL.

Proxy settings
Model Name: deepseek-v4.1-flash-1017-abliterated
Proxy URL (full endpoint): https://uncensoredlabs.dev/v1/chat/completions
Base URL (SDK / root style): https://uncensoredlabs.dev/v1
API Key: paste your UncensoredLabs application API key
Text Streaming: enabled

Always use an application API key with an optional spend limit from Dashboard → API Keys. Keep max_tokens within your needed reply length (for example 512–2048 tokens) to keep per-request credit reservations low and responses fast.

Avoid appending /chat/completions twice. If a test request returns HTTP 404, remove /chat/completions from the URL field and save again.

验证连接

使用控制台中的应用 API 密钥,而不是账号登录密钥。不要将凭据写入提交到 Git 的配置。

新建会话并请求简短回复,然后让客户端仅列出文件而不修改文件。执行较长任务前,请检查工具权限。

配置示例已于 2026 年 11 月 1 日根据所链接的官方文档核对。客户端版本及功能可能不同;这些指南并不代表对所有版本的兼容性认证。

故障排查

请使用 Chat Completions。图片输入和推理强度取决于所选模型。不支持 Responses 和 Anthropic Messages。客户端的网页搜索功能可能需要单独的服务。
状态检查事项
400 / 404检查基础 URL、准确的模型 ID 及 Chat Completions 模式。不要在基础 URL 字段中追加 completions 路径。
401 / 403检查应用 API 密钥、其模型权限,以及是否已被撤销。
402检查可用额度及现有预留。预留金额可能高于最终费用;重试前请降低输出上限。
429遵守 Retry-After 并减少并发任务。不要立即循环重试同一请求。