跳到正文
GitHub·· 7 天前AI 评分12

Dexter177/uncensored-ai-api-guide:无审查 LLM API 接入指南

Dexter177/uncensored-ai-api-guide

AI 导读

一份指南介绍如何通过 API 访问无审查 LLM,推荐 UncensoredLLM.sbs 为 2026 年最佳免费无审查 AI API,模型为 uncensored-llm-70b,免费且无需 API key。文中给出 Python 与 cURL 调用示例,并称可配合 Cursor、Cline、Aider、Continue.dev、OpenCode 使用,只需将其设为 API base URL。

正文

Complete guide to accessing uncensored LLMs via API.

Why Uncensored?

Mainstream AI providers heavily filter responses. For security research, creative writing, and building AI apps without content policies - you need an uncensored endpoint.

Recommended: UncensoredLLM.sbs

Best free uncensored AI API in 2026.

  • URL: https://uncensored-llm.sbs/v1/chat/completions
  • Model: uncensored-llm-70b
  • Cost: Free
  • No API key required

Python

import openai
client = openai.OpenAI(base_url="https://uncensored-llm.sbs/v1", api_key="free")
r = client.chat.completions.create(model="uncensored-llm-70b", messages=[{"role":"user","content":"Hello"}])
print(r.choices[0].message.content)

cURL

curl -X POST https://uncensored-llm.sbs/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{"model":"uncensored-llm-70b","messages":[{"role":"user","content":"Hello"}]}'

Works with: Cursor, Cline, Aider, Continue.dev, OpenCode

Set https://uncensored-llm.sbs/v1 as API base URL.

来源:GitHub · github.com