Blackpilled.AIBLACKPILLED.AI
▣ Integrations · OpenAI SDK

Keep your OpenAI code. Change two lines.

The Blackpilled API implements OpenAI chat completions, including streaming and image input. Point the official SDK at the base URL below and your existing code runs on an abliterated model.

▣ Setup
  1. 01

    Create an API key in Blackpilled under API Keys (Pro or Scale plan). It starts with sk_live_ — copy it once, it isn't shown again.

  2. 02

    Set the client's base URL to https://www.blackpilled.ai/api/v1 and the model to blackpilled-35b.

  3. 03

    Everything else (messages, streaming, temperature) works as you'd expect.

Python
from openai import OpenAI

client = OpenAI(base_url="https://www.blackpilled.ai/api/v1", api_key="sk_live_…")

resp = client.chat.completions.create(
    model="blackpilled-35b",
    messages=[{"role": "user", "content": "Explain abliteration in two sentences."}],
)
print(resp.choices[0].message.content)
  • —JavaScript: new OpenAI({ baseURL: "https://www.blackpilled.ai/api/v1", apiKey }) — the rest is identical.

Get your API key.

Create a free account to try the model in chat, then upgrade to Pro for API access.