文档
API 参考登录

配置提示词

使用这些说明配置应用或编程客户端,不要在提示词中包含密钥。

连接应用

集成提示词
Connect this application to an OpenAI-compatible Chat Completions API.

Base URL: https://uncensoredlabs.dev/v1
API key: read UNCENSOREDLABS_API_KEY from the server environment
Model: choose an enabled ID from GET /v1/models

Use the existing OpenAI SDK when available. Keep the key on the server,
never in browser code, logs, or source control. Set max_tokens to 256
for the first check. Support SSE when stream is true. Handle structured
errors and uncertain responses without blindly retrying a billable call.

Show the configuration changes before making a test request. Do not
change unrelated providers or assume Responses, images, or embeddings
are supported.

配置编程客户端

客户端配置提示词
Configure this client's OpenAI-compatible Chat Completions provider.
Use https://uncensoredlabs.dev/v1 and the UNCENSOREDLABS_API_KEY environment
variable. Ask me for the approved model ID if it is not configured.

Confirm that the client's selected mode uses Chat Completions. Check the
model's streaming and tool-calling capabilities before enabling them.
Preserve the existing configuration so I can switch back. Never print
or commit the key. Report any client feature that needs another API.

验证结果

  • 将示例 API 域名替换为您部署的域名。
  • 检查客户端选择的提供商模式及模型 ID。
  • 发送一个小请求,再在“用量 / 活动”中查看状态、令牌及费用。