Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.abliteration.ai/llms.txt

Use this file to discover all available pages before exploring further.

Send images alongside text. Use the native content-block shape for whichever surface you’re calling.

Limits

LimitValue
Max raw file size12 MB
Accepted MIME typesimage/png, image/jpeg, image/webp, image/gif

OpenAI Chat Completions

Use an image_url content part with either a data: URL (base64-inlined) or a public HTTPS URL.
curl -s https://api.abliteration.ai/v1/chat/completions \
  -H "Authorization: Bearer $ABLIT_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "abliterated-model",
    "max_tokens": 256,
    "messages": [{
      "role": "user",
      "content": [
        { "type": "text", "text": "What is in this image?" },
        {
          "type": "image_url",
          "image_url": {
            "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M9QDwADhgGAWjR9awAAAABJRU5ErkJggg=="
          }
        }
      ]
    }]
  }'

Anthropic Messages

Use an image content block with a base64 source (or a url source for HTTPS).
curl -s https://api.abliteration.ai/v1/messages \
  -H "Authorization: Bearer $ABLIT_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "abliterated-model",
    "max_tokens": 256,
    "messages": [{
      "role": "user",
      "content": [
        {
          "type": "image",
          "source": {
            "type": "base64",
            "media_type": "image/png",
            "data": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M9QDwADhgGAWjR9awAAAABJRU5ErkJggg=="
          }
        },
        { "type": "text", "text": "What is in this image?" }
      ]
    }]
  }'
Last modified on May 3, 2026