unjailed ai
← All setup guides

curl with Unjailed AI

Create a free account, add wallet credit when ready, then create a key in the API tab. The human should create the account, fund it and enter their own key.

  1. 01Set your key

    Set UNJAILED_API_KEY locally. The command below uses POSIX shell syntax. On Windows use a WSL/Git Bash shell, or the Python/Node guide for native PowerShell.

  2. 02Make a small request

    Paste this in a POSIX shell. The key comes from your local environment, never from this page.

    curl https://unjailedai.com/v1/chat/completions \
      -H "Authorization: Bearer $UNJAILED_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
      "model": "deepseek-v4.1-flash",
      "messages": [
        {
          "role": "user",
          "content": "Say hello in one sentence."
        }
      ],
      "max_tokens": 512
    }'
  3. 03List authenticated models

    This lists exact model IDs. The public /models.json directory does not require a key.

    curl https://unjailedai.com/v1/models -H "Authorization: Bearer $UNJAILED_API_KEY"

Official reference: curl documentation ↗. Setup checked October 13, 2026.

Use an exact ID from the model directory. Check live status if a model is unavailable. Uncensored models work through compatible API clients and the CLI; web chat uses standard models. Requests spend wallet credit at the published rates.

One key. Your existing workflow.

Create a free account — no email

No KYC at signup · No card details stored here · Wallet credit never expires · Top-ups don’t renew