> ## 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 video to abliteration.ai

> Send short video clips alongside text on the OpenAI Chat Completions surface, either base64-inlined or as an HTTPS URL.

Send short video clips alongside text on the OpenAI Chat Completions surface.

## Endpoints

| Endpoint                        | Video |
| ------------------------------- | ----- |
| `POST /v1/chat/completions`     | ✓     |
| `POST /policy/chat/completions` | ✓     |
| `POST /v1/messages`             |       |
| `POST /v1/responses`            |       |

## Limits

| Limit               | Value                                                 |
| ------------------- | ----------------------------------------------------- |
| Max duration        | 30 seconds                                            |
| Max raw file size   | 14 MB                                                 |
| Accepted MIME types | `video/mp4`, `video/webm`, `video/quicktime` (`.mov`) |

## OpenAI Chat Completions

Use a `video_url` content part with either a `data:` URL (base64-inlined) or a public HTTPS URL.

```sh theme={"system"}
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 happens in this clip?" },
        {
          "type": "video_url",
          "video_url": {
            "url": "data:video/mp4;base64,AAAA..."
          }
        }
      ]
    }]
  }'
```

For HTTPS URLs:

```json theme={"system"}
{
  "type": "video_url",
  "video_url": { "url": "https://example.com/clip.mp4" }
}
```

## Notes

* Need a higher size or duration ceiling for your use case? Reach out via the [console](https://abliteration.ai/console).
